netapp
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package 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, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/netapp/v1beta1"...ctx := context.Background()netappService, err := netapp.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
netappService, err := netapp.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)netappService, err := netapp.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type ActiveDirectory
- type Backup
- type BackupConfig
- type BackupPolicy
- type BackupRetentionPolicy
- type BackupVault
- type CacheConfig
- type CacheParameters
- type CancelOperationRequest
- type DailySchedule
- type DestinationVolumeParameters
- type EncryptVolumesRequest
- type EstablishPeeringRequest
- type EstablishVolumePeeringRequest
- type ExportPolicy
- type GoogleProtobufEmpty
- type HourlySchedule
- type HybridPeeringDetails
- type HybridReplicationParameters
- type KmsConfig
- type ListActiveDirectoriesResponse
- type ListBackupPoliciesResponse
- type ListBackupVaultsResponse
- type ListBackupsResponse
- type ListKmsConfigsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListQuotaRulesResponse
- type ListReplicationsResponse
- type ListSnapshotsResponse
- type ListStoragePoolsResponse
- type ListVolumesResponse
- type Location
- type LocationMetadata
- type MonthlySchedule
- type MountOption
- type Operation
- type OperationMetadata
- type ProjectsLocationsActiveDirectoriesCreateCall
- func (c *ProjectsLocationsActiveDirectoriesCreateCall) ActiveDirectoryId(activeDirectoryId string) *ProjectsLocationsActiveDirectoriesCreateCall
- func (c *ProjectsLocationsActiveDirectoriesCreateCall) Context(ctx context.Context) *ProjectsLocationsActiveDirectoriesCreateCall
- func (c *ProjectsLocationsActiveDirectoriesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsActiveDirectoriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesCreateCall
- func (c *ProjectsLocationsActiveDirectoriesCreateCall) Header() http.Header
- type ProjectsLocationsActiveDirectoriesDeleteCall
- func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsActiveDirectoriesDeleteCall
- func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesDeleteCall
- func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Header() http.Header
- type ProjectsLocationsActiveDirectoriesGetCall
- func (c *ProjectsLocationsActiveDirectoriesGetCall) Context(ctx context.Context) *ProjectsLocationsActiveDirectoriesGetCall
- func (c *ProjectsLocationsActiveDirectoriesGetCall) Do(opts ...googleapi.CallOption) (*ActiveDirectory, error)
- func (c *ProjectsLocationsActiveDirectoriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesGetCall
- func (c *ProjectsLocationsActiveDirectoriesGetCall) Header() http.Header
- func (c *ProjectsLocationsActiveDirectoriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsActiveDirectoriesGetCall
- type ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) Context(ctx context.Context) *ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) Do(opts ...googleapi.CallOption) (*ListActiveDirectoriesResponse, error)
- func (c *ProjectsLocationsActiveDirectoriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) Filter(filter string) *ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) Header() http.Header
- func (c *ProjectsLocationsActiveDirectoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) OrderBy(orderBy string) *ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) PageSize(pageSize int64) *ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) PageToken(pageToken string) *ProjectsLocationsActiveDirectoriesListCall
- func (c *ProjectsLocationsActiveDirectoriesListCall) Pages(ctx context.Context, f func(*ListActiveDirectoriesResponse) error) error
- type ProjectsLocationsActiveDirectoriesPatchCall
- func (c *ProjectsLocationsActiveDirectoriesPatchCall) Context(ctx context.Context) *ProjectsLocationsActiveDirectoriesPatchCall
- func (c *ProjectsLocationsActiveDirectoriesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsActiveDirectoriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesPatchCall
- func (c *ProjectsLocationsActiveDirectoriesPatchCall) Header() http.Header
- func (c *ProjectsLocationsActiveDirectoriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsActiveDirectoriesPatchCall
- type ProjectsLocationsActiveDirectoriesService
- func (r *ProjectsLocationsActiveDirectoriesService) Create(parent string, activedirectory *ActiveDirectory) *ProjectsLocationsActiveDirectoriesCreateCall
- func (r *ProjectsLocationsActiveDirectoriesService) Delete(name string) *ProjectsLocationsActiveDirectoriesDeleteCall
- func (r *ProjectsLocationsActiveDirectoriesService) Get(name string) *ProjectsLocationsActiveDirectoriesGetCall
- func (r *ProjectsLocationsActiveDirectoriesService) List(parent string) *ProjectsLocationsActiveDirectoriesListCall
- func (r *ProjectsLocationsActiveDirectoriesService) Patch(name string, activedirectory *ActiveDirectory) *ProjectsLocationsActiveDirectoriesPatchCall
- type ProjectsLocationsBackupPoliciesCreateCall
- func (c *ProjectsLocationsBackupPoliciesCreateCall) BackupPolicyId(backupPolicyId string) *ProjectsLocationsBackupPoliciesCreateCall
- func (c *ProjectsLocationsBackupPoliciesCreateCall) Context(ctx context.Context) *ProjectsLocationsBackupPoliciesCreateCall
- func (c *ProjectsLocationsBackupPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesCreateCall
- func (c *ProjectsLocationsBackupPoliciesCreateCall) Header() http.Header
- type ProjectsLocationsBackupPoliciesDeleteCall
- func (c *ProjectsLocationsBackupPoliciesDeleteCall) Context(ctx context.Context) *ProjectsLocationsBackupPoliciesDeleteCall
- func (c *ProjectsLocationsBackupPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesDeleteCall
- func (c *ProjectsLocationsBackupPoliciesDeleteCall) Header() http.Header
- type ProjectsLocationsBackupPoliciesGetCall
- func (c *ProjectsLocationsBackupPoliciesGetCall) Context(ctx context.Context) *ProjectsLocationsBackupPoliciesGetCall
- func (c *ProjectsLocationsBackupPoliciesGetCall) Do(opts ...googleapi.CallOption) (*BackupPolicy, error)
- func (c *ProjectsLocationsBackupPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesGetCall
- func (c *ProjectsLocationsBackupPoliciesGetCall) Header() http.Header
- func (c *ProjectsLocationsBackupPoliciesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupPoliciesGetCall
- type ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) Context(ctx context.Context) *ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListBackupPoliciesResponse, error)
- func (c *ProjectsLocationsBackupPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) Filter(filter string) *ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) Header() http.Header
- func (c *ProjectsLocationsBackupPoliciesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) OrderBy(orderBy string) *ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) PageSize(pageSize int64) *ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) PageToken(pageToken string) *ProjectsLocationsBackupPoliciesListCall
- func (c *ProjectsLocationsBackupPoliciesListCall) Pages(ctx context.Context, f func(*ListBackupPoliciesResponse) error) error
- type ProjectsLocationsBackupPoliciesPatchCall
- func (c *ProjectsLocationsBackupPoliciesPatchCall) Context(ctx context.Context) *ProjectsLocationsBackupPoliciesPatchCall
- func (c *ProjectsLocationsBackupPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesPatchCall
- func (c *ProjectsLocationsBackupPoliciesPatchCall) Header() http.Header
- func (c *ProjectsLocationsBackupPoliciesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBackupPoliciesPatchCall
- type ProjectsLocationsBackupPoliciesService
- func (r *ProjectsLocationsBackupPoliciesService) Create(parent string, backuppolicy *BackupPolicy) *ProjectsLocationsBackupPoliciesCreateCall
- func (r *ProjectsLocationsBackupPoliciesService) Delete(name string) *ProjectsLocationsBackupPoliciesDeleteCall
- func (r *ProjectsLocationsBackupPoliciesService) Get(name string) *ProjectsLocationsBackupPoliciesGetCall
- func (r *ProjectsLocationsBackupPoliciesService) List(parent string) *ProjectsLocationsBackupPoliciesListCall
- func (r *ProjectsLocationsBackupPoliciesService) Patch(name string, backuppolicy *BackupPolicy) *ProjectsLocationsBackupPoliciesPatchCall
- type ProjectsLocationsBackupVaultsBackupsCreateCall
- func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) BackupId(backupId string) *ProjectsLocationsBackupVaultsBackupsCreateCall
- func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsBackupsCreateCall
- func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsCreateCall
- func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Header() http.Header
- type ProjectsLocationsBackupVaultsBackupsDeleteCall
- func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsBackupsDeleteCall
- func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsDeleteCall
- func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Header() http.Header
- type ProjectsLocationsBackupVaultsBackupsGetCall
- func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsBackupsGetCall
- func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Do(opts ...googleapi.CallOption) (*Backup, error)
- func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsGetCall
- func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Header() http.Header
- func (c *ProjectsLocationsBackupVaultsBackupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsBackupsGetCall
- type ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) Do(opts ...googleapi.CallOption) (*ListBackupsResponse, error)
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) Filter(filter string) *ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) Header() http.Header
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) OrderBy(orderBy string) *ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) PageSize(pageSize int64) *ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) PageToken(pageToken string) *ProjectsLocationsBackupVaultsBackupsListCall
- func (c *ProjectsLocationsBackupVaultsBackupsListCall) Pages(ctx context.Context, f func(*ListBackupsResponse) error) error
- type ProjectsLocationsBackupVaultsBackupsPatchCall
- func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsBackupsPatchCall
- func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsPatchCall
- func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Header() http.Header
- func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBackupVaultsBackupsPatchCall
- type ProjectsLocationsBackupVaultsBackupsService
- func (r *ProjectsLocationsBackupVaultsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupVaultsBackupsCreateCall
- func (r *ProjectsLocationsBackupVaultsBackupsService) Delete(name string) *ProjectsLocationsBackupVaultsBackupsDeleteCall
- func (r *ProjectsLocationsBackupVaultsBackupsService) Get(name string) *ProjectsLocationsBackupVaultsBackupsGetCall
- func (r *ProjectsLocationsBackupVaultsBackupsService) List(parent string) *ProjectsLocationsBackupVaultsBackupsListCall
- func (r *ProjectsLocationsBackupVaultsBackupsService) Patch(name string, backup *Backup) *ProjectsLocationsBackupVaultsBackupsPatchCall
- type ProjectsLocationsBackupVaultsCreateCall
- func (c *ProjectsLocationsBackupVaultsCreateCall) BackupVaultId(backupVaultId string) *ProjectsLocationsBackupVaultsCreateCall
- func (c *ProjectsLocationsBackupVaultsCreateCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsCreateCall
- func (c *ProjectsLocationsBackupVaultsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupVaultsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsCreateCall
- func (c *ProjectsLocationsBackupVaultsCreateCall) Header() http.Header
- type ProjectsLocationsBackupVaultsDeleteCall
- func (c *ProjectsLocationsBackupVaultsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsDeleteCall
- func (c *ProjectsLocationsBackupVaultsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupVaultsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsDeleteCall
- func (c *ProjectsLocationsBackupVaultsDeleteCall) Header() http.Header
- type ProjectsLocationsBackupVaultsGetCall
- func (c *ProjectsLocationsBackupVaultsGetCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsGetCall
- func (c *ProjectsLocationsBackupVaultsGetCall) Do(opts ...googleapi.CallOption) (*BackupVault, error)
- func (c *ProjectsLocationsBackupVaultsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsGetCall
- func (c *ProjectsLocationsBackupVaultsGetCall) Header() http.Header
- func (c *ProjectsLocationsBackupVaultsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsGetCall
- type ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) Do(opts ...googleapi.CallOption) (*ListBackupVaultsResponse, error)
- func (c *ProjectsLocationsBackupVaultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) Filter(filter string) *ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) Header() http.Header
- func (c *ProjectsLocationsBackupVaultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) OrderBy(orderBy string) *ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) PageSize(pageSize int64) *ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) PageToken(pageToken string) *ProjectsLocationsBackupVaultsListCall
- func (c *ProjectsLocationsBackupVaultsListCall) Pages(ctx context.Context, f func(*ListBackupVaultsResponse) error) error
- type ProjectsLocationsBackupVaultsPatchCall
- func (c *ProjectsLocationsBackupVaultsPatchCall) Context(ctx context.Context) *ProjectsLocationsBackupVaultsPatchCall
- func (c *ProjectsLocationsBackupVaultsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBackupVaultsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsPatchCall
- func (c *ProjectsLocationsBackupVaultsPatchCall) Header() http.Header
- func (c *ProjectsLocationsBackupVaultsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBackupVaultsPatchCall
- type ProjectsLocationsBackupVaultsService
- func (r *ProjectsLocationsBackupVaultsService) Create(parent string, backupvault *BackupVault) *ProjectsLocationsBackupVaultsCreateCall
- func (r *ProjectsLocationsBackupVaultsService) Delete(name string) *ProjectsLocationsBackupVaultsDeleteCall
- func (r *ProjectsLocationsBackupVaultsService) Get(name string) *ProjectsLocationsBackupVaultsGetCall
- func (r *ProjectsLocationsBackupVaultsService) List(parent string) *ProjectsLocationsBackupVaultsListCall
- func (r *ProjectsLocationsBackupVaultsService) Patch(name string, backupvault *BackupVault) *ProjectsLocationsBackupVaultsPatchCall
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsKmsConfigsCreateCall
- func (c *ProjectsLocationsKmsConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsKmsConfigsCreateCall
- func (c *ProjectsLocationsKmsConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsKmsConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsCreateCall
- func (c *ProjectsLocationsKmsConfigsCreateCall) Header() http.Header
- func (c *ProjectsLocationsKmsConfigsCreateCall) KmsConfigId(kmsConfigId string) *ProjectsLocationsKmsConfigsCreateCall
- type ProjectsLocationsKmsConfigsDeleteCall
- func (c *ProjectsLocationsKmsConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsKmsConfigsDeleteCall
- func (c *ProjectsLocationsKmsConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsKmsConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsDeleteCall
- func (c *ProjectsLocationsKmsConfigsDeleteCall) Header() http.Header
- type ProjectsLocationsKmsConfigsEncryptCall
- func (c *ProjectsLocationsKmsConfigsEncryptCall) Context(ctx context.Context) *ProjectsLocationsKmsConfigsEncryptCall
- func (c *ProjectsLocationsKmsConfigsEncryptCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsKmsConfigsEncryptCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsEncryptCall
- func (c *ProjectsLocationsKmsConfigsEncryptCall) Header() http.Header
- type ProjectsLocationsKmsConfigsGetCall
- func (c *ProjectsLocationsKmsConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsKmsConfigsGetCall
- func (c *ProjectsLocationsKmsConfigsGetCall) Do(opts ...googleapi.CallOption) (*KmsConfig, error)
- func (c *ProjectsLocationsKmsConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsGetCall
- func (c *ProjectsLocationsKmsConfigsGetCall) Header() http.Header
- func (c *ProjectsLocationsKmsConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsKmsConfigsGetCall
- type ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) Context(ctx context.Context) *ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) Do(opts ...googleapi.CallOption) (*ListKmsConfigsResponse, error)
- func (c *ProjectsLocationsKmsConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) Filter(filter string) *ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) Header() http.Header
- func (c *ProjectsLocationsKmsConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) PageToken(pageToken string) *ProjectsLocationsKmsConfigsListCall
- func (c *ProjectsLocationsKmsConfigsListCall) Pages(ctx context.Context, f func(*ListKmsConfigsResponse) error) error
- type ProjectsLocationsKmsConfigsPatchCall
- func (c *ProjectsLocationsKmsConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsKmsConfigsPatchCall
- func (c *ProjectsLocationsKmsConfigsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsKmsConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsPatchCall
- func (c *ProjectsLocationsKmsConfigsPatchCall) Header() http.Header
- func (c *ProjectsLocationsKmsConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKmsConfigsPatchCall
- type ProjectsLocationsKmsConfigsService
- func (r *ProjectsLocationsKmsConfigsService) Create(parent string, kmsconfig *KmsConfig) *ProjectsLocationsKmsConfigsCreateCall
- func (r *ProjectsLocationsKmsConfigsService) Delete(name string) *ProjectsLocationsKmsConfigsDeleteCall
- func (r *ProjectsLocationsKmsConfigsService) Encrypt(name string, encryptvolumesrequest *EncryptVolumesRequest) *ProjectsLocationsKmsConfigsEncryptCall
- func (r *ProjectsLocationsKmsConfigsService) Get(name string) *ProjectsLocationsKmsConfigsGetCall
- func (r *ProjectsLocationsKmsConfigsService) List(parent string) *ProjectsLocationsKmsConfigsListCall
- func (r *ProjectsLocationsKmsConfigsService) Patch(name string, kmsconfig *KmsConfig) *ProjectsLocationsKmsConfigsPatchCall
- func (r *ProjectsLocationsKmsConfigsService) Verify(name string, verifykmsconfigrequest *VerifyKmsConfigRequest) *ProjectsLocationsKmsConfigsVerifyCall
- type ProjectsLocationsKmsConfigsVerifyCall
- func (c *ProjectsLocationsKmsConfigsVerifyCall) Context(ctx context.Context) *ProjectsLocationsKmsConfigsVerifyCall
- func (c *ProjectsLocationsKmsConfigsVerifyCall) Do(opts ...googleapi.CallOption) (*VerifyKmsConfigResponse, error)
- func (c *ProjectsLocationsKmsConfigsVerifyCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsVerifyCall
- func (c *ProjectsLocationsKmsConfigsVerifyCall) Header() http.Header
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsLocationsStoragePoolsCreateCall
- func (c *ProjectsLocationsStoragePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsCreateCall
- func (c *ProjectsLocationsStoragePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsStoragePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsCreateCall
- func (c *ProjectsLocationsStoragePoolsCreateCall) Header() http.Header
- func (c *ProjectsLocationsStoragePoolsCreateCall) StoragePoolId(storagePoolId string) *ProjectsLocationsStoragePoolsCreateCall
- type ProjectsLocationsStoragePoolsDeleteCall
- func (c *ProjectsLocationsStoragePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsDeleteCall
- func (c *ProjectsLocationsStoragePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsStoragePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsDeleteCall
- func (c *ProjectsLocationsStoragePoolsDeleteCall) Header() http.Header
- type ProjectsLocationsStoragePoolsGetCall
- func (c *ProjectsLocationsStoragePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsGetCall
- func (c *ProjectsLocationsStoragePoolsGetCall) Do(opts ...googleapi.CallOption) (*StoragePool, error)
- func (c *ProjectsLocationsStoragePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsGetCall
- func (c *ProjectsLocationsStoragePoolsGetCall) Header() http.Header
- func (c *ProjectsLocationsStoragePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsStoragePoolsGetCall
- type ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) Do(opts ...googleapi.CallOption) (*ListStoragePoolsResponse, error)
- func (c *ProjectsLocationsStoragePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) Filter(filter string) *ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) Header() http.Header
- func (c *ProjectsLocationsStoragePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) OrderBy(orderBy string) *ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) PageToken(pageToken string) *ProjectsLocationsStoragePoolsListCall
- func (c *ProjectsLocationsStoragePoolsListCall) Pages(ctx context.Context, f func(*ListStoragePoolsResponse) error) error
- type ProjectsLocationsStoragePoolsPatchCall
- func (c *ProjectsLocationsStoragePoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsPatchCall
- func (c *ProjectsLocationsStoragePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsStoragePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsPatchCall
- func (c *ProjectsLocationsStoragePoolsPatchCall) Header() http.Header
- func (c *ProjectsLocationsStoragePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsStoragePoolsPatchCall
- type ProjectsLocationsStoragePoolsService
- func (r *ProjectsLocationsStoragePoolsService) Create(parent string, storagepool *StoragePool) *ProjectsLocationsStoragePoolsCreateCall
- func (r *ProjectsLocationsStoragePoolsService) Delete(name string) *ProjectsLocationsStoragePoolsDeleteCall
- func (r *ProjectsLocationsStoragePoolsService) Get(name string) *ProjectsLocationsStoragePoolsGetCall
- func (r *ProjectsLocationsStoragePoolsService) List(parent string) *ProjectsLocationsStoragePoolsListCall
- func (r *ProjectsLocationsStoragePoolsService) Patch(name string, storagepool *StoragePool) *ProjectsLocationsStoragePoolsPatchCall
- func (r *ProjectsLocationsStoragePoolsService) Switch(name string, switchactivereplicazonerequest *SwitchActiveReplicaZoneRequest) *ProjectsLocationsStoragePoolsSwitchCall
- func (r *ProjectsLocationsStoragePoolsService) ValidateDirectoryService(name string, validatedirectoryservicerequest *ValidateDirectoryServiceRequest) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
- type ProjectsLocationsStoragePoolsSwitchCall
- func (c *ProjectsLocationsStoragePoolsSwitchCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsSwitchCall
- func (c *ProjectsLocationsStoragePoolsSwitchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsStoragePoolsSwitchCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsSwitchCall
- func (c *ProjectsLocationsStoragePoolsSwitchCall) Header() http.Header
- type ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
- func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
- func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
- func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Header() http.Header
- type ProjectsLocationsVolumesCreateCall
- func (c *ProjectsLocationsVolumesCreateCall) Context(ctx context.Context) *ProjectsLocationsVolumesCreateCall
- func (c *ProjectsLocationsVolumesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesCreateCall
- func (c *ProjectsLocationsVolumesCreateCall) Header() http.Header
- func (c *ProjectsLocationsVolumesCreateCall) VolumeId(volumeId string) *ProjectsLocationsVolumesCreateCall
- type ProjectsLocationsVolumesDeleteCall
- func (c *ProjectsLocationsVolumesDeleteCall) Context(ctx context.Context) *ProjectsLocationsVolumesDeleteCall
- func (c *ProjectsLocationsVolumesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesDeleteCall
- func (c *ProjectsLocationsVolumesDeleteCall) Force(force bool) *ProjectsLocationsVolumesDeleteCall
- func (c *ProjectsLocationsVolumesDeleteCall) Header() http.Header
- type ProjectsLocationsVolumesEstablishPeeringCall
- func (c *ProjectsLocationsVolumesEstablishPeeringCall) Context(ctx context.Context) *ProjectsLocationsVolumesEstablishPeeringCall
- func (c *ProjectsLocationsVolumesEstablishPeeringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesEstablishPeeringCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesEstablishPeeringCall
- func (c *ProjectsLocationsVolumesEstablishPeeringCall) Header() http.Header
- type ProjectsLocationsVolumesGetCall
- func (c *ProjectsLocationsVolumesGetCall) Context(ctx context.Context) *ProjectsLocationsVolumesGetCall
- func (c *ProjectsLocationsVolumesGetCall) Do(opts ...googleapi.CallOption) (*Volume, error)
- func (c *ProjectsLocationsVolumesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesGetCall
- func (c *ProjectsLocationsVolumesGetCall) Header() http.Header
- func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall
- type ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) Context(ctx context.Context) *ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) Do(opts ...googleapi.CallOption) (*ListVolumesResponse, error)
- func (c *ProjectsLocationsVolumesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) Filter(filter string) *ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) Header() http.Header
- func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall
- func (c *ProjectsLocationsVolumesListCall) Pages(ctx context.Context, f func(*ListVolumesResponse) error) error
- type ProjectsLocationsVolumesPatchCall
- func (c *ProjectsLocationsVolumesPatchCall) Context(ctx context.Context) *ProjectsLocationsVolumesPatchCall
- func (c *ProjectsLocationsVolumesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesPatchCall
- func (c *ProjectsLocationsVolumesPatchCall) Header() http.Header
- func (c *ProjectsLocationsVolumesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesPatchCall
- type ProjectsLocationsVolumesQuotaRulesCreateCall
- func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesCreateCall
- func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesCreateCall
- func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Header() http.Header
- func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) QuotaRuleId(quotaRuleId string) *ProjectsLocationsVolumesQuotaRulesCreateCall
- type ProjectsLocationsVolumesQuotaRulesDeleteCall
- func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesDeleteCall
- func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesDeleteCall
- func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Header() http.Header
- type ProjectsLocationsVolumesQuotaRulesGetCall
- func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesGetCall
- func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Do(opts ...googleapi.CallOption) (*QuotaRule, error)
- func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesGetCall
- func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Header() http.Header
- func (c *ProjectsLocationsVolumesQuotaRulesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesQuotaRulesGetCall
- type ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) Do(opts ...googleapi.CallOption) (*ListQuotaRulesResponse, error)
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) Filter(filter string) *ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) Header() http.Header
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesQuotaRulesListCall
- func (c *ProjectsLocationsVolumesQuotaRulesListCall) Pages(ctx context.Context, f func(*ListQuotaRulesResponse) error) error
- type ProjectsLocationsVolumesQuotaRulesPatchCall
- func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesPatchCall
- func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesPatchCall
- func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Header() http.Header
- func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesQuotaRulesPatchCall
- type ProjectsLocationsVolumesQuotaRulesService
- func (r *ProjectsLocationsVolumesQuotaRulesService) Create(parent string, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesCreateCall
- func (r *ProjectsLocationsVolumesQuotaRulesService) Delete(name string) *ProjectsLocationsVolumesQuotaRulesDeleteCall
- func (r *ProjectsLocationsVolumesQuotaRulesService) Get(name string) *ProjectsLocationsVolumesQuotaRulesGetCall
- func (r *ProjectsLocationsVolumesQuotaRulesService) List(parent string) *ProjectsLocationsVolumesQuotaRulesListCall
- func (r *ProjectsLocationsVolumesQuotaRulesService) Patch(name string, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesPatchCall
- type ProjectsLocationsVolumesReplicationsCreateCall
- func (c *ProjectsLocationsVolumesReplicationsCreateCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsCreateCall
- func (c *ProjectsLocationsVolumesReplicationsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsCreateCall
- func (c *ProjectsLocationsVolumesReplicationsCreateCall) Header() http.Header
- func (c *ProjectsLocationsVolumesReplicationsCreateCall) ReplicationId(replicationId string) *ProjectsLocationsVolumesReplicationsCreateCall
- type ProjectsLocationsVolumesReplicationsDeleteCall
- func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsDeleteCall
- func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsDeleteCall
- func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Header() http.Header
- type ProjectsLocationsVolumesReplicationsEstablishPeeringCall
- func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
- func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
- func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Header() http.Header
- type ProjectsLocationsVolumesReplicationsGetCall
- func (c *ProjectsLocationsVolumesReplicationsGetCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsGetCall
- func (c *ProjectsLocationsVolumesReplicationsGetCall) Do(opts ...googleapi.CallOption) (*Replication, error)
- func (c *ProjectsLocationsVolumesReplicationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsGetCall
- func (c *ProjectsLocationsVolumesReplicationsGetCall) Header() http.Header
- func (c *ProjectsLocationsVolumesReplicationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesReplicationsGetCall
- type ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) Do(opts ...googleapi.CallOption) (*ListReplicationsResponse, error)
- func (c *ProjectsLocationsVolumesReplicationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) Filter(filter string) *ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) Header() http.Header
- func (c *ProjectsLocationsVolumesReplicationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) PageToken(pageToken string) *ProjectsLocationsVolumesReplicationsListCall
- func (c *ProjectsLocationsVolumesReplicationsListCall) Pages(ctx context.Context, f func(*ListReplicationsResponse) error) error
- type ProjectsLocationsVolumesReplicationsPatchCall
- func (c *ProjectsLocationsVolumesReplicationsPatchCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsPatchCall
- func (c *ProjectsLocationsVolumesReplicationsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsPatchCall
- func (c *ProjectsLocationsVolumesReplicationsPatchCall) Header() http.Header
- func (c *ProjectsLocationsVolumesReplicationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesReplicationsPatchCall
- type ProjectsLocationsVolumesReplicationsResumeCall
- func (c *ProjectsLocationsVolumesReplicationsResumeCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsResumeCall
- func (c *ProjectsLocationsVolumesReplicationsResumeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsResumeCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsResumeCall
- func (c *ProjectsLocationsVolumesReplicationsResumeCall) Header() http.Header
- type ProjectsLocationsVolumesReplicationsReverseDirectionCall
- func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsReverseDirectionCall
- func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsReverseDirectionCall
- func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Header() http.Header
- type ProjectsLocationsVolumesReplicationsService
- func (r *ProjectsLocationsVolumesReplicationsService) Create(parent string, replication *Replication) *ProjectsLocationsVolumesReplicationsCreateCall
- func (r *ProjectsLocationsVolumesReplicationsService) Delete(name string) *ProjectsLocationsVolumesReplicationsDeleteCall
- func (r *ProjectsLocationsVolumesReplicationsService) EstablishPeering(name string, establishpeeringrequest *EstablishPeeringRequest) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
- func (r *ProjectsLocationsVolumesReplicationsService) Get(name string) *ProjectsLocationsVolumesReplicationsGetCall
- func (r *ProjectsLocationsVolumesReplicationsService) List(parent string) *ProjectsLocationsVolumesReplicationsListCall
- func (r *ProjectsLocationsVolumesReplicationsService) Patch(name string, replication *Replication) *ProjectsLocationsVolumesReplicationsPatchCall
- func (r *ProjectsLocationsVolumesReplicationsService) Resume(name string, resumereplicationrequest *ResumeReplicationRequest) *ProjectsLocationsVolumesReplicationsResumeCall
- func (r *ProjectsLocationsVolumesReplicationsService) ReverseDirection(name string, ...) *ProjectsLocationsVolumesReplicationsReverseDirectionCall
- func (r *ProjectsLocationsVolumesReplicationsService) Stop(name string, stopreplicationrequest *StopReplicationRequest) *ProjectsLocationsVolumesReplicationsStopCall
- func (r *ProjectsLocationsVolumesReplicationsService) Sync(name string, syncreplicationrequest *SyncReplicationRequest) *ProjectsLocationsVolumesReplicationsSyncCall
- type ProjectsLocationsVolumesReplicationsStopCall
- func (c *ProjectsLocationsVolumesReplicationsStopCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsStopCall
- func (c *ProjectsLocationsVolumesReplicationsStopCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsStopCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsStopCall
- func (c *ProjectsLocationsVolumesReplicationsStopCall) Header() http.Header
- type ProjectsLocationsVolumesReplicationsSyncCall
- func (c *ProjectsLocationsVolumesReplicationsSyncCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsSyncCall
- func (c *ProjectsLocationsVolumesReplicationsSyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesReplicationsSyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsSyncCall
- func (c *ProjectsLocationsVolumesReplicationsSyncCall) Header() http.Header
- type ProjectsLocationsVolumesRestoreCall
- func (c *ProjectsLocationsVolumesRestoreCall) Context(ctx context.Context) *ProjectsLocationsVolumesRestoreCall
- func (c *ProjectsLocationsVolumesRestoreCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesRestoreCall
- func (c *ProjectsLocationsVolumesRestoreCall) Header() http.Header
- type ProjectsLocationsVolumesRevertCall
- func (c *ProjectsLocationsVolumesRevertCall) Context(ctx context.Context) *ProjectsLocationsVolumesRevertCall
- func (c *ProjectsLocationsVolumesRevertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesRevertCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesRevertCall
- func (c *ProjectsLocationsVolumesRevertCall) Header() http.Header
- type ProjectsLocationsVolumesService
- func (r *ProjectsLocationsVolumesService) Create(parent string, volume *Volume) *ProjectsLocationsVolumesCreateCall
- func (r *ProjectsLocationsVolumesService) Delete(name string) *ProjectsLocationsVolumesDeleteCall
- func (r *ProjectsLocationsVolumesService) EstablishPeering(name string, establishvolumepeeringrequest *EstablishVolumePeeringRequest) *ProjectsLocationsVolumesEstablishPeeringCall
- func (r *ProjectsLocationsVolumesService) Get(name string) *ProjectsLocationsVolumesGetCall
- func (r *ProjectsLocationsVolumesService) List(parent string) *ProjectsLocationsVolumesListCall
- func (r *ProjectsLocationsVolumesService) Patch(name string, volume *Volume) *ProjectsLocationsVolumesPatchCall
- func (r *ProjectsLocationsVolumesService) Restore(name string, restorebackupfilesrequest *RestoreBackupFilesRequest) *ProjectsLocationsVolumesRestoreCall
- func (r *ProjectsLocationsVolumesService) Revert(name string, revertvolumerequest *RevertVolumeRequest) *ProjectsLocationsVolumesRevertCall
- type ProjectsLocationsVolumesSnapshotsCreateCall
- func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Context(ctx context.Context) *ProjectsLocationsVolumesSnapshotsCreateCall
- func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsCreateCall
- func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Header() http.Header
- func (c *ProjectsLocationsVolumesSnapshotsCreateCall) SnapshotId(snapshotId string) *ProjectsLocationsVolumesSnapshotsCreateCall
- type ProjectsLocationsVolumesSnapshotsDeleteCall
- func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Context(ctx context.Context) *ProjectsLocationsVolumesSnapshotsDeleteCall
- func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsDeleteCall
- func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Header() http.Header
- type ProjectsLocationsVolumesSnapshotsGetCall
- func (c *ProjectsLocationsVolumesSnapshotsGetCall) Context(ctx context.Context) *ProjectsLocationsVolumesSnapshotsGetCall
- func (c *ProjectsLocationsVolumesSnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)
- func (c *ProjectsLocationsVolumesSnapshotsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsGetCall
- func (c *ProjectsLocationsVolumesSnapshotsGetCall) Header() http.Header
- func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall
- type ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) Context(ctx context.Context) *ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse, error)
- func (c *ProjectsLocationsVolumesSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) Filter(filter string) *ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) Header() http.Header
- func (c *ProjectsLocationsVolumesSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) PageToken(pageToken string) *ProjectsLocationsVolumesSnapshotsListCall
- func (c *ProjectsLocationsVolumesSnapshotsListCall) Pages(ctx context.Context, f func(*ListSnapshotsResponse) error) error
- type ProjectsLocationsVolumesSnapshotsPatchCall
- func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Context(ctx context.Context) *ProjectsLocationsVolumesSnapshotsPatchCall
- func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsPatchCall
- func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Header() http.Header
- func (c *ProjectsLocationsVolumesSnapshotsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesSnapshotsPatchCall
- type ProjectsLocationsVolumesSnapshotsService
- func (r *ProjectsLocationsVolumesSnapshotsService) Create(parent string, snapshot *Snapshot) *ProjectsLocationsVolumesSnapshotsCreateCall
- func (r *ProjectsLocationsVolumesSnapshotsService) Delete(name string) *ProjectsLocationsVolumesSnapshotsDeleteCall
- func (r *ProjectsLocationsVolumesSnapshotsService) Get(name string) *ProjectsLocationsVolumesSnapshotsGetCall
- func (r *ProjectsLocationsVolumesSnapshotsService) List(parent string) *ProjectsLocationsVolumesSnapshotsListCall
- func (r *ProjectsLocationsVolumesSnapshotsService) Patch(name string, snapshot *Snapshot) *ProjectsLocationsVolumesSnapshotsPatchCall
- type ProjectsService
- type QuotaRule
- type Replication
- type RestoreBackupFilesRequest
- type RestoreParameters
- type ResumeReplicationRequest
- type ReverseReplicationDirectionRequest
- type RevertVolumeRequest
- type Service
- type SimpleExportPolicyRule
- type Snapshot
- type SnapshotPolicy
- type Status
- type StopReplicationRequest
- type StoragePool
- type SwitchActiveReplicaZoneRequest
- type SyncReplicationRequest
- type TieringPolicy
- type TransferStats
- type UserCommands
- type ValidateDirectoryServiceRequest
- type VerifyKmsConfigRequest
- type VerifyKmsConfigResponse
- type Volume
- type WeeklySchedule
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeActiveDirectory¶
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.AesEncryptionbool `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.CreateTimestring `json:"createTime,omitempty"`// Description: Description of the active directory.Descriptionstring `json:"description,omitempty"`// Dns: Required. Comma separated list of DNS server IP addresses for the// Active Directory domain.Dnsstring `json:"dns,omitempty"`// Domain: Required. Name of the Active Directory domainDomainstring `json:"domain,omitempty"`// EncryptDcConnections: If enabled, traffic between the SMB server to Domain// Controller (DC) will be encrypted.EncryptDcConnectionsbool `json:"encryptDcConnections,omitempty"`// KdcHostname: Name of the active directory machine. This optional parameter// is used only while creating kerberos volumeKdcHostnamestring `json:"kdcHostname,omitempty"`// KdcIp: KDC server IP address for the active directory machine.KdcIpstring `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.LdapSigningbool `json:"ldapSigning,omitempty"`// Name: Identifier. The resource name of the active directory. Format:// `projects/{project_number}/locations/{location_id}/activeDirectories/{active_// directory_id}`.Namestring `json:"name,omitempty"`// NetBiosPrefix: Required. NetBIOSPrefix is used as a prefix for SMB server// name.NetBiosPrefixstring `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.NfsUsersWithLdapbool `json:"nfsUsersWithLdap,omitempty"`// OrganizationalUnit: The Organizational Unit (OU) within the Windows Active// Directory the user belongs to.OrganizationalUnitstring `json:"organizationalUnit,omitempty"`// Password: Required. Password of the Active Directory domain administrator.Passwordstring `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.Sitestring `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.Statestring `json:"state,omitempty"`// StateDetails: Output only. The state details of the Active Directory.StateDetailsstring `json:"stateDetails,omitempty"`// Username: Required. Username of the Active Directory domain administrator.Usernamestring `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 activedirectory config.
func (ActiveDirectory)MarshalJSON¶
func (sActiveDirectory) MarshalJSON() ([]byte,error)
typeBackup¶
type Backup struct {// BackupRegion: Output only. Region in which backup is stored. Format:// `projects/{project_id}/locations/{location}`BackupRegionstring `json:"backupRegion,omitempty"`// 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.BackupTypestring `json:"backupType,omitempty"`// ChainStorageBytes: Output only. Total size of all backups in a chain in// bytes = baseline backup size + sum(incremental backup size)ChainStorageBytesint64 `json:"chainStorageBytes,omitempty,string"`// CreateTime: Output only. The time when the backup was created.CreateTimestring `json:"createTime,omitempty"`// Description: A description of the backup with 2048 characters or less.// Requests with longer descriptions will be rejected.Descriptionstring `json:"description,omitempty"`// EnforcedRetentionEndTime: Output only. The time until which the backup is// not deletable.EnforcedRetentionEndTimestring `json:"enforcedRetentionEndTime,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}`.Namestring `json:"name,omitempty"`// SatisfiesPzi: Output only. Reserved for future useSatisfiesPzibool `json:"satisfiesPzi,omitempty"`// SatisfiesPzs: Output only. Reserved for future useSatisfiesPzsbool `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}`SourceSnapshotstring `json:"sourceSnapshot,omitempty"`// SourceVolume: Volume full name of this backup belongs to. Format:// `projects/{projects_id}/locations/{location}/volumes/{volume_id}`SourceVolumestring `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.Statestring `json:"state,omitempty"`// VolumeRegion: Output only. Region of the volume from which the backup was// created. Format: `projects/{project_id}/locations/{location}`VolumeRegionstring `json:"volumeRegion,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.VolumeUsageBytesint64 `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. "BackupRegion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BackupRegion") to include in API// requests with the JSON null value. By default, fields with 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¶
typeBackupConfig¶
type BackupConfig struct {// BackupChainBytes: Output only. Total size of all backups in a chain in bytes// = baseline backup size + sum(incremental backup size).BackupChainBytesint64 `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}BackupVaultstring `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.ScheduledBackupEnabledbool `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 (sBackupConfig) MarshalJSON() ([]byte,error)
typeBackupPolicy¶
type BackupPolicy struct {// AssignedVolumeCount: Output only. The total number of volumes assigned by// this backup policy.AssignedVolumeCountint64 `json:"assignedVolumeCount,omitempty"`// CreateTime: Output only. The time when the backup policy was created.CreateTimestring `json:"createTime,omitempty"`// DailyBackupLimit: Number of daily backups to keep. Note that the minimum// daily backup limit is 2.DailyBackupLimitint64 `json:"dailyBackupLimit,omitempty"`// Description: Description of the backup policy.Descriptionstring `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.Enabledbool `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.MonthlyBackupLimitint64 `json:"monthlyBackupLimit,omitempty"`// Name: Identifier. The resource name of the backup policy. Format:// `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}// `.Namestring `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.Statestring `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.WeeklyBackupLimitint64 `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 (sBackupPolicy) MarshalJSON() ([]byte,error)
typeBackupRetentionPolicy¶added inv0.234.0
type BackupRetentionPolicy struct {// BackupMinimumEnforcedRetentionDays: Required. Minimum retention duration in// days for backups in the backup vault.BackupMinimumEnforcedRetentionDaysint64 `json:"backupMinimumEnforcedRetentionDays,omitempty"`// DailyBackupImmutable: Optional. Indicates if the daily backups are// immutable. At least one of daily_backup_immutable, weekly_backup_immutable,// monthly_backup_immutable and manual_backup_immutable must be true.DailyBackupImmutablebool `json:"dailyBackupImmutable,omitempty"`// ManualBackupImmutable: Optional. Indicates if the manual backups are// immutable. At least one of daily_backup_immutable, weekly_backup_immutable,// monthly_backup_immutable and manual_backup_immutable must be true.ManualBackupImmutablebool `json:"manualBackupImmutable,omitempty"`// MonthlyBackupImmutable: Optional. Indicates if the monthly backups are// immutable. At least one of daily_backup_immutable, weekly_backup_immutable,// monthly_backup_immutable and manual_backup_immutable must be true.MonthlyBackupImmutablebool `json:"monthlyBackupImmutable,omitempty"`// WeeklyBackupImmutable: Optional. Indicates if the weekly backups are// immutable. At least one of daily_backup_immutable, weekly_backup_immutable,// monthly_backup_immutable and manual_backup_immutable must be true.WeeklyBackupImmutablebool `json:"weeklyBackupImmutable,omitempty"`// ForceSendFields is a list of field names (e.g.// "BackupMinimumEnforcedRetentionDays") to unconditionally include in API// requests. By default, fields with empty or default values are omitted from// API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "BackupMinimumEnforcedRetentionDays") to include in API requests with the// JSON null value. By default, fields with empty values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-NullFields for// more details.NullFields []string `json:"-"`}BackupRetentionPolicy: Retention policy for backups in the backup vault
func (BackupRetentionPolicy)MarshalJSON¶added inv0.234.0
func (sBackupRetentionPolicy) MarshalJSON() ([]byte,error)
typeBackupVault¶
type BackupVault struct {// BackupRegion: Optional. Region where the backups are stored. Format:// `projects/{project_id}/locations/{location}`BackupRegionstring `json:"backupRegion,omitempty"`// BackupRetentionPolicy: Optional. Backup retention policy defining the// retenton of backups.BackupRetentionPolicy *BackupRetentionPolicy `json:"backupRetentionPolicy,omitempty"`// BackupVaultType: Optional. Type of backup vault to be created. Default is// IN_REGION.//// Possible values:// "BACKUP_VAULT_TYPE_UNSPECIFIED" - BackupVault type not set.// "IN_REGION" - BackupVault type is IN_REGION.// "CROSS_REGION" - BackupVault type is CROSS_REGION.BackupVaultTypestring `json:"backupVaultType,omitempty"`// CreateTime: Output only. Create time of the backup vault.CreateTimestring `json:"createTime,omitempty"`// Description: Description of the backup vault.Descriptionstring `json:"description,omitempty"`// DestinationBackupVault: Output only. Name of the Backup vault created in// backup region. Format:// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`DestinationBackupVaultstring `json:"destinationBackupVault,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}`.Namestring `json:"name,omitempty"`// SourceBackupVault: Output only. Name of the Backup vault created in source// region. Format:// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`SourceBackupVaultstring `json:"sourceBackupVault,omitempty"`// SourceRegion: Output only. Region in which the backup vault is created.// Format: `projects/{project_id}/locations/{location}`SourceRegionstring `json:"sourceRegion,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.Statestring `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. "BackupRegion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BackupRegion") to include in API// requests with the JSON null value. By default, fields with 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 (sBackupVault) MarshalJSON() ([]byte,error)
typeCacheConfig¶added inv0.249.0
type CacheConfig struct {// CifsChangeNotifyEnabled: Optional. Flag indicating whether a CIFS change// notification is enabled for the FlexCache volume.CifsChangeNotifyEnabledbool `json:"cifsChangeNotifyEnabled,omitempty"`// ForceSendFields is a list of field names (e.g. "CifsChangeNotifyEnabled") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CifsChangeNotifyEnabled") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}CacheConfig: Configuration of the cache volume.
func (CacheConfig)MarshalJSON¶added inv0.249.0
func (sCacheConfig) MarshalJSON() ([]byte,error)
typeCacheParameters¶added inv0.249.0
type CacheParameters struct {// CacheConfig: Optional. Configuration of the cache volume.CacheConfig *CacheConfig `json:"cacheConfig,omitempty"`// CacheState: Output only. State of the cache volume indicating the peering// status.//// Possible values:// "CACHE_STATE_UNSPECIFIED" - Default unspecified state.// "PENDING_CLUSTER_PEERING" - State indicating waiting for cluster peering// to be established.// "PENDING_SVM_PEERING" - State indicating waiting for SVM peering to be// established.// "PEERED" - State indicating successful establishment of peering with// origin volumes's ONTAP cluster.// "ERROR" - Terminal state wherein peering with origin volume's ONTAP// cluster has failed.CacheStatestring `json:"cacheState,omitempty"`// Command: Output only. Copy-paste-able commands to be used on user's ONTAP to// accept peering requests.Commandstring `json:"command,omitempty"`// EnableGlobalFileLock: Optional. Field indicating whether cache volume as// global file lock enabled.EnableGlobalFileLockbool `json:"enableGlobalFileLock,omitempty"`// Passphrase: Output only. Temporary passphrase generated to accept cluster// peering command.Passphrasestring `json:"passphrase,omitempty"`// PeerClusterName: Required. Name of the origin volume's ONTAP cluster.PeerClusterNamestring `json:"peerClusterName,omitempty"`// PeerIpAddresses: Required. List of IC LIF addresses of the origin volume's// ONTAP cluster.PeerIpAddresses []string `json:"peerIpAddresses,omitempty"`// PeerSvmName: Required. Name of the origin volume's SVM.PeerSvmNamestring `json:"peerSvmName,omitempty"`// PeerVolumeName: Required. Name of the origin volume for the cache volume.PeerVolumeNamestring `json:"peerVolumeName,omitempty"`// PeeringCommandExpiryTime: Optional. Expiration time for the peering command// to be executed on user's ONTAP.PeeringCommandExpiryTimestring `json:"peeringCommandExpiryTime,omitempty"`// StateDetails: Output only. Detailed description of the current cache state.StateDetailsstring `json:"stateDetails,omitempty"`// ForceSendFields is a list of field names (e.g. "CacheConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CacheConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}CacheParameters: Cache Parameters for the volume.
func (CacheParameters)MarshalJSON¶added inv0.249.0
func (sCacheParameters) MarshalJSON() ([]byte,error)
typeCancelOperationRequest¶
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeDailySchedule¶
type DailySchedule struct {// Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0).Hourfloat64 `json:"hour,omitempty"`// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to// the top of the hour (0).Minutefloat64 `json:"minute,omitempty"`// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly// scheduleSnapshotsToKeepfloat64 `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 (sDailySchedule) MarshalJSON() ([]byte,error)
func (*DailySchedule)UnmarshalJSON¶
func (s *DailySchedule) UnmarshalJSON(data []byte)error
typeDestinationVolumeParameters¶
type DestinationVolumeParameters struct {// Description: Description for the destination volume.Descriptionstring `json:"description,omitempty"`// ShareName: Destination volume's share name. If not specified, source// volume's share name will be used.ShareNamestring `json:"shareName,omitempty"`// StoragePool: Required. Existing destination StoragePool name.StoragePoolstring `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.VolumeIdstring `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 inputparameters used for creating destination volume.
func (DestinationVolumeParameters)MarshalJSON¶
func (sDestinationVolumeParameters) MarshalJSON() ([]byte,error)
typeEncryptVolumesRequest¶
type EncryptVolumesRequest struct {}EncryptVolumesRequest: EncryptVolumesRequest specifies the KMS config toencrypt existing volumes.
typeEstablishPeeringRequest¶added inv0.207.0
type EstablishPeeringRequest struct {// PeerClusterName: Required. Name of the user's local source cluster to be// peered with the destination cluster.PeerClusterNamestring `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.PeerSvmNamestring `json:"peerSvmName,omitempty"`// PeerVolumeName: Required. Name of the user's local source volume to be// peered with the destination volume.PeerVolumeNamestring `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 svmpeerings between the source and the destination replications.
func (EstablishPeeringRequest)MarshalJSON¶added inv0.207.0
func (sEstablishPeeringRequest) MarshalJSON() ([]byte,error)
typeEstablishVolumePeeringRequest¶added inv0.249.0
type EstablishVolumePeeringRequest struct {// PeerClusterName: Required. Name of the user's local source cluster to be// peered with the destination cluster.PeerClusterNamestring `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.PeerSvmNamestring `json:"peerSvmName,omitempty"`// PeerVolumeName: Required. Name of the user's local source volume to be// peered with the destination volume.PeerVolumeNamestring `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:"-"`}EstablishVolumePeeringRequest: EstablishVolumePeeringRequest establishescluster and svm peerings between the source and destination clusters.
func (EstablishVolumePeeringRequest)MarshalJSON¶added inv0.249.0
func (sEstablishVolumePeeringRequest) MarshalJSON() ([]byte,error)
typeExportPolicy¶
type ExportPolicy struct {// Rules: Required. List of export policy rulesRules []*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 (sExportPolicy) MarshalJSON() ([]byte,error)
typeGoogleProtobufEmpty¶
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 avoiddefining duplicated empty messages in your APIs. A typical example is to useit as the request or the response type of an API method. For instance:service Foo { rpc Bar(google.protobuf.Empty) returns(google.protobuf.Empty); }
typeHourlySchedule¶
type HourlySchedule struct {// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to// the top of the hour (0).Minutefloat64 `json:"minute,omitempty"`// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly// scheduleSnapshotsToKeepfloat64 `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 (sHourlySchedule) MarshalJSON() ([]byte,error)
func (*HourlySchedule)UnmarshalJSON¶
func (s *HourlySchedule) UnmarshalJSON(data []byte)error
typeHybridPeeringDetails¶added inv0.207.0
type HybridPeeringDetails struct {// Command: Output only. Copy-paste-able commands to be used on user's ONTAP to// accept peering requests.Commandstring `json:"command,omitempty"`// CommandExpiryTime: Output only. Expiration time for the peering command to// be executed on user's ONTAP.CommandExpiryTimestring `json:"commandExpiryTime,omitempty"`// Passphrase: Output only. Temporary passphrase generated to accept cluster// peering command.Passphrasestring `json:"passphrase,omitempty"`// PeerClusterName: Output only. Name of the user's local source cluster to be// peered with the destination cluster.PeerClusterNamestring `json:"peerClusterName,omitempty"`// PeerSvmName: Output only. Name of the user's local source vserver svm to be// peered with the destination vserver svm.PeerSvmNamestring `json:"peerSvmName,omitempty"`// PeerVolumeName: Output only. Name of the user's local source volume to be// peered with the destination volume.PeerVolumeNamestring `json:"peerVolumeName,omitempty"`// SubnetIp: Output only. IP address of the subnet.SubnetIpstring `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 hybridpeering.
func (HybridPeeringDetails)MarshalJSON¶added inv0.207.0
func (sHybridPeeringDetails) MarshalJSON() ([]byte,error)
typeHybridReplicationParameters¶added inv0.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.ClusterLocationstring `json:"clusterLocation,omitempty"`// Description: Optional. Description of the replication.Descriptionstring `json:"description,omitempty"`// HybridReplicationType: Optional. Type of the hybrid replication.//// Possible values:// "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED" - Unspecified hybrid// replication type.// "MIGRATION" - Hybrid replication type for migration.// "CONTINUOUS_REPLICATION" - Hybrid replication type for continuous// replication.// "ONPREM_REPLICATION" - New field for reversible OnPrem replication, to be// used for data protection.// "REVERSE_ONPREM_REPLICATION" - New field for reversible OnPrem// replication, to be used for data protection.HybridReplicationTypestring `json:"hybridReplicationType,omitempty"`// Labels: Optional. Labels to be added to the replication as the key value// pairs.Labels map[string]string `json:"labels,omitempty"`// LargeVolumeConstituentCount: Optional. Constituent volume count for large// volume.LargeVolumeConstituentCountint64 `json:"largeVolumeConstituentCount,omitempty"`// PeerClusterName: Required. Name of the user's local source cluster to be// peered with the destination cluster.PeerClusterNamestring `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.PeerSvmNamestring `json:"peerSvmName,omitempty"`// PeerVolumeName: Required. Name of the user's local source volume to be// peered with the destination volume.PeerVolumeNamestring `json:"peerVolumeName,omitempty"`// Replication: Required. Desired name for the replication of this volume.Replicationstring `json:"replication,omitempty"`// ReplicationSchedule: Optional. Replication Schedule for the replication// created.//// Possible values:// "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED" - Unspecified// HybridReplicationSchedule// "EVERY_10_MINUTES" - Replication happens once every 10 minutes.// "HOURLY" - Replication happens once every hour.// "DAILY" - Replication happens once every day.ReplicationSchedulestring `json:"replicationSchedule,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 thevolume.
func (HybridReplicationParameters)MarshalJSON¶added inv0.207.0
func (sHybridReplicationParameters) MarshalJSON() ([]byte,error)
typeKmsConfig¶
type KmsConfig struct {// CreateTime: Output only. Create time of the KmsConfig.CreateTimestring `json:"createTime,omitempty"`// CryptoKeyName: Required. Customer managed crypto key resource full name.// Format:// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypt// o_key}.CryptoKeyNamestring `json:"cryptoKeyName,omitempty"`// Description: Description of the KmsConfig.Descriptionstring `json:"description,omitempty"`// Instructions: Output only. Instructions to provide the access to the// customer provided encryption key.Instructionsstring `json:"instructions,omitempty"`// Labels: Labels as key value pairsLabels map[string]string `json:"labels,omitempty"`// Name: Identifier. Name of the KmsConfig.Namestring `json:"name,omitempty"`// ServiceAccount: Output only. The Service account which will have access to// the customer provided encryption key.ServiceAccountstring `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.Statestring `json:"state,omitempty"`// StateDetails: Output only. State details of the KmsConfig.StateDetailsstring `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¶
typeListActiveDirectoriesResponse¶
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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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 allthe active directories requested.
func (ListActiveDirectoriesResponse)MarshalJSON¶
func (sListActiveDirectoriesResponse) MarshalJSON() ([]byte,error)
typeListBackupPoliciesResponse¶
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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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 thebackup policies requested.
func (ListBackupPoliciesResponse)MarshalJSON¶
func (sListBackupPoliciesResponse) MarshalJSON() ([]byte,error)
typeListBackupVaultsResponse¶
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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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 ofListBackupVaultsRequest.
func (ListBackupVaultsResponse)MarshalJSON¶
func (sListBackupVaultsResponse) MarshalJSON() ([]byte,error)
typeListBackupsResponse¶
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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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 ofListBackupsRequest.
func (ListBackupsResponse)MarshalJSON¶
func (sListBackupsResponse) MarshalJSON() ([]byte,error)
typeListKmsConfigsResponse¶
type ListKmsConfigsResponse struct {// KmsConfigs: The list of KmsConfigsKmsConfigs []*KmsConfig `json:"kmsConfigs,omitempty"`// NextPageToken: A token identifying a page of results the server should// return.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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 aListKmsConfigsRequest.
func (ListKmsConfigsResponse)MarshalJSON¶
func (sListKmsConfigsResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeListQuotaRulesResponse¶added inv0.207.0
type ListQuotaRulesResponse struct {// NextPageToken: A token identifying a page of results the server should// return.NextPageTokenstring `json:"nextPageToken,omitempty"`// QuotaRules: List of quota rulesQuotaRules []*QuotaRule `json:"quotaRules,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:"-"`}ListQuotaRulesResponse: ListQuotaRulesResponse is the response to aListQuotaRulesRequest.
func (ListQuotaRulesResponse)MarshalJSON¶added inv0.207.0
func (sListQuotaRulesResponse) MarshalJSON() ([]byte,error)
typeListReplicationsResponse¶
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.NextPageTokenstring `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 ofListReplicationsRequest.
func (ListReplicationsResponse)MarshalJSON¶
func (sListReplicationsResponse) MarshalJSON() ([]byte,error)
typeListSnapshotsResponse¶
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.NextPageTokenstring `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 ofListSnapshotsRequest.
func (ListSnapshotsResponse)MarshalJSON¶
func (sListSnapshotsResponse) MarshalJSON() ([]byte,error)
typeListStoragePoolsResponse¶
type ListStoragePoolsResponse struct {// NextPageToken: A token identifying a page of results the server should// return.NextPageTokenstring `json:"nextPageToken,omitempty"`// StoragePools: The list of StoragePoolsStoragePools []*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 aListStoragePoolsRequest.
func (ListStoragePoolsResponse)MarshalJSON¶
func (sListStoragePoolsResponse) MarshalJSON() ([]byte,error)
typeListVolumesResponse¶
type ListVolumesResponse struct {// NextPageToken: A token identifying a page of results the server should// return.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// Volumes: The list of VolumeVolumes []*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 (sListVolumesResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeLocationMetadata¶
type LocationMetadata struct {// HasVcp: Output only. Indicates if the location has VCP support.HasVcpbool `json:"hasVcp,omitempty"`// SupportedFlexPerformance: Output only. Supported flex performance in a// location.//// Possible values:// "FLEX_PERFORMANCE_UNSPECIFIED" - Unspecified flex performance.// "FLEX_PERFORMANCE_DEFAULT" - Flex Storage Pool with default performance.// "FLEX_PERFORMANCE_CUSTOM" - Flex Storage Pool with custom performance.SupportedFlexPerformance []string `json:"supportedFlexPerformance,omitempty"`// 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. "HasVcp") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HasVcp") to include in API// requests with the JSON null value. By default, fields with 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 (sLocationMetadata) MarshalJSON() ([]byte,error)
typeMonthlySchedule¶
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'.DaysOfMonthstring `json:"daysOfMonth,omitempty"`// Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0).Hourfloat64 `json:"hour,omitempty"`// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to// the top of the hour (0).Minutefloat64 `json:"minute,omitempty"`// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly// scheduleSnapshotsToKeepfloat64 `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 (sMonthlySchedule) MarshalJSON() ([]byte,error)
func (*MonthlySchedule)UnmarshalJSON¶
func (s *MonthlySchedule) UnmarshalJSON(data []byte)error
typeMountOption¶
type MountOption struct {// Export: Export stringExportstring `json:"export,omitempty"`// ExportFull: Full export stringExportFullstring `json:"exportFull,omitempty"`// Instructions: Instructions for mountingInstructionsstring `json:"instructions,omitempty"`// IpAddress: Output only. IP Address.IpAddressstring `json:"ipAddress,omitempty"`// Protocol: Protocol to mount with.//// Possible values:// "PROTOCOLS_UNSPECIFIED" - Unspecified protocol// "NFSV3" - NFS V3 protocol// "NFSV4" - NFS V4 protocol// "SMB" - SMB protocolProtocolstring `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 (sMountOption) MarshalJSON() ([]byte,error)
typeOperation¶
type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶
type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// 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`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationMetadata: Represents the metadata of the long-running operation.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typeProjectsLocationsActiveDirectoriesCreateCall¶
type ProjectsLocationsActiveDirectoriesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsActiveDirectoriesCreateCall)ActiveDirectoryId¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) ActiveDirectoryId(activeDirectoryIdstring) *ProjectsLocationsActiveDirectoriesCreateCall
ActiveDirectoryId sets the optional parameter "activeDirectoryId": Required.ID of the active directory to create. Must be unique within the parentresource. Must contain only letters, numbers and hyphen, with the firstcharacter a letter , the last a letter or a number, and a 63 charactermaximum.
func (*ProjectsLocationsActiveDirectoriesCreateCall)Context¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsActiveDirectoriesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsActiveDirectoriesCreateCall)Do¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsActiveDirectoriesCreateCall)Fields¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsActiveDirectoriesCreateCall)Header¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsActiveDirectoriesDeleteCall¶
type ProjectsLocationsActiveDirectoriesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsActiveDirectoriesDeleteCall)Context¶
func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsActiveDirectoriesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsActiveDirectoriesDeleteCall)Do¶
func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsActiveDirectoriesDeleteCall)Fields¶
func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsActiveDirectoriesDeleteCall)Header¶
func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsActiveDirectoriesGetCall¶
type ProjectsLocationsActiveDirectoriesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsActiveDirectoriesGetCall)Context¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) Context(ctxcontext.Context) *ProjectsLocationsActiveDirectoriesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsActiveDirectoriesGetCall)Do¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) Do(opts ...googleapi.CallOption) (*ActiveDirectory,error)
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 atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsActiveDirectoriesGetCall)Fields¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsActiveDirectoriesGetCall)Header¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsActiveDirectoriesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsActiveDirectoriesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsActiveDirectoriesListCall¶
type ProjectsLocationsActiveDirectoriesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsActiveDirectoriesListCall)Context¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Context(ctxcontext.Context) *ProjectsLocationsActiveDirectoriesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsActiveDirectoriesListCall)Do¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Do(opts ...googleapi.CallOption) (*ListActiveDirectoriesResponse,error)
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsActiveDirectoriesListCall)Fields¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsActiveDirectoriesListCall)Filter¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Filter(filterstring) *ProjectsLocationsActiveDirectoriesListCall
Filter sets the optional parameter "filter": Filtering results
func (*ProjectsLocationsActiveDirectoriesListCall)Header¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsActiveDirectoriesListCall)IfNoneMatch¶
func (c *ProjectsLocationsActiveDirectoriesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsActiveDirectoriesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsActiveDirectoriesListCall)OrderBy¶
func (c *ProjectsLocationsActiveDirectoriesListCall) OrderBy(orderBystring) *ProjectsLocationsActiveDirectoriesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults
func (*ProjectsLocationsActiveDirectoriesListCall)PageSize¶
func (c *ProjectsLocationsActiveDirectoriesListCall) PageSize(pageSizeint64) *ProjectsLocationsActiveDirectoriesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, the server will pickan appropriate default.
func (*ProjectsLocationsActiveDirectoriesListCall)PageToken¶
func (c *ProjectsLocationsActiveDirectoriesListCall) PageToken(pageTokenstring) *ProjectsLocationsActiveDirectoriesListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsActiveDirectoriesListCall)Pages¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Pages(ctxcontext.Context, f func(*ListActiveDirectoriesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsActiveDirectoriesPatchCall¶
type ProjectsLocationsActiveDirectoriesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsActiveDirectoriesPatchCall)Context¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsActiveDirectoriesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsActiveDirectoriesPatchCall)Do¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsActiveDirectoriesPatchCall)Fields¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsActiveDirectoriesPatchCall)Header¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsActiveDirectoriesPatchCall)UpdateMask¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsActiveDirectoriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the Active Directoryresource by the update. The fields specified in the update_mask are relativeto the resource, not the full request. A field will be overwritten if it isin the mask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsActiveDirectoriesService¶
type ProjectsLocationsActiveDirectoriesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsActiveDirectoriesService¶
func NewProjectsLocationsActiveDirectoriesService(s *Service) *ProjectsLocationsActiveDirectoriesService
func (*ProjectsLocationsActiveDirectoriesService)Create¶
func (r *ProjectsLocationsActiveDirectoriesService) Create(parentstring, activedirectory *ActiveDirectory) *ProjectsLocationsActiveDirectoriesCreateCall
Create: CreateActiveDirectory Creates the active directory specified in therequest.
- parent: Value for parent.
func (*ProjectsLocationsActiveDirectoriesService)Delete¶
func (r *ProjectsLocationsActiveDirectoriesService) Delete(namestring) *ProjectsLocationsActiveDirectoriesDeleteCall
Delete: Delete the active directory specified in the request.
- name: Name of the active directory.
func (*ProjectsLocationsActiveDirectoriesService)Get¶
func (r *ProjectsLocationsActiveDirectoriesService) Get(namestring) *ProjectsLocationsActiveDirectoriesGetCall
Get: Describes a specified active directory.
- name: Name of the active directory.
func (*ProjectsLocationsActiveDirectoriesService)List¶
func (r *ProjectsLocationsActiveDirectoriesService) List(parentstring) *ProjectsLocationsActiveDirectoriesListCall
List: Lists active directories.
- parent: Parent value for ListActiveDirectoriesRequest.
func (*ProjectsLocationsActiveDirectoriesService)Patch¶
func (r *ProjectsLocationsActiveDirectoriesService) Patch(namestring, activedirectory *ActiveDirectory) *ProjectsLocationsActiveDirectoriesPatchCall
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/{active_directory_id}`.
typeProjectsLocationsBackupPoliciesCreateCall¶
type ProjectsLocationsBackupPoliciesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupPoliciesCreateCall)BackupPolicyId¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) BackupPolicyId(backupPolicyIdstring) *ProjectsLocationsBackupPoliciesCreateCall
BackupPolicyId sets the optional parameter "backupPolicyId": Required. TheID to use for the backup policy. The ID must be unique within the specifiedlocation. Must contain only letters, numbers and hyphen, with the firstcharacter a letter, the last a letter or a number, and a 63 charactermaximum.
func (*ProjectsLocationsBackupPoliciesCreateCall)Context¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsBackupPoliciesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupPoliciesCreateCall)Do¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupPoliciesCreateCall)Fields¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupPoliciesCreateCall)Header¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBackupPoliciesDeleteCall¶
type ProjectsLocationsBackupPoliciesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupPoliciesDeleteCall)Context¶
func (c *ProjectsLocationsBackupPoliciesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsBackupPoliciesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupPoliciesDeleteCall)Do¶
func (c *ProjectsLocationsBackupPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupPoliciesDeleteCall)Fields¶
func (c *ProjectsLocationsBackupPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupPoliciesDeleteCall)Header¶
func (c *ProjectsLocationsBackupPoliciesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBackupPoliciesGetCall¶
type ProjectsLocationsBackupPoliciesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupPoliciesGetCall)Context¶
func (c *ProjectsLocationsBackupPoliciesGetCall) Context(ctxcontext.Context) *ProjectsLocationsBackupPoliciesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupPoliciesGetCall)Do¶
func (c *ProjectsLocationsBackupPoliciesGetCall) Do(opts ...googleapi.CallOption) (*BackupPolicy,error)
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 checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupPoliciesGetCall)Fields¶
func (c *ProjectsLocationsBackupPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupPoliciesGetCall)Header¶
func (c *ProjectsLocationsBackupPoliciesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupPoliciesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBackupPoliciesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBackupPoliciesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsBackupPoliciesListCall¶
type ProjectsLocationsBackupPoliciesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupPoliciesListCall)Context¶
func (c *ProjectsLocationsBackupPoliciesListCall) Context(ctxcontext.Context) *ProjectsLocationsBackupPoliciesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupPoliciesListCall)Do¶
func (c *ProjectsLocationsBackupPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListBackupPoliciesResponse,error)
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBackupPoliciesListCall)Fields¶
func (c *ProjectsLocationsBackupPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupPoliciesListCall)Filter¶
func (c *ProjectsLocationsBackupPoliciesListCall) Filter(filterstring) *ProjectsLocationsBackupPoliciesListCall
Filter sets the optional parameter "filter": Filtering results
func (*ProjectsLocationsBackupPoliciesListCall)Header¶
func (c *ProjectsLocationsBackupPoliciesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupPoliciesListCall)IfNoneMatch¶
func (c *ProjectsLocationsBackupPoliciesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBackupPoliciesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBackupPoliciesListCall)OrderBy¶
func (c *ProjectsLocationsBackupPoliciesListCall) OrderBy(orderBystring) *ProjectsLocationsBackupPoliciesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults
func (*ProjectsLocationsBackupPoliciesListCall)PageSize¶
func (c *ProjectsLocationsBackupPoliciesListCall) PageSize(pageSizeint64) *ProjectsLocationsBackupPoliciesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, the server will pickan appropriate default.
func (*ProjectsLocationsBackupPoliciesListCall)PageToken¶
func (c *ProjectsLocationsBackupPoliciesListCall) PageToken(pageTokenstring) *ProjectsLocationsBackupPoliciesListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsBackupPoliciesListCall)Pages¶
func (c *ProjectsLocationsBackupPoliciesListCall) Pages(ctxcontext.Context, f func(*ListBackupPoliciesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsBackupPoliciesPatchCall¶
type ProjectsLocationsBackupPoliciesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupPoliciesPatchCall)Context¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsBackupPoliciesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupPoliciesPatchCall)Do¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupPoliciesPatchCall)Fields¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupPoliciesPatchCall)Header¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupPoliciesPatchCall)UpdateMask¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsBackupPoliciesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the Backup Policy resourceby the update. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsBackupPoliciesService¶
type ProjectsLocationsBackupPoliciesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsBackupPoliciesService¶
func NewProjectsLocationsBackupPoliciesService(s *Service) *ProjectsLocationsBackupPoliciesService
func (*ProjectsLocationsBackupPoliciesService)Create¶
func (r *ProjectsLocationsBackupPoliciesService) Create(parentstring, backuppolicy *BackupPolicy) *ProjectsLocationsBackupPoliciesCreateCall
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¶
func (r *ProjectsLocationsBackupPoliciesService) Delete(namestring) *ProjectsLocationsBackupPoliciesDeleteCall
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_id}`.
func (*ProjectsLocationsBackupPoliciesService)Get¶
func (r *ProjectsLocationsBackupPoliciesService) Get(namestring) *ProjectsLocationsBackupPoliciesGetCall
Get: Returns the description of the specified backup policy bybackup_policy_id.
- name: The backupPolicy resource name, in the format`projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`.
func (*ProjectsLocationsBackupPoliciesService)List¶
func (r *ProjectsLocationsBackupPoliciesService) List(parentstring) *ProjectsLocationsBackupPoliciesListCall
List: Returns list of all available backup policies.
- parent: Parent value for ListBackupPoliciesRequest.
func (*ProjectsLocationsBackupPoliciesService)Patch¶
func (r *ProjectsLocationsBackupPoliciesService) Patch(namestring, backuppolicy *BackupPolicy) *ProjectsLocationsBackupPoliciesPatchCall
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_id}`.
typeProjectsLocationsBackupVaultsBackupsCreateCall¶
type ProjectsLocationsBackupVaultsBackupsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsBackupsCreateCall)BackupId¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) BackupId(backupIdstring) *ProjectsLocationsBackupVaultsBackupsCreateCall
BackupId sets the optional parameter "backupId": Required. The ID to use forthe backup. The ID must be unique within the specified backupVault. Mustcontain 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¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsBackupsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsBackupsCreateCall)Do¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsBackupsCreateCall)Fields¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsBackupsCreateCall)Header¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBackupVaultsBackupsDeleteCall¶
type ProjectsLocationsBackupVaultsBackupsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsBackupsDeleteCall)Context¶
func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsBackupsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsBackupsDeleteCall)Do¶
func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsBackupsDeleteCall)Fields¶
func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsBackupsDeleteCall)Header¶
func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBackupVaultsBackupsGetCall¶
type ProjectsLocationsBackupVaultsBackupsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsBackupsGetCall)Context¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsBackupsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsBackupsGetCall)Do¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Do(opts ...googleapi.CallOption) (*Backup,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsBackupsGetCall)Fields¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsBackupsGetCall)Header¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupVaultsBackupsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBackupVaultsBackupsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsBackupVaultsBackupsListCall¶
type ProjectsLocationsBackupVaultsBackupsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsBackupsListCall)Context¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsBackupsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsBackupsListCall)Do¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Do(opts ...googleapi.CallOption) (*ListBackupsResponse,error)
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 atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsBackupVaultsBackupsListCall)Fields¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsBackupsListCall)Filter¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Filter(filterstring) *ProjectsLocationsBackupVaultsBackupsListCall
Filter sets the optional parameter "filter": The standard list filter. Ifspecified, backups will be returned based on the attribute name that matchesthe filter expression. If empty, then no backups are filtered out. Seehttps://google.aip.dev/160
func (*ProjectsLocationsBackupVaultsBackupsListCall)Header¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupVaultsBackupsListCall)IfNoneMatch¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBackupVaultsBackupsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBackupVaultsBackupsListCall)OrderBy¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) OrderBy(orderBystring) *ProjectsLocationsBackupVaultsBackupsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supportedvalues are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsBackupVaultsBackupsListCall)PageSize¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) PageSize(pageSizeint64) *ProjectsLocationsBackupVaultsBackupsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. The service may return fewer than this value. The maximum valueis 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsBackupVaultsBackupsListCall)PageToken¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) PageToken(pageTokenstring) *ProjectsLocationsBackupVaultsBackupsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valueto use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsBackupVaultsBackupsListCall)Pages¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Pages(ctxcontext.Context, f func(*ListBackupsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsBackupVaultsBackupsPatchCall¶
type ProjectsLocationsBackupVaultsBackupsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsBackupsPatchCall)Context¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsBackupsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsBackupsPatchCall)Do¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsBackupsPatchCall)Fields¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsBackupsPatchCall)Header¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupVaultsBackupsPatchCall)UpdateMask¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsBackupVaultsBackupsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the Backup resource to beupdated. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsBackupVaultsBackupsService¶
type ProjectsLocationsBackupVaultsBackupsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsBackupVaultsBackupsService¶
func NewProjectsLocationsBackupVaultsBackupsService(s *Service) *ProjectsLocationsBackupVaultsBackupsService
func (*ProjectsLocationsBackupVaultsBackupsService)Create¶
func (r *ProjectsLocationsBackupVaultsBackupsService) Create(parentstring, backup *Backup) *ProjectsLocationsBackupVaultsBackupsCreateCall
Create: Creates a backup from the volume specified in the request The backupcan be created from the given snapshot if specified in the request. If nosnapshot specified, there'll be a new snapshot taken to initiate the backupcreation.
- parent: The NetApp backupVault to create the backups of, in the format`projects/*/locations/*/backupVaults/{backup_vault_id}`.
func (*ProjectsLocationsBackupVaultsBackupsService)Delete¶
func (r *ProjectsLocationsBackupVaultsBackupsService) Delete(namestring) *ProjectsLocationsBackupVaultsBackupsDeleteCall
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¶
func (r *ProjectsLocationsBackupVaultsBackupsService) Get(namestring) *ProjectsLocationsBackupVaultsBackupsGetCall
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¶
func (r *ProjectsLocationsBackupVaultsBackupsService) List(parentstring) *ProjectsLocationsBackupVaultsBackupsListCall
List: Returns descriptions of all backups for a backupVault.
- parent: The backupVault for which to retrieve backup information, in theformat`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 informationfor a volume, use "-" for the `{backup_vault_id}` value and specify volumefull name with the filter.
func (*ProjectsLocationsBackupVaultsBackupsService)Patch¶
func (r *ProjectsLocationsBackupVaultsBackupsService) Patch(namestring, backup *Backup) *ProjectsLocationsBackupVaultsBackupsPatchCall
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}`.
typeProjectsLocationsBackupVaultsCreateCall¶
type ProjectsLocationsBackupVaultsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsCreateCall)BackupVaultId¶
func (c *ProjectsLocationsBackupVaultsCreateCall) BackupVaultId(backupVaultIdstring) *ProjectsLocationsBackupVaultsCreateCall
BackupVaultId sets the optional parameter "backupVaultId": Required. The IDto use for the backupVault. The ID must be unique within the specifiedlocation. Must contain only letters, numbers and hyphen, with the firstcharacter a letter, the last a letter or a number, and a 63 charactermaximum.
func (*ProjectsLocationsBackupVaultsCreateCall)Context¶
func (c *ProjectsLocationsBackupVaultsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsCreateCall)Do¶
func (c *ProjectsLocationsBackupVaultsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsCreateCall)Fields¶
func (c *ProjectsLocationsBackupVaultsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsCreateCall)Header¶
func (c *ProjectsLocationsBackupVaultsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBackupVaultsDeleteCall¶
type ProjectsLocationsBackupVaultsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsDeleteCall)Context¶
func (c *ProjectsLocationsBackupVaultsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsDeleteCall)Do¶
func (c *ProjectsLocationsBackupVaultsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsDeleteCall)Fields¶
func (c *ProjectsLocationsBackupVaultsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsDeleteCall)Header¶
func (c *ProjectsLocationsBackupVaultsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBackupVaultsGetCall¶
type ProjectsLocationsBackupVaultsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsGetCall)Context¶
func (c *ProjectsLocationsBackupVaultsGetCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsGetCall)Do¶
func (c *ProjectsLocationsBackupVaultsGetCall) Do(opts ...googleapi.CallOption) (*BackupVault,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsGetCall)Fields¶
func (c *ProjectsLocationsBackupVaultsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsGetCall)Header¶
func (c *ProjectsLocationsBackupVaultsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupVaultsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBackupVaultsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBackupVaultsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsBackupVaultsListCall¶
type ProjectsLocationsBackupVaultsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsListCall)Context¶
func (c *ProjectsLocationsBackupVaultsListCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsListCall)Do¶
func (c *ProjectsLocationsBackupVaultsListCall) Do(opts ...googleapi.CallOption) (*ListBackupVaultsResponse,error)
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsListCall)Fields¶
func (c *ProjectsLocationsBackupVaultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsListCall)Filter¶
func (c *ProjectsLocationsBackupVaultsListCall) Filter(filterstring) *ProjectsLocationsBackupVaultsListCall
Filter sets the optional parameter "filter": List filter.
func (*ProjectsLocationsBackupVaultsListCall)Header¶
func (c *ProjectsLocationsBackupVaultsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupVaultsListCall)IfNoneMatch¶
func (c *ProjectsLocationsBackupVaultsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBackupVaultsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBackupVaultsListCall)OrderBy¶
func (c *ProjectsLocationsBackupVaultsListCall) OrderBy(orderBystring) *ProjectsLocationsBackupVaultsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supportedvalues are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsBackupVaultsListCall)PageSize¶
func (c *ProjectsLocationsBackupVaultsListCall) PageSize(pageSizeint64) *ProjectsLocationsBackupVaultsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsLocationsBackupVaultsListCall)PageToken¶
func (c *ProjectsLocationsBackupVaultsListCall) PageToken(pageTokenstring) *ProjectsLocationsBackupVaultsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valueto use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsBackupVaultsListCall)Pages¶
func (c *ProjectsLocationsBackupVaultsListCall) Pages(ctxcontext.Context, f func(*ListBackupVaultsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsBackupVaultsPatchCall¶
type ProjectsLocationsBackupVaultsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBackupVaultsPatchCall)Context¶
func (c *ProjectsLocationsBackupVaultsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsBackupVaultsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBackupVaultsPatchCall)Do¶
func (c *ProjectsLocationsBackupVaultsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsPatchCall)Fields¶
func (c *ProjectsLocationsBackupVaultsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBackupVaultsPatchCall)Header¶
func (c *ProjectsLocationsBackupVaultsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBackupVaultsPatchCall)UpdateMask¶
func (c *ProjectsLocationsBackupVaultsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsBackupVaultsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the Backup resource to beupdated. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsBackupVaultsService¶
type ProjectsLocationsBackupVaultsService struct {Backups *ProjectsLocationsBackupVaultsBackupsService// contains filtered or unexported fields}funcNewProjectsLocationsBackupVaultsService¶
func NewProjectsLocationsBackupVaultsService(s *Service) *ProjectsLocationsBackupVaultsService
func (*ProjectsLocationsBackupVaultsService)Create¶
func (r *ProjectsLocationsBackupVaultsService) Create(parentstring, backupvault *BackupVault) *ProjectsLocationsBackupVaultsCreateCall
Create: Creates new backup vault
- parent: The location to create the backup vaults, in the format`projects/{project_id}/locations/{location}`.
func (*ProjectsLocationsBackupVaultsService)Delete¶
func (r *ProjectsLocationsBackupVaultsService) Delete(namestring) *ProjectsLocationsBackupVaultsDeleteCall
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¶
func (r *ProjectsLocationsBackupVaultsService) Get(namestring) *ProjectsLocationsBackupVaultsGetCall
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¶
func (r *ProjectsLocationsBackupVaultsService) List(parentstring) *ProjectsLocationsBackupVaultsListCall
List: Returns list of all available backup vaults.
- parent: The location for which to retrieve backupVault information, in theformat `projects/{project_id}/locations/{location}`.
func (*ProjectsLocationsBackupVaultsService)Patch¶
func (r *ProjectsLocationsBackupVaultsService) Patch(namestring, backupvault *BackupVault) *ProjectsLocationsBackupVaultsPatchCall
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}`.
typeProjectsLocationsGetCall¶
type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetCall)Context¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,error)
Do executes the "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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall)Fields¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsKmsConfigsCreateCall¶
type ProjectsLocationsKmsConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsKmsConfigsCreateCall)Context¶
func (c *ProjectsLocationsKmsConfigsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsKmsConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsKmsConfigsCreateCall)Do¶
func (c *ProjectsLocationsKmsConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsCreateCall)Fields¶
func (c *ProjectsLocationsKmsConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsKmsConfigsCreateCall)Header¶
func (c *ProjectsLocationsKmsConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsKmsConfigsCreateCall)KmsConfigId¶
func (c *ProjectsLocationsKmsConfigsCreateCall) KmsConfigId(kmsConfigIdstring) *ProjectsLocationsKmsConfigsCreateCall
KmsConfigId sets the optional parameter "kmsConfigId": Required. Id of therequesting KmsConfig. Must be unique within the parent resource. Mustcontain only letters, numbers and hyphen, with the first character a letter,the last a letter or a number, and a 63 character maximum.
typeProjectsLocationsKmsConfigsDeleteCall¶
type ProjectsLocationsKmsConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsKmsConfigsDeleteCall)Context¶
func (c *ProjectsLocationsKmsConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsKmsConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsKmsConfigsDeleteCall)Do¶
func (c *ProjectsLocationsKmsConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsDeleteCall)Fields¶
func (c *ProjectsLocationsKmsConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsKmsConfigsDeleteCall)Header¶
func (c *ProjectsLocationsKmsConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsKmsConfigsEncryptCall¶
type ProjectsLocationsKmsConfigsEncryptCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsKmsConfigsEncryptCall)Context¶
func (c *ProjectsLocationsKmsConfigsEncryptCall) Context(ctxcontext.Context) *ProjectsLocationsKmsConfigsEncryptCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsKmsConfigsEncryptCall)Do¶
func (c *ProjectsLocationsKmsConfigsEncryptCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsEncryptCall)Fields¶
func (c *ProjectsLocationsKmsConfigsEncryptCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsEncryptCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsKmsConfigsEncryptCall)Header¶
func (c *ProjectsLocationsKmsConfigsEncryptCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsKmsConfigsGetCall¶
type ProjectsLocationsKmsConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsKmsConfigsGetCall)Context¶
func (c *ProjectsLocationsKmsConfigsGetCall) Context(ctxcontext.Context) *ProjectsLocationsKmsConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsKmsConfigsGetCall)Do¶
func (c *ProjectsLocationsKmsConfigsGetCall) Do(opts ...googleapi.CallOption) (*KmsConfig,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsGetCall)Fields¶
func (c *ProjectsLocationsKmsConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsKmsConfigsGetCall)Header¶
func (c *ProjectsLocationsKmsConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsKmsConfigsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsKmsConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsKmsConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsKmsConfigsListCall¶
type ProjectsLocationsKmsConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsKmsConfigsListCall)Context¶
func (c *ProjectsLocationsKmsConfigsListCall) Context(ctxcontext.Context) *ProjectsLocationsKmsConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsKmsConfigsListCall)Do¶
func (c *ProjectsLocationsKmsConfigsListCall) Do(opts ...googleapi.CallOption) (*ListKmsConfigsResponse,error)
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 returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsKmsConfigsListCall)Fields¶
func (c *ProjectsLocationsKmsConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsKmsConfigsListCall)Filter¶
func (c *ProjectsLocationsKmsConfigsListCall) Filter(filterstring) *ProjectsLocationsKmsConfigsListCall
Filter sets the optional parameter "filter": List filter.
func (*ProjectsLocationsKmsConfigsListCall)Header¶
func (c *ProjectsLocationsKmsConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsKmsConfigsListCall)IfNoneMatch¶
func (c *ProjectsLocationsKmsConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsKmsConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsKmsConfigsListCall)OrderBy¶
func (c *ProjectsLocationsKmsConfigsListCall) OrderBy(orderBystring) *ProjectsLocationsKmsConfigsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supportedvalues are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsKmsConfigsListCall)PageSize¶
func (c *ProjectsLocationsKmsConfigsListCall) PageSize(pageSizeint64) *ProjectsLocationsKmsConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsLocationsKmsConfigsListCall)PageToken¶
func (c *ProjectsLocationsKmsConfigsListCall) PageToken(pageTokenstring) *ProjectsLocationsKmsConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valueto use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsKmsConfigsListCall)Pages¶
func (c *ProjectsLocationsKmsConfigsListCall) Pages(ctxcontext.Context, f func(*ListKmsConfigsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsKmsConfigsPatchCall¶
type ProjectsLocationsKmsConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsKmsConfigsPatchCall)Context¶
func (c *ProjectsLocationsKmsConfigsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsKmsConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsKmsConfigsPatchCall)Do¶
func (c *ProjectsLocationsKmsConfigsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsPatchCall)Fields¶
func (c *ProjectsLocationsKmsConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsKmsConfigsPatchCall)Header¶
func (c *ProjectsLocationsKmsConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsKmsConfigsPatchCall)UpdateMask¶
func (c *ProjectsLocationsKmsConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsKmsConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the KmsConfig resource bythe update. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsKmsConfigsService¶
type ProjectsLocationsKmsConfigsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsKmsConfigsService¶
func NewProjectsLocationsKmsConfigsService(s *Service) *ProjectsLocationsKmsConfigsService
func (*ProjectsLocationsKmsConfigsService)Create¶
func (r *ProjectsLocationsKmsConfigsService) Create(parentstring, kmsconfig *KmsConfig) *ProjectsLocationsKmsConfigsCreateCall
Create: Creates a new KMS config.
- parent: Value for parent.
func (*ProjectsLocationsKmsConfigsService)Delete¶
func (r *ProjectsLocationsKmsConfigsService) Delete(namestring) *ProjectsLocationsKmsConfigsDeleteCall
Delete: Warning! This operation will permanently delete the Kms config.
- name: Name of the KmsConfig.
func (*ProjectsLocationsKmsConfigsService)Encrypt¶
func (r *ProjectsLocationsKmsConfigsService) Encrypt(namestring, encryptvolumesrequest *EncryptVolumesRequest) *ProjectsLocationsKmsConfigsEncryptCall
Encrypt: Encrypt the existing volumes without CMEK encryption with thedesired the KMS config for the whole region.
- name: Name of the KmsConfig.
func (*ProjectsLocationsKmsConfigsService)Get¶
func (r *ProjectsLocationsKmsConfigsService) Get(namestring) *ProjectsLocationsKmsConfigsGetCall
Get: Returns the description of the specified KMS config by kms_config_id.
- name: Name of the KmsConfig.
func (*ProjectsLocationsKmsConfigsService)List¶
func (r *ProjectsLocationsKmsConfigsService) List(parentstring) *ProjectsLocationsKmsConfigsListCall
List: Returns descriptions of all KMS configs owned by the caller.
- parent: Parent value.
func (*ProjectsLocationsKmsConfigsService)Patch¶
func (r *ProjectsLocationsKmsConfigsService) Patch(namestring, kmsconfig *KmsConfig) *ProjectsLocationsKmsConfigsPatchCall
Patch: Updates the Kms config properties with the full spec
- name: Identifier. Name of the KmsConfig.
func (*ProjectsLocationsKmsConfigsService)Verify¶
func (r *ProjectsLocationsKmsConfigsService) Verify(namestring, verifykmsconfigrequest *VerifyKmsConfigRequest) *ProjectsLocationsKmsConfigsVerifyCall
Verify: Verifies KMS config reachability.
- name: Name of the KMS Config to be verified.
typeProjectsLocationsKmsConfigsVerifyCall¶
type ProjectsLocationsKmsConfigsVerifyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsKmsConfigsVerifyCall)Context¶
func (c *ProjectsLocationsKmsConfigsVerifyCall) Context(ctxcontext.Context) *ProjectsLocationsKmsConfigsVerifyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsKmsConfigsVerifyCall)Do¶
func (c *ProjectsLocationsKmsConfigsVerifyCall) Do(opts ...googleapi.CallOption) (*VerifyKmsConfigResponse,error)
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsVerifyCall)Fields¶
func (c *ProjectsLocationsKmsConfigsVerifyCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsVerifyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsKmsConfigsVerifyCall)Header¶
func (c *ProjectsLocationsKmsConfigsVerifyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
Do executes the "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 returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsListCall)ExtraLocationTypes¶added inv0.230.0
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.
func (*ProjectsLocationsListCall)Fields¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).
func (*ProjectsLocationsListCall)Header¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsOperationsCancelCall¶
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
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 atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsCancelCall)Fields¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶
func (c *ProjectsLocationsOperationsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
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 atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsDeleteCall)Fields¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall)Fields¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "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 returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccess¶added inv0.253.0
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService)Delete¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService)Get¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {ActiveDirectories *ProjectsLocationsActiveDirectoriesServiceBackupPolicies *ProjectsLocationsBackupPoliciesServiceBackupVaults *ProjectsLocationsBackupVaultsServiceKmsConfigs *ProjectsLocationsKmsConfigsServiceOperations *ProjectsLocationsOperationsServiceStoragePools *ProjectsLocationsStoragePoolsServiceVolumes *ProjectsLocationsVolumesService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsLocationsStoragePoolsCreateCall¶
type ProjectsLocationsStoragePoolsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsStoragePoolsCreateCall)Context¶
func (c *ProjectsLocationsStoragePoolsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsStoragePoolsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsCreateCall)Do¶
func (c *ProjectsLocationsStoragePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsCreateCall)Fields¶
func (c *ProjectsLocationsStoragePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsStoragePoolsCreateCall)Header¶
func (c *ProjectsLocationsStoragePoolsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsStoragePoolsCreateCall)StoragePoolId¶
func (c *ProjectsLocationsStoragePoolsCreateCall) StoragePoolId(storagePoolIdstring) *ProjectsLocationsStoragePoolsCreateCall
StoragePoolId sets the optional parameter "storagePoolId": Required. Id ofthe requesting storage pool. Must be unique within the parent resource. Mustcontain only letters, numbers and hyphen, with the first character a letter,the last a letter or a number, and a 63 character maximum.
typeProjectsLocationsStoragePoolsDeleteCall¶
type ProjectsLocationsStoragePoolsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsStoragePoolsDeleteCall)Context¶
func (c *ProjectsLocationsStoragePoolsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsStoragePoolsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsDeleteCall)Do¶
func (c *ProjectsLocationsStoragePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsDeleteCall)Fields¶
func (c *ProjectsLocationsStoragePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsStoragePoolsDeleteCall)Header¶
func (c *ProjectsLocationsStoragePoolsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsStoragePoolsGetCall¶
type ProjectsLocationsStoragePoolsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsStoragePoolsGetCall)Context¶
func (c *ProjectsLocationsStoragePoolsGetCall) Context(ctxcontext.Context) *ProjectsLocationsStoragePoolsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsGetCall)Do¶
func (c *ProjectsLocationsStoragePoolsGetCall) Do(opts ...googleapi.CallOption) (*StoragePool,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsGetCall)Fields¶
func (c *ProjectsLocationsStoragePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsStoragePoolsGetCall)Header¶
func (c *ProjectsLocationsStoragePoolsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsStoragePoolsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsStoragePoolsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsStoragePoolsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsStoragePoolsListCall¶
type ProjectsLocationsStoragePoolsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsStoragePoolsListCall)Context¶
func (c *ProjectsLocationsStoragePoolsListCall) Context(ctxcontext.Context) *ProjectsLocationsStoragePoolsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsListCall)Do¶
func (c *ProjectsLocationsStoragePoolsListCall) Do(opts ...googleapi.CallOption) (*ListStoragePoolsResponse,error)
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsListCall)Fields¶
func (c *ProjectsLocationsStoragePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsStoragePoolsListCall)Filter¶
func (c *ProjectsLocationsStoragePoolsListCall) Filter(filterstring) *ProjectsLocationsStoragePoolsListCall
Filter sets the optional parameter "filter": List filter.
func (*ProjectsLocationsStoragePoolsListCall)Header¶
func (c *ProjectsLocationsStoragePoolsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsStoragePoolsListCall)IfNoneMatch¶
func (c *ProjectsLocationsStoragePoolsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsStoragePoolsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsStoragePoolsListCall)OrderBy¶
func (c *ProjectsLocationsStoragePoolsListCall) OrderBy(orderBystring) *ProjectsLocationsStoragePoolsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supportedvalues are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsStoragePoolsListCall)PageSize¶
func (c *ProjectsLocationsStoragePoolsListCall) PageSize(pageSizeint64) *ProjectsLocationsStoragePoolsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsLocationsStoragePoolsListCall)PageToken¶
func (c *ProjectsLocationsStoragePoolsListCall) PageToken(pageTokenstring) *ProjectsLocationsStoragePoolsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valueto use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsStoragePoolsListCall)Pages¶
func (c *ProjectsLocationsStoragePoolsListCall) Pages(ctxcontext.Context, f func(*ListStoragePoolsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsStoragePoolsPatchCall¶
type ProjectsLocationsStoragePoolsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsStoragePoolsPatchCall)Context¶
func (c *ProjectsLocationsStoragePoolsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsStoragePoolsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsPatchCall)Do¶
func (c *ProjectsLocationsStoragePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsPatchCall)Fields¶
func (c *ProjectsLocationsStoragePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsStoragePoolsPatchCall)Header¶
func (c *ProjectsLocationsStoragePoolsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsStoragePoolsPatchCall)UpdateMask¶
func (c *ProjectsLocationsStoragePoolsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsStoragePoolsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the StoragePool resource bythe update. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsStoragePoolsService¶
type ProjectsLocationsStoragePoolsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsStoragePoolsService¶
func NewProjectsLocationsStoragePoolsService(s *Service) *ProjectsLocationsStoragePoolsService
func (*ProjectsLocationsStoragePoolsService)Create¶
func (r *ProjectsLocationsStoragePoolsService) Create(parentstring, storagepool *StoragePool) *ProjectsLocationsStoragePoolsCreateCall
Create: Creates a new storage pool.
- parent: Value for parent.
func (*ProjectsLocationsStoragePoolsService)Delete¶
func (r *ProjectsLocationsStoragePoolsService) Delete(namestring) *ProjectsLocationsStoragePoolsDeleteCall
Delete: Warning! This operation will permanently delete the storage pool.
- name: Name of the storage pool.
func (*ProjectsLocationsStoragePoolsService)Get¶
func (r *ProjectsLocationsStoragePoolsService) Get(namestring) *ProjectsLocationsStoragePoolsGetCall
Get: Returns the description of the specified storage pool by poolId.
- name: Name of the storage pool.
func (*ProjectsLocationsStoragePoolsService)List¶
func (r *ProjectsLocationsStoragePoolsService) List(parentstring) *ProjectsLocationsStoragePoolsListCall
List: Returns descriptions of all storage pools owned by the caller.
- parent: Parent value.
func (*ProjectsLocationsStoragePoolsService)Patch¶
func (r *ProjectsLocationsStoragePoolsService) Patch(namestring, storagepool *StoragePool) *ProjectsLocationsStoragePoolsPatchCall
Patch: Updates the storage pool properties with the full spec
- name: Identifier. Name of the storage pool.
func (*ProjectsLocationsStoragePoolsService)Switch¶
func (r *ProjectsLocationsStoragePoolsService) Switch(namestring, switchactivereplicazonerequest *SwitchActiveReplicaZoneRequest) *ProjectsLocationsStoragePoolsSwitchCall
Switch: This operation will switch the active/replica zone for a regionalstoragePool.
- name: Name of the storage pool.
func (*ProjectsLocationsStoragePoolsService)ValidateDirectoryService¶added inv0.211.0
func (r *ProjectsLocationsStoragePoolsService) ValidateDirectoryService(namestring, validatedirectoryservicerequest *ValidateDirectoryServiceRequest) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
ValidateDirectoryService: ValidateDirectoryService does a connectivity checkfor a directory service policy attached to the storage pool.
- name: Name of the storage pool.
typeProjectsLocationsStoragePoolsSwitchCall¶
type ProjectsLocationsStoragePoolsSwitchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsStoragePoolsSwitchCall)Context¶
func (c *ProjectsLocationsStoragePoolsSwitchCall) Context(ctxcontext.Context) *ProjectsLocationsStoragePoolsSwitchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsSwitchCall)Do¶
func (c *ProjectsLocationsStoragePoolsSwitchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsSwitchCall)Fields¶
func (c *ProjectsLocationsStoragePoolsSwitchCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsSwitchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsStoragePoolsSwitchCall)Header¶
func (c *ProjectsLocationsStoragePoolsSwitchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsStoragePoolsValidateDirectoryServiceCall¶added inv0.211.0
type ProjectsLocationsStoragePoolsValidateDirectoryServiceCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall)Context¶added inv0.211.0
func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Context(ctxcontext.Context) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall)Do¶added inv0.211.0
func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall)Fields¶added inv0.211.0
func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall)Header¶added inv0.211.0
func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesCreateCall¶
type ProjectsLocationsVolumesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesCreateCall)Context¶
func (c *ProjectsLocationsVolumesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesCreateCall)Do¶
func (c *ProjectsLocationsVolumesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesCreateCall)Fields¶
func (c *ProjectsLocationsVolumesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesCreateCall)Header¶
func (c *ProjectsLocationsVolumesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesCreateCall)VolumeId¶
func (c *ProjectsLocationsVolumesCreateCall) VolumeId(volumeIdstring) *ProjectsLocationsVolumesCreateCall
VolumeId sets the optional parameter "volumeId": Required. Id of therequesting volume. Must be unique within the parent resource. Must containonly letters, numbers and hyphen, with the first character a letter, thelast a letter or a number, and a 63 character maximum.
typeProjectsLocationsVolumesDeleteCall¶
type ProjectsLocationsVolumesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesDeleteCall)Context¶
func (c *ProjectsLocationsVolumesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesDeleteCall)Do¶
func (c *ProjectsLocationsVolumesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesDeleteCall)Fields¶
func (c *ProjectsLocationsVolumesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesDeleteCall)Force¶
func (c *ProjectsLocationsVolumesDeleteCall) Force(forcebool) *ProjectsLocationsVolumesDeleteCall
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 anysnapshots resource. (Otherwise, the request will only work if the volume hasno snapshots.)
func (*ProjectsLocationsVolumesDeleteCall)Header¶
func (c *ProjectsLocationsVolumesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesEstablishPeeringCall¶added inv0.249.0
type ProjectsLocationsVolumesEstablishPeeringCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesEstablishPeeringCall)Context¶added inv0.249.0
func (c *ProjectsLocationsVolumesEstablishPeeringCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesEstablishPeeringCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesEstablishPeeringCall)Do¶added inv0.249.0
func (c *ProjectsLocationsVolumesEstablishPeeringCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "netapp.projects.locations.volumes.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesEstablishPeeringCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsVolumesEstablishPeeringCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesEstablishPeeringCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesEstablishPeeringCall)Header¶added inv0.249.0
func (c *ProjectsLocationsVolumesEstablishPeeringCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesGetCall¶
type ProjectsLocationsVolumesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesGetCall)Context¶
func (c *ProjectsLocationsVolumesGetCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesGetCall)Do¶
func (c *ProjectsLocationsVolumesGetCall) Do(opts ...googleapi.CallOption) (*Volume,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesGetCall)Fields¶
func (c *ProjectsLocationsVolumesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesGetCall)Header¶
func (c *ProjectsLocationsVolumesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVolumesListCall¶
type ProjectsLocationsVolumesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesListCall)Context¶
func (c *ProjectsLocationsVolumesListCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesListCall)Do¶
func (c *ProjectsLocationsVolumesListCall) Do(opts ...googleapi.CallOption) (*ListVolumesResponse,error)
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 atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVolumesListCall)Fields¶
func (c *ProjectsLocationsVolumesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesListCall)Filter¶
func (c *ProjectsLocationsVolumesListCall) Filter(filterstring) *ProjectsLocationsVolumesListCall
Filter sets the optional parameter "filter": Filtering results
func (*ProjectsLocationsVolumesListCall)Header¶
func (c *ProjectsLocationsVolumesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesListCall)IfNoneMatch¶
func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVolumesListCall)OrderBy¶
func (c *ProjectsLocationsVolumesListCall) OrderBy(orderBystring) *ProjectsLocationsVolumesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults
func (*ProjectsLocationsVolumesListCall)PageSize¶
func (c *ProjectsLocationsVolumesListCall) PageSize(pageSizeint64) *ProjectsLocationsVolumesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, the server will pickan appropriate default.
func (*ProjectsLocationsVolumesListCall)PageToken¶
func (c *ProjectsLocationsVolumesListCall) PageToken(pageTokenstring) *ProjectsLocationsVolumesListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsVolumesListCall)Pages¶
func (c *ProjectsLocationsVolumesListCall) Pages(ctxcontext.Context, f func(*ListVolumesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsVolumesPatchCall¶
type ProjectsLocationsVolumesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesPatchCall)Context¶
func (c *ProjectsLocationsVolumesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesPatchCall)Do¶
func (c *ProjectsLocationsVolumesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesPatchCall)Fields¶
func (c *ProjectsLocationsVolumesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesPatchCall)Header¶
func (c *ProjectsLocationsVolumesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesPatchCall)UpdateMask¶
func (c *ProjectsLocationsVolumesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVolumesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the Volume resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsVolumesQuotaRulesCreateCall¶added inv0.207.0
type ProjectsLocationsVolumesQuotaRulesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesQuotaRulesCreateCall)Context¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesQuotaRulesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesQuotaRulesCreateCall)Do¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "netapp.projects.locations.volumes.quotaRules.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesQuotaRulesCreateCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesQuotaRulesCreateCall)Header¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesQuotaRulesCreateCall)QuotaRuleId¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) QuotaRuleId(quotaRuleIdstring) *ProjectsLocationsVolumesQuotaRulesCreateCall
QuotaRuleId sets the optional parameter "quotaRuleId": Required. ID of thequota rule to create. Must be unique within the parent resource. Mustcontain only letters, numbers, underscore and hyphen, with the firstcharacter a letter or underscore, the last a letter or underscore or anumber, and a 63 character maximum.
typeProjectsLocationsVolumesQuotaRulesDeleteCall¶added inv0.207.0
type ProjectsLocationsVolumesQuotaRulesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesQuotaRulesDeleteCall)Context¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesQuotaRulesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesQuotaRulesDeleteCall)Do¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "netapp.projects.locations.volumes.quotaRules.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesQuotaRulesDeleteCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesQuotaRulesDeleteCall)Header¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesQuotaRulesGetCall¶added inv0.207.0
type ProjectsLocationsVolumesQuotaRulesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesQuotaRulesGetCall)Context¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesQuotaRulesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesQuotaRulesGetCall)Do¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Do(opts ...googleapi.CallOption) (*QuotaRule,error)
Do executes the "netapp.projects.locations.volumes.quotaRules.get" call.Any non-2xx status code is an error. Response headers are in either*QuotaRule.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesQuotaRulesGetCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesQuotaRulesGetCall)Header¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesQuotaRulesGetCall)IfNoneMatch¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesQuotaRulesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVolumesQuotaRulesListCall¶added inv0.207.0
type ProjectsLocationsVolumesQuotaRulesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesQuotaRulesListCall)Context¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesQuotaRulesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesQuotaRulesListCall)Do¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) Do(opts ...googleapi.CallOption) (*ListQuotaRulesResponse,error)
Do executes the "netapp.projects.locations.volumes.quotaRules.list" call.Any non-2xx status code is an error. Response headers are in either*ListQuotaRulesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVolumesQuotaRulesListCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesQuotaRulesListCall)Filter¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) Filter(filterstring) *ProjectsLocationsVolumesQuotaRulesListCall
Filter sets the optional parameter "filter": Filtering results
func (*ProjectsLocationsVolumesQuotaRulesListCall)Header¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesQuotaRulesListCall)IfNoneMatch¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesQuotaRulesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVolumesQuotaRulesListCall)OrderBy¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) OrderBy(orderBystring) *ProjectsLocationsVolumesQuotaRulesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults
func (*ProjectsLocationsVolumesQuotaRulesListCall)PageSize¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageSize(pageSizeint64) *ProjectsLocationsVolumesQuotaRulesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, the server will pickan appropriate default.
func (*ProjectsLocationsVolumesQuotaRulesListCall)PageToken¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageToken(pageTokenstring) *ProjectsLocationsVolumesQuotaRulesListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsVolumesQuotaRulesListCall)Pages¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesListCall) Pages(ctxcontext.Context, f func(*ListQuotaRulesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsVolumesQuotaRulesPatchCall¶added inv0.207.0
type ProjectsLocationsVolumesQuotaRulesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesQuotaRulesPatchCall)Context¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesQuotaRulesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesQuotaRulesPatchCall)Do¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "netapp.projects.locations.volumes.quotaRules.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesQuotaRulesPatchCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesQuotaRulesPatchCall)Header¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesQuotaRulesPatchCall)UpdateMask¶added inv0.207.0
func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVolumesQuotaRulesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Quota Rule resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsVolumesQuotaRulesService¶added inv0.207.0
type ProjectsLocationsVolumesQuotaRulesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsVolumesQuotaRulesService¶added inv0.207.0
func NewProjectsLocationsVolumesQuotaRulesService(s *Service) *ProjectsLocationsVolumesQuotaRulesService
func (*ProjectsLocationsVolumesQuotaRulesService)Create¶added inv0.207.0
func (r *ProjectsLocationsVolumesQuotaRulesService) Create(parentstring, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesCreateCall
Create: Creates a new quota rule.
- parent: Parent value for CreateQuotaRuleRequest.
func (*ProjectsLocationsVolumesQuotaRulesService)Delete¶added inv0.207.0
func (r *ProjectsLocationsVolumesQuotaRulesService) Delete(namestring) *ProjectsLocationsVolumesQuotaRulesDeleteCall
Delete: Deletes a quota rule.
- name: Name of the quota rule.
func (*ProjectsLocationsVolumesQuotaRulesService)Get¶added inv0.207.0
func (r *ProjectsLocationsVolumesQuotaRulesService) Get(namestring) *ProjectsLocationsVolumesQuotaRulesGetCall
Get: Returns details of the specified quota rule.
- name: Name of the quota rule.
func (*ProjectsLocationsVolumesQuotaRulesService)List¶added inv0.207.0
func (r *ProjectsLocationsVolumesQuotaRulesService) List(parentstring) *ProjectsLocationsVolumesQuotaRulesListCall
List: Returns list of all quota rules in a location.
- parent: Parent value for ListQuotaRulesRequest.
func (*ProjectsLocationsVolumesQuotaRulesService)Patch¶added inv0.207.0
func (r *ProjectsLocationsVolumesQuotaRulesService) Patch(namestring, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesPatchCall
Patch: Updates a quota rule.
- name: Identifier. The resource name of the quota rule. Format:`projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}`.
typeProjectsLocationsVolumesReplicationsCreateCall¶
type ProjectsLocationsVolumesReplicationsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsCreateCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsCreateCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsCreateCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsCreateCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesReplicationsCreateCall)ReplicationId¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) ReplicationId(replicationIdstring) *ProjectsLocationsVolumesReplicationsCreateCall
ReplicationId sets the optional parameter "replicationId": Required. ID ofthe replication to create. Must be unique within the parent resource. Mustcontain only letters, numbers and hyphen, with the first character a letter,the last a letter or a number, and a 63 character maximum.
typeProjectsLocationsVolumesReplicationsDeleteCall¶
type ProjectsLocationsVolumesReplicationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsDeleteCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsDeleteCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsDeleteCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsDeleteCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesReplicationsEstablishPeeringCall¶added inv0.207.0
type ProjectsLocationsVolumesReplicationsEstablishPeeringCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall)Context¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall)Do¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall)Header¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesReplicationsGetCall¶
type ProjectsLocationsVolumesReplicationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsGetCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsGetCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) Do(opts ...googleapi.CallOption) (*Replication,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsGetCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsGetCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesReplicationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesReplicationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVolumesReplicationsListCall¶
type ProjectsLocationsVolumesReplicationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsListCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsListCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Do(opts ...googleapi.CallOption) (*ListReplicationsResponse,error)
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsListCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsListCall)Filter¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Filter(filterstring) *ProjectsLocationsVolumesReplicationsListCall
Filter sets the optional parameter "filter": List filter.
func (*ProjectsLocationsVolumesReplicationsListCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesReplicationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsVolumesReplicationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesReplicationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVolumesReplicationsListCall)OrderBy¶
func (c *ProjectsLocationsVolumesReplicationsListCall) OrderBy(orderBystring) *ProjectsLocationsVolumesReplicationsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supportedvalues are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsVolumesReplicationsListCall)PageSize¶
func (c *ProjectsLocationsVolumesReplicationsListCall) PageSize(pageSizeint64) *ProjectsLocationsVolumesReplicationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsLocationsVolumesReplicationsListCall)PageToken¶
func (c *ProjectsLocationsVolumesReplicationsListCall) PageToken(pageTokenstring) *ProjectsLocationsVolumesReplicationsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valueto use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsVolumesReplicationsListCall)Pages¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Pages(ctxcontext.Context, f func(*ListReplicationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsVolumesReplicationsPatchCall¶
type ProjectsLocationsVolumesReplicationsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsPatchCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsPatchCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsPatchCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsPatchCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesReplicationsPatchCall)UpdateMask¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVolumesReplicationsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Mask offields to update. At least one path must be supplied in this field.
typeProjectsLocationsVolumesReplicationsResumeCall¶
type ProjectsLocationsVolumesReplicationsResumeCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsResumeCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsResumeCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsResumeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsResumeCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsResumeCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsResumeCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsResumeCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsResumeCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsResumeCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsResumeCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesReplicationsReverseDirectionCall¶
type ProjectsLocationsVolumesReplicationsReverseDirectionCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsReverseDirectionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsReverseDirectionCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesReplicationsService¶
type ProjectsLocationsVolumesReplicationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsVolumesReplicationsService¶
func NewProjectsLocationsVolumesReplicationsService(s *Service) *ProjectsLocationsVolumesReplicationsService
func (*ProjectsLocationsVolumesReplicationsService)Create¶
func (r *ProjectsLocationsVolumesReplicationsService) Create(parentstring, replication *Replication) *ProjectsLocationsVolumesReplicationsCreateCall
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¶
func (r *ProjectsLocationsVolumesReplicationsService) Delete(namestring) *ProjectsLocationsVolumesReplicationsDeleteCall
Delete: Deletes a replication.
- name: The replication resource name, in the format`projects/*/locations/*/volumes/*/replications/{replication_id}`.
func (*ProjectsLocationsVolumesReplicationsService)EstablishPeering¶added inv0.207.0
func (r *ProjectsLocationsVolumesReplicationsService) EstablishPeering(namestring, establishpeeringrequest *EstablishPeeringRequest) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
EstablishPeering: Establish replication peering.
- name: The resource name of the replication, in the format ofprojects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService)Get¶
func (r *ProjectsLocationsVolumesReplicationsService) Get(namestring) *ProjectsLocationsVolumesReplicationsGetCall
Get: Describe a replication for a volume.
- name: The replication resource name, in the format`projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
func (*ProjectsLocationsVolumesReplicationsService)List¶
func (r *ProjectsLocationsVolumesReplicationsService) List(parentstring) *ProjectsLocationsVolumesReplicationsListCall
List: Returns descriptions of all replications for a volume.
- parent: The volume for which to retrieve replication information, in theformat `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
func (*ProjectsLocationsVolumesReplicationsService)Patch¶
func (r *ProjectsLocationsVolumesReplicationsService) Patch(namestring, replication *Replication) *ProjectsLocationsVolumesReplicationsPatchCall
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}/replications/{replication_id}`.
func (*ProjectsLocationsVolumesReplicationsService)Resume¶
func (r *ProjectsLocationsVolumesReplicationsService) Resume(namestring, resumereplicationrequest *ResumeReplicationRequest) *ProjectsLocationsVolumesReplicationsResumeCall
Resume: Resume Cross Region Replication.
- name: The resource name of the replication, in the format ofprojects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService)ReverseDirection¶
func (r *ProjectsLocationsVolumesReplicationsService) ReverseDirection(namestring, reversereplicationdirectionrequest *ReverseReplicationDirectionRequest) *ProjectsLocationsVolumesReplicationsReverseDirectionCall
ReverseDirection: Reverses direction of replication. Source becomesdestination and destination becomes source.
- name: The resource name of the replication, in the format ofprojects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService)Stop¶
func (r *ProjectsLocationsVolumesReplicationsService) Stop(namestring, stopreplicationrequest *StopReplicationRequest) *ProjectsLocationsVolumesReplicationsStopCall
Stop: Stop Cross Region Replication.
- name: The resource name of the replication, in the format ofprojects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService)Sync¶added inv0.207.0
func (r *ProjectsLocationsVolumesReplicationsService) Sync(namestring, syncreplicationrequest *SyncReplicationRequest) *ProjectsLocationsVolumesReplicationsSyncCall
Sync: Syncs the replication. This will invoke one time volume data transferfrom source to destination.
- name: The resource name of the replication, in the format ofprojects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
typeProjectsLocationsVolumesReplicationsStopCall¶
type ProjectsLocationsVolumesReplicationsStopCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsStopCall)Context¶
func (c *ProjectsLocationsVolumesReplicationsStopCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsStopCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsStopCall)Do¶
func (c *ProjectsLocationsVolumesReplicationsStopCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsStopCall)Fields¶
func (c *ProjectsLocationsVolumesReplicationsStopCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsStopCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsStopCall)Header¶
func (c *ProjectsLocationsVolumesReplicationsStopCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesReplicationsSyncCall¶added inv0.207.0
type ProjectsLocationsVolumesReplicationsSyncCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesReplicationsSyncCall)Context¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsSyncCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesReplicationsSyncCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsSyncCall)Do¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsSyncCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsSyncCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsSyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsSyncCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesReplicationsSyncCall)Header¶added inv0.207.0
func (c *ProjectsLocationsVolumesReplicationsSyncCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesRestoreCall¶added inv0.242.0
type ProjectsLocationsVolumesRestoreCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesRestoreCall)Context¶added inv0.242.0
func (c *ProjectsLocationsVolumesRestoreCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesRestoreCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesRestoreCall)Do¶added inv0.242.0
func (c *ProjectsLocationsVolumesRestoreCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "netapp.projects.locations.volumes.restore" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesRestoreCall)Fields¶added inv0.242.0
func (c *ProjectsLocationsVolumesRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesRestoreCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesRestoreCall)Header¶added inv0.242.0
func (c *ProjectsLocationsVolumesRestoreCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesRevertCall¶
type ProjectsLocationsVolumesRevertCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesRevertCall)Context¶
func (c *ProjectsLocationsVolumesRevertCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesRevertCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesRevertCall)Do¶
func (c *ProjectsLocationsVolumesRevertCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesRevertCall)Fields¶
func (c *ProjectsLocationsVolumesRevertCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesRevertCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesRevertCall)Header¶
func (c *ProjectsLocationsVolumesRevertCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesService¶
type ProjectsLocationsVolumesService struct {QuotaRules *ProjectsLocationsVolumesQuotaRulesServiceReplications *ProjectsLocationsVolumesReplicationsServiceSnapshots *ProjectsLocationsVolumesSnapshotsService// contains filtered or unexported fields}funcNewProjectsLocationsVolumesService¶
func NewProjectsLocationsVolumesService(s *Service) *ProjectsLocationsVolumesService
func (*ProjectsLocationsVolumesService)Create¶
func (r *ProjectsLocationsVolumesService) Create(parentstring, volume *Volume) *ProjectsLocationsVolumesCreateCall
Create: Creates a new Volume in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsVolumesService)Delete¶
func (r *ProjectsLocationsVolumesService) Delete(namestring) *ProjectsLocationsVolumesDeleteCall
Delete: Deletes a single Volume.
- name: Name of the volume.
func (*ProjectsLocationsVolumesService)EstablishPeering¶added inv0.249.0
func (r *ProjectsLocationsVolumesService) EstablishPeering(namestring, establishvolumepeeringrequest *EstablishVolumePeeringRequest) *ProjectsLocationsVolumesEstablishPeeringCall
EstablishPeering: Establish volume peering. This is used to establishcluster and svm peerings between the GCNV and OnPrem clusters.
- name: The volume resource name, in the format`projects/{project_id}/locations/{location}/volumes/{volume_id}`.
func (*ProjectsLocationsVolumesService)Get¶
func (r *ProjectsLocationsVolumesService) Get(namestring) *ProjectsLocationsVolumesGetCall
Get: Gets details of a single Volume.
- name: Name of the volume.
func (*ProjectsLocationsVolumesService)List¶
func (r *ProjectsLocationsVolumesService) List(parentstring) *ProjectsLocationsVolumesListCall
List: Lists Volumes in a given project.
- parent: Parent value for ListVolumesRequest.
func (*ProjectsLocationsVolumesService)Patch¶
func (r *ProjectsLocationsVolumesService) Patch(namestring, volume *Volume) *ProjectsLocationsVolumesPatchCall
Patch: Updates the parameters of a single Volume.
- name: Identifier. Name of the volume.
func (*ProjectsLocationsVolumesService)Restore¶added inv0.242.0
func (r *ProjectsLocationsVolumesService) Restore(namestring, restorebackupfilesrequest *RestoreBackupFilesRequest) *ProjectsLocationsVolumesRestoreCall
Restore: Restore files from a backup to a volume.
- name: The volume resource name, in the format`projects/{project_id}/locations/{location}/volumes/{volume_id}`.
func (*ProjectsLocationsVolumesService)Revert¶
func (r *ProjectsLocationsVolumesService) Revert(namestring, revertvolumerequest *RevertVolumeRequest) *ProjectsLocationsVolumesRevertCall
Revert: Revert an existing volume to a specified snapshot. Warning! Thisoperation will permanently revert all changes made after the snapshot wascreated.
- name: The resource name of the volume, in the format ofprojects/{project_id}/locations/{location}/volumes/{volume_id}.
typeProjectsLocationsVolumesSnapshotsCreateCall¶
type ProjectsLocationsVolumesSnapshotsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesSnapshotsCreateCall)Context¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesSnapshotsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesSnapshotsCreateCall)Do¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesSnapshotsCreateCall)Fields¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesSnapshotsCreateCall)Header¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesSnapshotsCreateCall)SnapshotId¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) SnapshotId(snapshotIdstring) *ProjectsLocationsVolumesSnapshotsCreateCall
SnapshotId sets the optional parameter "snapshotId": Required. ID of thesnapshot to create. Must be unique within the parent resource. Must containonly letters, numbers and hyphen, with the first character a letter, thelast a letter or a number, and a 63 character maximum.
typeProjectsLocationsVolumesSnapshotsDeleteCall¶
type ProjectsLocationsVolumesSnapshotsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesSnapshotsDeleteCall)Context¶
func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesSnapshotsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesSnapshotsDeleteCall)Do¶
func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesSnapshotsDeleteCall)Fields¶
func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesSnapshotsDeleteCall)Header¶
func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVolumesSnapshotsGetCall¶
type ProjectsLocationsVolumesSnapshotsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesSnapshotsGetCall)Context¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesSnapshotsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesSnapshotsGetCall)Do¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesSnapshotsGetCall)Fields¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesSnapshotsGetCall)Header¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesSnapshotsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesSnapshotsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVolumesSnapshotsListCall¶
type ProjectsLocationsVolumesSnapshotsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesSnapshotsListCall)Context¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesSnapshotsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesSnapshotsListCall)Do¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse,error)
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 returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVolumesSnapshotsListCall)Fields¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesSnapshotsListCall)Filter¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Filter(filterstring) *ProjectsLocationsVolumesSnapshotsListCall
Filter sets the optional parameter "filter": List filter.
func (*ProjectsLocationsVolumesSnapshotsListCall)Header¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesSnapshotsListCall)IfNoneMatch¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVolumesSnapshotsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVolumesSnapshotsListCall)OrderBy¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) OrderBy(orderBystring) *ProjectsLocationsVolumesSnapshotsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supportedvalues are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsVolumesSnapshotsListCall)PageSize¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) PageSize(pageSizeint64) *ProjectsLocationsVolumesSnapshotsListCall
PageSize sets the optional parameter "pageSize": The maximum number of itemsto return.
func (*ProjectsLocationsVolumesSnapshotsListCall)PageToken¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) PageToken(pageTokenstring) *ProjectsLocationsVolumesSnapshotsListCall
PageToken sets the optional parameter "pageToken": The next_page_token valueto use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsVolumesSnapshotsListCall)Pages¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Pages(ctxcontext.Context, f func(*ListSnapshotsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsVolumesSnapshotsPatchCall¶
type ProjectsLocationsVolumesSnapshotsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVolumesSnapshotsPatchCall)Context¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVolumesSnapshotsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesSnapshotsPatchCall)Do¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesSnapshotsPatchCall)Fields¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVolumesSnapshotsPatchCall)Header¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVolumesSnapshotsPatchCall)UpdateMask¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVolumesSnapshotsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Mask offields to update. At least one path must be supplied in this field.
typeProjectsLocationsVolumesSnapshotsService¶
type ProjectsLocationsVolumesSnapshotsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsVolumesSnapshotsService¶
func NewProjectsLocationsVolumesSnapshotsService(s *Service) *ProjectsLocationsVolumesSnapshotsService
func (*ProjectsLocationsVolumesSnapshotsService)Create¶
func (r *ProjectsLocationsVolumesSnapshotsService) Create(parentstring, snapshot *Snapshot) *ProjectsLocationsVolumesSnapshotsCreateCall
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¶
func (r *ProjectsLocationsVolumesSnapshotsService) Delete(namestring) *ProjectsLocationsVolumesSnapshotsDeleteCall
Delete: Deletes a snapshot.
- name: The snapshot resource name, in the format`projects/*/locations/*/volumes/*/snapshots/{snapshot_id}`.
func (*ProjectsLocationsVolumesSnapshotsService)Get¶
func (r *ProjectsLocationsVolumesSnapshotsService) Get(namestring) *ProjectsLocationsVolumesSnapshotsGetCall
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¶
func (r *ProjectsLocationsVolumesSnapshotsService) List(parentstring) *ProjectsLocationsVolumesSnapshotsListCall
List: Returns descriptions of all snapshots for a volume.
- parent: The volume for which to retrieve snapshot information, in theformat `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
func (*ProjectsLocationsVolumesSnapshotsService)Patch¶
func (r *ProjectsLocationsVolumesSnapshotsService) Patch(namestring, snapshot *Snapshot) *ProjectsLocationsVolumesSnapshotsPatchCall
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}`.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeQuotaRule¶added inv0.207.0
type QuotaRule struct {// CreateTime: Output only. Create time of the quota ruleCreateTimestring `json:"createTime,omitempty"`// Description: Optional. Description of the quota ruleDescriptionstring `json:"description,omitempty"`// DiskLimitMib: Required. The maximum allowed disk space in MiB.DiskLimitMibint64 `json:"diskLimitMib,omitempty"`// Labels: Optional. Labels of the quota ruleLabels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name of the quota rule. Format:// `projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id// }/quotaRules/{quota_rule_id}`.Namestring `json:"name,omitempty"`// State: Output only. State of the quota rule//// Possible values:// "STATE_UNSPECIFIED" - Unspecified state for quota rule// "CREATING" - Quota rule is creating// "UPDATING" - Quota rule is updating// "DELETING" - Quota rule is deleting// "READY" - Quota rule is ready// "ERROR" - Quota rule is in error state.Statestring `json:"state,omitempty"`// StateDetails: Output only. State details of the quota ruleStateDetailsstring `json:"stateDetails,omitempty"`// Target: Optional. The quota rule applies to the specified user or group,// identified by a Unix UID/GID, Windows SID, or null for default.Targetstring `json:"target,omitempty"`// Type: Required. The type of quota rule.//// Possible values:// "TYPE_UNSPECIFIED" - Unspecified type for quota rule// "INDIVIDUAL_USER_QUOTA" - Individual user quota rule// "INDIVIDUAL_GROUP_QUOTA" - Individual group quota rule// "DEFAULT_USER_QUOTA" - Default user quota rule// "DEFAULT_GROUP_QUOTA" - Default group quota ruleTypestring `json:"type,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:"-"`}QuotaRule: QuotaRule specifies the maximum disk space a user or group canuse within a volume. They can be used for creating default and individualquota rules.
func (QuotaRule)MarshalJSON¶added inv0.207.0
typeReplication¶
type Replication struct {// ClusterLocation: Optional. Location of the user cluster.ClusterLocationstring `json:"clusterLocation,omitempty"`// CreateTime: Output only. Replication create time.CreateTimestring `json:"createTime,omitempty"`// Description: A description about this replication relationship.Descriptionstring `json:"description,omitempty"`// DestinationVolume: Output only. Full name of destination volume resource.// Example : "projects/{project}/locations/{location}/volumes/{volume_id}"DestinationVolumestring `json:"destinationVolume,omitempty"`// DestinationVolumeParameters: Required. Input only. Destination volume// parametersDestinationVolumeParameters *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.Healthybool `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.// "ONPREM_REPLICATION" - New field for reversible OnPrem replication, to be// used for data protection.// "REVERSE_ONPREM_REPLICATION" - Hybrid replication type for incremental// Transfer in the reverse direction (GCNV is source and Onprem is destination)HybridReplicationTypestring `json:"hybridReplicationType,omitempty"`// HybridReplicationUserCommands: Output only. Copy pastable snapmirror// commands to be executed on onprem cluster by the customer.HybridReplicationUserCommands *UserCommands `json:"hybridReplicationUserCommands,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.// "EXTERNALLY_MANAGED" - Replication is being managed from Onprem ONTAP.// "PENDING_PEERING" - Peering is yet to be established.MirrorStatestring `json:"mirrorState,omitempty"`// Name: Identifier. The resource name of the Replication. Format:// `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/// {replication_id}`.Namestring `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.ReplicationSchedulestring `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.Rolestring `json:"role,omitempty"`// SourceVolume: Output only. Full name of source volume resource. Example :// "projects/{project}/locations/{location}/volumes/{volume_id}"SourceVolumestring `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.// "PENDING_REMOTE_RESYNC" - Replication is waiting for Commands to be// executed on Onprem ONTAP.// "EXTERNALLY_MANAGED_REPLICATION" - Onprem ONTAP is destination and// Replication can only be managed from Onprem.Statestring `json:"state,omitempty"`// StateDetails: Output only. State details of the replication.StateDetailsstring `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 across-region replication relationship between 2 volumes in differentregions.
func (Replication)MarshalJSON¶
func (sReplication) MarshalJSON() ([]byte,error)
typeRestoreBackupFilesRequest¶added inv0.242.0
type RestoreBackupFilesRequest struct {// Backup: Required. The backup resource name, in the format// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/ba// ckups/{backup_id}`Backupstring `json:"backup,omitempty"`// FileList: Required. List of files to be restored in the form of their// absolute path as in source volume.FileList []string `json:"fileList,omitempty"`// RestoreDestinationPath: Optional. Absolute directory path in the destination// volume.RestoreDestinationPathstring `json:"restoreDestinationPath,omitempty"`// ForceSendFields is a list of field names (e.g. "Backup") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Backup") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}RestoreBackupFilesRequest: RestoreBackupFilesRequest restores files from abackup to a volume.
func (RestoreBackupFilesRequest)MarshalJSON¶added inv0.242.0
func (sRestoreBackupFilesRequest) MarshalJSON() ([]byte,error)
typeRestoreParameters¶
type RestoreParameters struct {// SourceBackup: Full name of the backup resource. Format:// projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backup// s/{backup_id}SourceBackupstring `json:"sourceBackup,omitempty"`// SourceSnapshot: Full name of the snapshot resource. Format:// projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}SourceSnapshotstring `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 asnapshot or backup.
func (RestoreParameters)MarshalJSON¶
func (sRestoreParameters) MarshalJSON() ([]byte,error)
typeResumeReplicationRequest¶
type ResumeReplicationRequest struct {}ResumeReplicationRequest: ResumeReplicationRequest resumes a stoppedreplication.
typeReverseReplicationDirectionRequest¶
type ReverseReplicationDirectionRequest struct {}ReverseReplicationDirectionRequest: ReverseReplicationDirectionRequestreverses direction of replication. Source becomes destination anddestination becomes source.
typeRevertVolumeRequest¶
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}SnapshotIdstring `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 thespecified snapshot.
func (RevertVolumeRequest)MarshalJSON¶
func (sRevertVolumeRequest) MarshalJSON() ([]byte,error)
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeSimpleExportPolicyRule¶
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" - NoneAccessTypestring `json:"accessType,omitempty"`// AllowedClients: Comma separated list of allowed clients IP addressesAllowedClientsstring `json:"allowedClients,omitempty"`// AnonUid: Optional. An integer representing the anonymous user ID. Range is 0// to 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH.AnonUidint64 `json:"anonUid,omitempty,string"`// HasRootAccess: Whether Unix root access will be granted.HasRootAccessstring `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.Kerberos5ReadOnlybool `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.Kerberos5ReadWritebool `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.Kerberos5iReadOnlybool `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.Kerberos5iReadWritebool `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.Kerberos5pReadOnlybool `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.Kerberos5pReadWritebool `json:"kerberos5pReadWrite,omitempty"`// Nfsv3: NFS V3 protocol.Nfsv3bool `json:"nfsv3,omitempty"`// Nfsv4: NFS V4 protocol.Nfsv4bool `json:"nfsv4,omitempty"`// SquashMode: Optional. Defines how user identity squashing is applied for// this export rule. This field is the preferred way to configure squashing// behavior and takes precedence over `has_root_access` if both are provided.//// Possible values:// "SQUASH_MODE_UNSPECIFIED" - Defaults to NO_ROOT_SQUASH.// "NO_ROOT_SQUASH" - The root user (UID 0) retains full access. Other users// are unaffected.// "ROOT_SQUASH" - The root user (UID 0) is squashed to anonymous user ID.// Other users are unaffected.// "ALL_SQUASH" - All users are squashed to anonymous user ID.SquashModestring `json:"squashMode,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 exportoptions.
func (SimpleExportPolicyRule)MarshalJSON¶
func (sSimpleExportPolicyRule) MarshalJSON() ([]byte,error)
typeSnapshot¶
type Snapshot struct {// CreateTime: Output only. The time when the snapshot was created.CreateTimestring `json:"createTime,omitempty"`// Description: A description of the snapshot with 2048 characters or less.// Requests with longer descriptions will be rejected.Descriptionstring `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}`.Namestring `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 ErrorStatestring `json:"state,omitempty"`// StateDetails: Output only. State details of the storage poolStateDetailsstring `json:"stateDetails,omitempty"`// UsedBytes: Output only. Current storage usage for the snapshot in bytes.UsedBytesfloat64 `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 (*Snapshot)UnmarshalJSON¶
typeSnapshotPolicy¶
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.Enabledbool `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 (sSnapshotPolicy) MarshalJSON() ([]byte,error)
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeStopReplicationRequest¶
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.Forcebool `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 untilresumed.
func (StopReplicationRequest)MarshalJSON¶
func (sStopReplicationRequest) MarshalJSON() ([]byte,error)
typeStoragePool¶
type StoragePool struct {// ActiveDirectory: Optional. Specifies the Active Directory to be used for// creating a SMB volume.ActiveDirectorystring `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.AllowAutoTieringbool `json:"allowAutoTiering,omitempty"`// AvailableThroughputMibps: Output only. Available throughput of the storage// pool (in MiB/s).AvailableThroughputMibpsfloat64 `json:"availableThroughputMibps,omitempty"`// CapacityGib: Required. Capacity in GIB of the poolCapacityGibint64 `json:"capacityGib,omitempty,string"`// ColdTierSizeUsedGib: Output only. Total cold tier data rounded down to the// nearest GiB used by the storage pool.ColdTierSizeUsedGibint64 `json:"coldTierSizeUsedGib,omitempty,string"`// CreateTime: Output only. Create time of the storage poolCreateTimestring `json:"createTime,omitempty"`// CustomPerformanceEnabled: Optional. True if using Independent Scaling of// capacity and performance (Hyperdisk) By default set to falseCustomPerformanceEnabledbool `json:"customPerformanceEnabled,omitempty"`// Description: Optional. Description of the storage poolDescriptionstring `json:"description,omitempty"`// EnableHotTierAutoResize: Optional. Flag indicating that the hot-tier// threshold will be auto-increased by 10% of the hot-tier when it hits 100%.// Default is true. The increment will kick in only if the new size after// increment is still less than or equal to storage pool size.EnableHotTierAutoResizebool `json:"enableHotTierAutoResize,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.EncryptionTypestring `json:"encryptionType,omitempty"`// GlobalAccessAllowed: Deprecated. Used to allow SO pool to access AD or DNS// server from other regions.GlobalAccessAllowedbool `json:"globalAccessAllowed,omitempty"`// HotTierSizeGib: Optional. Total hot tier capacity for the Storage Pool. It// is applicable only to Flex service level. It should be less than the minimum// storage pool size and cannot be more than the current storage pool size. It// cannot be decreased once set.HotTierSizeGibint64 `json:"hotTierSizeGib,omitempty,string"`// HotTierSizeUsedGib: Output only. Total hot tier data rounded down to the// nearest GiB used by the storage pool.HotTierSizeUsedGibint64 `json:"hotTierSizeUsedGib,omitempty,string"`// KmsConfig: Optional. Specifies the KMS config to be used for volume// encryption.KmsConfigstring `json:"kmsConfig,omitempty"`// Labels: Optional. Labels as key value pairsLabels map[string]string `json:"labels,omitempty"`// LdapEnabled: Optional. Flag indicating if the pool is NFS LDAP enabled or// not.LdapEnabledbool `json:"ldapEnabled,omitempty"`// Name: Identifier. Name of the storage poolNamestring `json:"name,omitempty"`// Network: Required. VPC Network name. Format:// projects/{project}/global/networks/{network}Networkstring `json:"network,omitempty"`// PsaRange: Optional. This field is not implemented. The values provided in// this field are ignored.PsaRangestring `json:"psaRange,omitempty"`// QosType: Optional. QoS (Quality of Service) Type of the storage pool//// Possible values:// "QOS_TYPE_UNSPECIFIED" - Unspecified QoS Type// "AUTO" - QoS Type is Auto// "MANUAL" - QoS Type is ManualQosTypestring `json:"qosType,omitempty"`// ReplicaZone: Optional. Specifies the replica zone for regional storagePool.ReplicaZonestring `json:"replicaZone,omitempty"`// SatisfiesPzi: Output only. Reserved for future useSatisfiesPzibool `json:"satisfiesPzi,omitempty"`// SatisfiesPzs: Output only. Reserved for future useSatisfiesPzsbool `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.ServiceLevelstring `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 ErrorStatestring `json:"state,omitempty"`// StateDetails: Output only. State details of the storage poolStateDetailsstring `json:"stateDetails,omitempty"`// TotalIops: Optional. Custom Performance Total IOPS of the pool if not// provided, it will be calculated based on the total_throughput_mibpsTotalIopsint64 `json:"totalIops,omitempty,string"`// TotalThroughputMibps: Optional. Custom Performance Total Throughput of the// pool (in MiBps)TotalThroughputMibpsint64 `json:"totalThroughputMibps,omitempty,string"`// VolumeCapacityGib: Output only. Allocated size of all volumes in GIB in the// storage poolVolumeCapacityGibint64 `json:"volumeCapacityGib,omitempty,string"`// VolumeCount: Output only. Volume count of the storage poolVolumeCountint64 `json:"volumeCount,omitempty"`// Zone: Optional. Specifies the active zone for regional storagePool.Zonestring `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 andcapacity. Volumes can be created in a pool of sufficient available capacity.StoragePool capacity is what you are billed for.
func (StoragePool)MarshalJSON¶
func (sStoragePool) MarshalJSON() ([]byte,error)
func (*StoragePool)UnmarshalJSON¶added inv0.248.0
func (s *StoragePool) UnmarshalJSON(data []byte)error
typeSwitchActiveReplicaZoneRequest¶
type SwitchActiveReplicaZoneRequest struct {}SwitchActiveReplicaZoneRequest: SwitchActiveReplicaZoneRequest switch theactive/replica zone for a regional storagePool.
typeSyncReplicationRequest¶added inv0.207.0
type SyncReplicationRequest struct {}SyncReplicationRequest: SyncReplicationRequest syncs the replication fromsource to destination.
typeTieringPolicy¶
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 2-183. Default// is 31.CoolingThresholdDaysint64 `json:"coolingThresholdDays,omitempty"`// HotTierBypassModeEnabled: Optional. Flag indicating that the hot tier bypass// mode is enabled. Default is false. This is only applicable to Flex service// level.HotTierBypassModeEnabledbool `json:"hotTierBypassModeEnabled,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.TierActionstring `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 (sTieringPolicy) MarshalJSON() ([]byte,error)
typeTransferStats¶
type TransferStats struct {// LagDuration: Lag duration indicates the duration by which Destination region// volume content lags behind the primary region volume content.LagDurationstring `json:"lagDuration,omitempty"`// LastTransferBytes: Last transfer size in bytes.LastTransferBytesint64 `json:"lastTransferBytes,omitempty,string"`// LastTransferDuration: Time taken during last transfer.LastTransferDurationstring `json:"lastTransferDuration,omitempty"`// LastTransferEndTime: Time when last transfer completed.LastTransferEndTimestring `json:"lastTransferEndTime,omitempty"`// LastTransferError: A message describing the cause of the last transfer// failure.LastTransferErrorstring `json:"lastTransferError,omitempty"`// TotalTransferDuration: Cumulative time taken across all transfers for the// replication relationship.TotalTransferDurationstring `json:"totalTransferDuration,omitempty"`// TransferBytes: Cumulative bytes transferred so far for the replication// relationship.TransferBytesint64 `json:"transferBytes,omitempty,string"`// UpdateTime: Time when progress was updated last.UpdateTimestring `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 replicationtransfer.
func (TransferStats)MarshalJSON¶
func (sTransferStats) MarshalJSON() ([]byte,error)
typeUserCommands¶added inv0.235.0
type UserCommands struct {// Commands: Output only. List of commands to be executed by the customer.Commands []string `json:"commands,omitempty"`// ForceSendFields is a list of field names (e.g. "Commands") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Commands") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}UserCommands: UserCommands contains the commands to be executed by thecustomer.
func (UserCommands)MarshalJSON¶added inv0.235.0
func (sUserCommands) MarshalJSON() ([]byte,error)
typeValidateDirectoryServiceRequest¶added inv0.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.DirectoryServiceTypestring `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 validatesthe directory service policy attached to the storage pool.
func (ValidateDirectoryServiceRequest)MarshalJSON¶added inv0.211.0
func (sValidateDirectoryServiceRequest) MarshalJSON() ([]byte,error)
typeVerifyKmsConfigRequest¶
type VerifyKmsConfigRequest struct {}VerifyKmsConfigRequest: VerifyKmsConfigRequest specifies the KMS config tobe validated.
typeVerifyKmsConfigResponse¶
type VerifyKmsConfigResponse struct {// HealthError: Output only. Error message if config is not healthy.HealthErrorstring `json:"healthError,omitempty"`// Healthy: Output only. If the customer key configured correctly to the// encrypt volume.Healthybool `json:"healthy,omitempty"`// Instructions: Output only. Instructions for the customers to provide the// access to the encryption key.Instructionsstring `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 ifthe config is correctly and error message.
func (VerifyKmsConfigResponse)MarshalJSON¶
func (sVerifyKmsConfigResponse) MarshalJSON() ([]byte,error)
typeVolume¶
type Volume struct {// ActiveDirectory: Output only. Specifies the ActiveDirectory name of a SMB// volume.ActiveDirectorystring `json:"activeDirectory,omitempty"`// BackupConfig: BackupConfig of the volume.BackupConfig *BackupConfig `json:"backupConfig,omitempty"`// CacheParameters: Optional. Cache parameters for the volume.CacheParameters *CacheParameters `json:"cacheParameters,omitempty"`// CapacityGib: Required. Capacity in GIB of the volumeCapacityGibint64 `json:"capacityGib,omitempty,string"`// ColdTierSizeGib: Output only. Size of the volume cold tier data rounded down// to the nearest GiB.ColdTierSizeGibint64 `json:"coldTierSizeGib,omitempty,string"`// CreateTime: Output only. Create time of the volumeCreateTimestring `json:"createTime,omitempty"`// Description: Optional. Description of the volumeDescriptionstring `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.EncryptionTypestring `json:"encryptionType,omitempty"`// ExportPolicy: Optional. Export policy of the volumeExportPolicy *ExportPolicy `json:"exportPolicy,omitempty"`// HasReplication: Output only. Indicates whether the volume is part of a// replication relationship.HasReplicationbool `json:"hasReplication,omitempty"`// HotTierSizeUsedGib: Output only. Total hot tier data rounded down to the// nearest GiB used by the Volume. This field is only used for flex Service// LevelHotTierSizeUsedGibint64 `json:"hotTierSizeUsedGib,omitempty,string"`// 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).KerberosEnabledbool `json:"kerberosEnabled,omitempty"`// KmsConfig: Output only. Specifies the KMS config to be used for volume// encryption.KmsConfigstring `json:"kmsConfig,omitempty"`// Labels: Optional. Labels as key value pairsLabels map[string]string `json:"labels,omitempty"`// LargeCapacity: Optional. Flag indicating if the volume will be a large// capacity volume or a regular volume.LargeCapacitybool `json:"largeCapacity,omitempty"`// LdapEnabled: Output only. Flag indicating if the volume is NFS LDAP enabled// or not.LdapEnabledbool `json:"ldapEnabled,omitempty"`// MountOptions: Output only. Mount options of this volumeMountOptions []*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.MultipleEndpointsbool `json:"multipleEndpoints,omitempty"`// Name: Identifier. Name of the volumeNamestring `json:"name,omitempty"`// Network: Output only. VPC Network name. Format:// projects/{project}/global/networks/{network}Networkstring `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 protocolProtocols []string `json:"protocols,omitempty"`// PsaRange: Output only. This field is not implemented. The values provided in// this field are ignored.PsaRangestring `json:"psaRange,omitempty"`// ReplicaZone: Output only. Specifies the replica zone for regional volume.ReplicaZonestring `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 UNIXSecurityStylestring `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.ServiceLevelstring `json:"serviceLevel,omitempty"`// ShareName: Required. Share name of the volumeShareNamestring `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 enumerationSmbSettings []string `json:"smbSettings,omitempty"`// SnapReserve: Optional. Snap_reserve specifies percentage of volume storage// reserved for snapshot storage. Default is 0 percent.SnapReservefloat64 `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.SnapshotDirectorybool `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 OnlyStatestring `json:"state,omitempty"`// StateDetails: Output only. State details of the volumeStateDetailsstring `json:"stateDetails,omitempty"`// StoragePool: Required. StoragePool name of the volumeStoragePoolstring `json:"storagePool,omitempty"`// ThroughputMibps: Optional. Throughput of the volume (in MiB/s)ThroughputMibpsfloat64 `json:"throughputMibps,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.UnixPermissionsstring `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.UsedGibint64 `json:"usedGib,omitempty,string"`// Zone: Output only. Specifies the active zone for regional volume.Zonestring `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 (*Volume)UnmarshalJSON¶
typeWeeklySchedule¶
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'.Daystring `json:"day,omitempty"`// Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0).Hourfloat64 `json:"hour,omitempty"`// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to// the top of the hour (0).Minutefloat64 `json:"minute,omitempty"`// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly// scheduleSnapshotsToKeepfloat64 `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, Wednesday05:20, Sunday 23:50
func (WeeklySchedule)MarshalJSON¶
func (sWeeklySchedule) MarshalJSON() ([]byte,error)
func (*WeeklySchedule)UnmarshalJSON¶
func (s *WeeklySchedule) UnmarshalJSON(data []byte)error