Documentation ¶
Overview ¶
Package netapp provides access to the NetApp API.
For product documentation, see: https://cloud.google.com/netapp/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/netapp/v1beta1" ... ctx := context.Background() netappService, err := netapp.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
netappService, err := netapp.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) netappService, err := netapp.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type ActiveDirectory
- type Backup
- type BackupConfig
- type BackupPolicy
- type BackupVault
- type CancelOperationRequest
- type DailySchedule
- type DestinationVolumeParameters
- type EncryptVolumesRequest
- type EstablishPeeringRequest
- 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 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) 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
- 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 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 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 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) Get(name string) *ProjectsLocationsVolumesGetCall
- func (r *ProjectsLocationsVolumesService) List(parent string) *ProjectsLocationsVolumesListCall
- func (r *ProjectsLocationsVolumesService) Patch(name string, volume *Volume) *ProjectsLocationsVolumesPatchCall
- 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 Replication
- 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 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 ¶
type ActiveDirectory ¶
type ActiveDirectory struct { // Administrators: Optional. Users to be added to the Built-in Admininstrators // group. Administrators []string `json:"administrators,omitempty"` // AesEncryption: If enabled, AES encryption will be enabled for SMB // communication. AesEncryption bool `json:"aesEncryption,omitempty"` // BackupOperators: Optional. Users to be added to the Built-in Backup Operator // active directory group. BackupOperators []string `json:"backupOperators,omitempty"` // CreateTime: Output only. Create time of the active directory. CreateTime string `json:"createTime,omitempty"` // Description: Description of the active directory. Description string `json:"description,omitempty"` // Dns: Required. Comma separated list of DNS server IP addresses for the // Active Directory domain. Dns string `json:"dns,omitempty"` // Domain: Required. Name of the Active Directory domain Domain string `json:"domain,omitempty"` // EncryptDcConnections: If enabled, traffic between the SMB server to Domain // Controller (DC) will be encrypted. EncryptDcConnections bool `json:"encryptDcConnections,omitempty"` // KdcHostname: Name of the active directory machine. This optional parameter // is used only while creating kerberos volume KdcHostname string `json:"kdcHostname,omitempty"` // KdcIp: KDC server IP address for the active directory machine. KdcIp string `json:"kdcIp,omitempty"` // Labels: Labels for the active directory. Labels map[string]string `json:"labels,omitempty"` // LdapSigning: Specifies whether or not the LDAP traffic needs to be signed. LdapSigning bool `json:"ldapSigning,omitempty"` // Name: Identifier. The resource name of the active directory. Format: // `projects/{project_number}/locations/{location_id}/activeDirectories/{active_ // directory_id}`. Name string `json:"name,omitempty"` // NetBiosPrefix: Required. NetBIOSPrefix is used as a prefix for SMB server // name. NetBiosPrefix string `json:"netBiosPrefix,omitempty"` // NfsUsersWithLdap: If enabled, will allow access to local users and LDAP // users. If access is needed for only LDAP users, it has to be disabled. NfsUsersWithLdap bool `json:"nfsUsersWithLdap,omitempty"` // OrganizationalUnit: The Organizational Unit (OU) within the Windows Active // Directory the user belongs to. OrganizationalUnit string `json:"organizationalUnit,omitempty"` // Password: Required. Password of the Active Directory domain administrator. Password string `json:"password,omitempty"` // SecurityOperators: Optional. Domain users to be given the // SeSecurityPrivilege. SecurityOperators []string `json:"securityOperators,omitempty"` // Site: The Active Directory site the service will limit Domain Controller // discovery too. Site string `json:"site,omitempty"` // State: Output only. The state of the AD. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified Active Directory State // "CREATING" - Active Directory State is Creating // "READY" - Active Directory State is Ready // "UPDATING" - Active Directory State is Updating // "IN_USE" - Active Directory State is In use // "DELETING" - Active Directory State is Deleting // "ERROR" - Active Directory State is Error // "DIAGNOSING" - Active Directory State is Diagnosing. State string `json:"state,omitempty"` // StateDetails: Output only. The state details of the Active Directory. StateDetails string `json:"stateDetails,omitempty"` // Username: Required. Username of the Active Directory domain administrator. Username string `json:"username,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Administrators") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Administrators") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ActiveDirectory: ActiveDirectory is the public representation of the active directory config.
func (ActiveDirectory) MarshalJSON ¶
func (s ActiveDirectory) MarshalJSON() ([]byte, error)
type Backup ¶
type Backup struct { // BackupType: Output only. Type of backup, manually created or created by a // backup policy. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified backup type. // "MANUAL" - Manual backup type. // "SCHEDULED" - Scheduled backup type. BackupType string `json:"backupType,omitempty"` // ChainStorageBytes: Output only. Total size of all backups in a chain in // bytes = baseline backup size + sum(incremental backup size) ChainStorageBytes int64 `json:"chainStorageBytes,omitempty,string"` // CreateTime: Output only. The time when the backup was created. CreateTime string `json:"createTime,omitempty"` // Description: A description of the backup with 2048 characters or less. // Requests with longer descriptions will be rejected. Description string `json:"description,omitempty"` // Labels: Resource labels to represent user provided metadata. Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. The resource name of the backup. Format: // `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/ba // ckups/{backup_id}`. Name string `json:"name,omitempty"` // SatisfiesPzi: Output only. Reserved for future use SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` // SatisfiesPzs: Output only. Reserved for future use SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // SourceSnapshot: If specified, backup will be created from the given // snapshot. If not specified, there will be a new snapshot taken to initiate // the backup creation. Format: // `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{sn // apshot_id}` SourceSnapshot string `json:"sourceSnapshot,omitempty"` // SourceVolume: Volume full name of this backup belongs to. Format: // `projects/{projects_id}/locations/{location}/volumes/{volume_id}` SourceVolume string `json:"sourceVolume,omitempty"` // State: Output only. The backup state. // // Possible values: // "STATE_UNSPECIFIED" - State not set. // "CREATING" - Backup is being created. While in this state, the snapshot // for the backup point-in-time may not have been created yet, and so the // point-in-time may not have been fixed. // "UPLOADING" - Backup is being uploaded. While in this state, none of the // writes to the volume will be included in the backup. // "READY" - Backup is available for use. // "DELETING" - Backup is being deleted. // "ERROR" - Backup is not valid and cannot be used for creating new volumes // or restoring existing volumes. // "UPDATING" - Backup is being updated. State string `json:"state,omitempty"` // VolumeUsageBytes: Output only. Size of the file system when the backup was // created. When creating a new volume from the backup, the volume capacity // will have to be at least as big. VolumeUsageBytes int64 `json:"volumeUsageBytes,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BackupType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BackupType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Backup: A NetApp Backup.
func (Backup) MarshalJSON ¶
type BackupConfig ¶
type BackupConfig struct { // BackupChainBytes: Output only. Total size of all backups in a chain in bytes // = baseline backup size + sum(incremental backup size). BackupChainBytes int64 `json:"backupChainBytes,omitempty,string"` // BackupPolicies: Optional. When specified, schedule backups will be created // based on the policy configuration. BackupPolicies []string `json:"backupPolicies,omitempty"` // BackupVault: Optional. Name of backup vault. Format: // projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id} BackupVault string `json:"backupVault,omitempty"` // ScheduledBackupEnabled: Optional. When set to true, scheduled backup is // enabled on the volume. This field should be nil when there's no backup // policy attached. ScheduledBackupEnabled bool `json:"scheduledBackupEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. "BackupChainBytes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BackupChainBytes") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BackupConfig: BackupConfig contains backup related config on a volume.
func (BackupConfig) MarshalJSON ¶
func (s BackupConfig) MarshalJSON() ([]byte, error)
type BackupPolicy ¶
type BackupPolicy struct { // AssignedVolumeCount: Output only. The total number of volumes assigned by // this backup policy. AssignedVolumeCount int64 `json:"assignedVolumeCount,omitempty"` // CreateTime: Output only. The time when the backup policy was created. CreateTime string `json:"createTime,omitempty"` // DailyBackupLimit: Number of daily backups to keep. Note that the minimum // daily backup limit is 2. DailyBackupLimit int64 `json:"dailyBackupLimit,omitempty"` // Description: Description of the backup policy. Description string `json:"description,omitempty"` // Enabled: If enabled, make backups automatically according to the schedules. // This will be applied to all volumes that have this policy attached and // enforced on volume level. If not specified, default is true. Enabled bool `json:"enabled,omitempty"` // Labels: Resource labels to represent user provided metadata. Labels map[string]string `json:"labels,omitempty"` // MonthlyBackupLimit: Number of monthly backups to keep. Note that the sum of // daily, weekly and monthly backups should be greater than 1. MonthlyBackupLimit int64 `json:"monthlyBackupLimit,omitempty"` // Name: Identifier. The resource name of the backup policy. Format: // `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id} // `. Name string `json:"name,omitempty"` // State: Output only. The backup policy state. // // Possible values: // "STATE_UNSPECIFIED" - State not set. // "CREATING" - BackupPolicy is being created. // "READY" - BackupPolicy is available for use. // "DELETING" - BackupPolicy is being deleted. // "ERROR" - BackupPolicy is not valid and cannot be used. // "UPDATING" - BackupPolicy is being updated. State string `json:"state,omitempty"` // WeeklyBackupLimit: Number of weekly backups to keep. Note that the sum of // daily, weekly and monthly backups should be greater than 1. WeeklyBackupLimit int64 `json:"weeklyBackupLimit,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AssignedVolumeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssignedVolumeCount") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BackupPolicy: Backup Policy.
func (BackupPolicy) MarshalJSON ¶
func (s BackupPolicy) MarshalJSON() ([]byte, error)
type BackupVault ¶
type BackupVault struct { // CreateTime: Output only. Create time of the backup vault. CreateTime string `json:"createTime,omitempty"` // Description: Description of the backup vault. Description string `json:"description,omitempty"` // Labels: Resource labels to represent user provided metadata. Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. The resource name of the backup vault. Format: // `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. Name string `json:"name,omitempty"` // State: Output only. The backup vault state. // // Possible values: // "STATE_UNSPECIFIED" - State not set. // "CREATING" - BackupVault is being created. // "READY" - BackupVault is available for use. // "DELETING" - BackupVault is being deleted. // "ERROR" - BackupVault is not valid and cannot be used. // "UPDATING" - BackupVault is being updated. State string `json:"state,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BackupVault: A NetApp BackupVault.
func (BackupVault) MarshalJSON ¶
func (s BackupVault) MarshalJSON() ([]byte, error)
type CancelOperationRequest ¶
type CancelOperationRequest struct { }
CancelOperationRequest: The request message for Operations.CancelOperation.
type DailySchedule ¶
type DailySchedule struct { // Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0). Hour float64 `json:"hour,omitempty"` // Minute: Set the minute of the hour to start the snapshot (0-59), defaults to // the top of the hour (0). Minute float64 `json:"minute,omitempty"` // SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly // schedule SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"` // ForceSendFields is a list of field names (e.g. "Hour") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Hour") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
DailySchedule: Make a snapshot every day e.g. at 04:00, 05:20, 23:50
func (DailySchedule) MarshalJSON ¶
func (s DailySchedule) MarshalJSON() ([]byte, error)
func (*DailySchedule) UnmarshalJSON ¶
func (s *DailySchedule) UnmarshalJSON(data []byte) error
type DestinationVolumeParameters ¶
type DestinationVolumeParameters struct { // Description: Description for the destination volume. Description string `json:"description,omitempty"` // volume's share name will be used. ShareName string `json:"shareName,omitempty"` // StoragePool: Required. Existing destination StoragePool name. StoragePool string `json:"storagePool,omitempty"` // TieringPolicy: Optional. Tiering policy for the volume. TieringPolicy *TieringPolicy `json:"tieringPolicy,omitempty"` // VolumeId: Desired destination volume resource id. If not specified, source // volume's resource id will be used. This value must start with a lowercase // letter followed by up to 62 lowercase letters, numbers, or hyphens, and // cannot end with a hyphen. VolumeId string `json:"volumeId,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
DestinationVolumeParameters: DestinationVolumeParameters specify input parameters used for creating destination volume.
func (DestinationVolumeParameters) MarshalJSON ¶
func (s DestinationVolumeParameters) MarshalJSON() ([]byte, error)
type EncryptVolumesRequest ¶
type EncryptVolumesRequest struct { }
EncryptVolumesRequest: EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.
type EstablishPeeringRequest ¶ added in v0.207.0
type EstablishPeeringRequest struct { // PeerClusterName: Required. Name of the user's local source cluster to be // peered with the destination cluster. PeerClusterName string `json:"peerClusterName,omitempty"` // PeerIpAddresses: Optional. List of IPv4 ip addresses to be used for peering. PeerIpAddresses []string `json:"peerIpAddresses,omitempty"` // PeerSvmName: Required. Name of the user's local source vserver svm to be // peered with the destination vserver svm. PeerSvmName string `json:"peerSvmName,omitempty"` // PeerVolumeName: Required. Name of the user's local source volume to be // peered with the destination volume. PeerVolumeName string `json:"peerVolumeName,omitempty"` // ForceSendFields is a list of field names (e.g. "PeerClusterName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PeerClusterName") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
EstablishPeeringRequest: EstablishPeeringRequest establishes cluster and svm peerings between the source and the destination replications.
func (EstablishPeeringRequest) MarshalJSON ¶ added in v0.207.0
func (s EstablishPeeringRequest) MarshalJSON() ([]byte, error)
type ExportPolicy ¶
type ExportPolicy struct { // Rules: Required. List of export policy rules Rules []*SimpleExportPolicyRule `json:"rules,omitempty"` // ForceSendFields is a list of field names (e.g. "Rules") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Rules") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ExportPolicy: Defines the export policy for the volume.
func (ExportPolicy) MarshalJSON ¶
func (s ExportPolicy) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty ¶
type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleProtobufEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type HourlySchedule ¶
type HourlySchedule struct { // Minute: Set the minute of the hour to start the snapshot (0-59), defaults to // the top of the hour (0). Minute float64 `json:"minute,omitempty"` // SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly // schedule SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"` // ForceSendFields is a list of field names (e.g. "Minute") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Minute") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
HourlySchedule: Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.
func (HourlySchedule) MarshalJSON ¶
func (s HourlySchedule) MarshalJSON() ([]byte, error)
func (*HourlySchedule) UnmarshalJSON ¶
func (s *HourlySchedule) UnmarshalJSON(data []byte) error
type HybridPeeringDetails ¶ added in v0.207.0
type HybridPeeringDetails struct { // Command: Optional. Copy-paste-able commands to be used on user's ONTAP to // accept peering requests. Command string `json:"command,omitempty"` // CommandExpiryTime: Optional. Expiration time for the peering command to be // executed on user's ONTAP. CommandExpiryTime string `json:"commandExpiryTime,omitempty"` // Passphrase: Optional. Temporary passphrase generated to accept cluster // peering command. Passphrase string `json:"passphrase,omitempty"` // SubnetIp: Optional. IP address of the subnet. SubnetIp string `json:"subnetIp,omitempty"` // ForceSendFields is a list of field names (e.g. "Command") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Command") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
HybridPeeringDetails: HybridPeeringDetails contains details about the hybrid peering.
func (HybridPeeringDetails) MarshalJSON ¶ added in v0.207.0
func (s HybridPeeringDetails) MarshalJSON() ([]byte, error)
type HybridReplicationParameters ¶ added in v0.207.0
type HybridReplicationParameters struct { // ClusterLocation: Optional. Name of source cluster location associated with // the Hybrid replication. This is a free-form field for the display purpose // only. ClusterLocation string `json:"clusterLocation,omitempty"` // Description: Optional. Description of the replication. Description string `json:"description,omitempty"` // Labels: Optional. Labels to be added to the replication as the key value // pairs. Labels map[string]string `json:"labels,omitempty"` // PeerClusterName: Required. Name of the user's local source cluster to be // peered with the destination cluster. PeerClusterName string `json:"peerClusterName,omitempty"` // PeerIpAddresses: Required. List of node ip addresses to be peered with. PeerIpAddresses []string `json:"peerIpAddresses,omitempty"` // PeerSvmName: Required. Name of the user's local source vserver svm to be // peered with the destination vserver svm. PeerSvmName string `json:"peerSvmName,omitempty"` // PeerVolumeName: Required. Name of the user's local source volume to be // peered with the destination volume. PeerVolumeName string `json:"peerVolumeName,omitempty"` // Replication: Required. Desired name for the replication of this volume. Replication string `json:"replication,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterLocation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterLocation") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
HybridReplicationParameters: The Hybrid Replication parameters for the volume.
func (HybridReplicationParameters) MarshalJSON ¶ added in v0.207.0
func (s HybridReplicationParameters) MarshalJSON() ([]byte, error)
type KmsConfig ¶
type KmsConfig struct { // CreateTime: Output only. Create time of the KmsConfig. CreateTime string `json:"createTime,omitempty"` // CryptoKeyName: Required. Customer managed crypto key resource full name. // Format: // projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}. CryptoKeyName string `json:"cryptoKeyName,omitempty"` // Description: Description of the KmsConfig. Description string `json:"description,omitempty"` // Instructions: Output only. Instructions to provide the access to the // customer provided encryption key. Instructions string `json:"instructions,omitempty"` // Labels: Labels as key value pairs Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. Name of the KmsConfig. Name string `json:"name,omitempty"` // ServiceAccount: Output only. The Service account which will have access to // the customer provided encryption key. ServiceAccount string `json:"serviceAccount,omitempty"` // State: Output only. State of the KmsConfig. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified KmsConfig State // "READY" - KmsConfig State is Ready // "CREATING" - KmsConfig State is Creating // "DELETING" - KmsConfig State is Deleting // "UPDATING" - KmsConfig State is Updating // "IN_USE" - KmsConfig State is In Use. // "ERROR" - KmsConfig State is Error // "KEY_CHECK_PENDING" - KmsConfig State is Pending to verify crypto key // access. // "KEY_NOT_REACHABLE" - KmsConfig State is Not accessbile by the SDE service // account to the crypto key. // "DISABLING" - KmsConfig State is Disabling. // "DISABLED" - KmsConfig State is Disabled. // "MIGRATING" - KmsConfig State is Migrating. The existing volumes are // migrating from SMEK to CMEK. State string `json:"state,omitempty"` // StateDetails: Output only. State details of the KmsConfig. StateDetails string `json:"stateDetails,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
KmsConfig: KmsConfig is the customer managed encryption key(CMEK) configuration.
func (KmsConfig) MarshalJSON ¶
type ListActiveDirectoriesResponse ¶
type ListActiveDirectoriesResponse struct { // ActiveDirectories: The list of active directories. ActiveDirectories []*ActiveDirectory `json:"activeDirectories,omitempty"` // NextPageToken: A token identifying a page of results the server should // return. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ActiveDirectories") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveDirectories") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListActiveDirectoriesResponse: ListActiveDirectoriesResponse contains all the active directories requested.
func (ListActiveDirectoriesResponse) MarshalJSON ¶
func (s ListActiveDirectoriesResponse) MarshalJSON() ([]byte, error)
type ListBackupPoliciesResponse ¶
type ListBackupPoliciesResponse struct { // BackupPolicies: The list of backup policies. BackupPolicies []*BackupPolicy `json:"backupPolicies,omitempty"` // NextPageToken: A token identifying a page of results the server should // return. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BackupPolicies") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BackupPolicies") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListBackupPoliciesResponse: ListBackupPoliciesResponse contains all the backup policies requested.
func (ListBackupPoliciesResponse) MarshalJSON ¶
func (s ListBackupPoliciesResponse) MarshalJSON() ([]byte, error)
type ListBackupVaultsResponse ¶
type ListBackupVaultsResponse struct { // BackupVaults: A list of backupVaults in the project for the specified // location. BackupVaults []*BackupVault `json:"backupVaults,omitempty"` // NextPageToken: The token you can use to retrieve the next page of results. // Not returned if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BackupVaults") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BackupVaults") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListBackupVaultsResponse: ListBackupVaultsResponse is the result of ListBackupVaultsRequest.
func (ListBackupVaultsResponse) MarshalJSON ¶
func (s ListBackupVaultsResponse) MarshalJSON() ([]byte, error)
type ListBackupsResponse ¶
type ListBackupsResponse struct { // Backups: A list of backups in the project. Backups []*Backup `json:"backups,omitempty"` // NextPageToken: The token you can use to retrieve the next page of results. // Not returned if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Backups") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Backups") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListBackupsResponse: ListBackupsResponse is the result of ListBackupsRequest.
func (ListBackupsResponse) MarshalJSON ¶
func (s ListBackupsResponse) MarshalJSON() ([]byte, error)
type ListKmsConfigsResponse ¶
type ListKmsConfigsResponse struct { // KmsConfigs: The list of KmsConfigs KmsConfigs []*KmsConfig `json:"kmsConfigs,omitempty"` // NextPageToken: A token identifying a page of results the server should // return. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "KmsConfigs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KmsConfigs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListKmsConfigsResponse: ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.
func (ListKmsConfigsResponse) MarshalJSON ¶
func (s ListKmsConfigsResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶
type ListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in the // request. Locations []*Location `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Locations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Locations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse) MarshalJSON ¶
func (s ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse ¶
type ListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in the // request. Operations []*Operation `json:"operations,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse) MarshalJSON ¶
func (s ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListReplicationsResponse ¶
type ListReplicationsResponse struct { // NextPageToken: The token you can use to retrieve the next page of results. // Not returned if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Replications: A list of replications in the project for the specified // volume. Replications []*Replication `json:"replications,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListReplicationsResponse: ListReplicationsResponse is the result of ListReplicationsRequest.
func (ListReplicationsResponse) MarshalJSON ¶
func (s ListReplicationsResponse) MarshalJSON() ([]byte, error)
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { // NextPageToken: The token you can use to retrieve the next page of results. // Not returned if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Snapshots: A list of snapshots in the project for the specified volume. Snapshots []*Snapshot `json:"snapshots,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListSnapshotsResponse: ListSnapshotsResponse is the result of ListSnapshotsRequest.
func (ListSnapshotsResponse) MarshalJSON ¶
func (s ListSnapshotsResponse) MarshalJSON() ([]byte, error)
type ListStoragePoolsResponse ¶
type ListStoragePoolsResponse struct { // NextPageToken: A token identifying a page of results the server should // return. NextPageToken string `json:"nextPageToken,omitempty"` // StoragePools: The list of StoragePools StoragePools []*StoragePool `json:"storagePools,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListStoragePoolsResponse: ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.
func (ListStoragePoolsResponse) MarshalJSON ¶
func (s ListStoragePoolsResponse) MarshalJSON() ([]byte, error)
type ListVolumesResponse ¶
type ListVolumesResponse struct { // NextPageToken: A token identifying a page of results the server should // return. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // Volumes: The list of Volume Volumes []*Volume `json:"volumes,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListVolumesResponse: Message for response to listing Volumes
func (ListVolumesResponse) MarshalJSON ¶
func (s ListVolumesResponse) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct { // DisplayName: The friendly name for this location, typically a nearby city // name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available capacity at // the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Location: A resource that represents a Google Cloud location.
func (Location) MarshalJSON ¶
type LocationMetadata ¶
type LocationMetadata struct { // SupportedServiceLevels: Output only. Supported service levels in a location. // // Possible values: // "SERVICE_LEVEL_UNSPECIFIED" - Unspecified service level. // "PREMIUM" - Premium service level. // "EXTREME" - Extreme service level. // "STANDARD" - Standard service level. // "FLEX" - Flex service level. SupportedServiceLevels []string `json:"supportedServiceLevels,omitempty"` // ForceSendFields is a list of field names (e.g. "SupportedServiceLevels") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SupportedServiceLevels") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LocationMetadata: Metadata for a given google.cloud.location.Location.
func (LocationMetadata) MarshalJSON ¶
func (s LocationMetadata) MarshalJSON() ([]byte, error)
type MonthlySchedule ¶
type MonthlySchedule struct { // DaysOfMonth: Set the day or days of the month to make a snapshot (1-31). // Accepts a comma separated number of days. Defaults to '1'. DaysOfMonth string `json:"daysOfMonth,omitempty"` // Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0). Hour float64 `json:"hour,omitempty"` // Minute: Set the minute of the hour to start the snapshot (0-59), defaults to // the top of the hour (0). Minute float64 `json:"minute,omitempty"` // SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly // schedule SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"` // ForceSendFields is a list of field names (e.g. "DaysOfMonth") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DaysOfMonth") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
MonthlySchedule: Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50
func (MonthlySchedule) MarshalJSON ¶
func (s MonthlySchedule) MarshalJSON() ([]byte, error)
func (*MonthlySchedule) UnmarshalJSON ¶
func (s *MonthlySchedule) UnmarshalJSON(data []byte) error
type MountOption ¶
type MountOption struct { // Export: Export string Export string `json:"export,omitempty"` // ExportFull: Full export string ExportFull string `json:"exportFull,omitempty"` // Instructions: Instructions for mounting Instructions string `json:"instructions,omitempty"` // Protocol: Protocol to mount with. // // Possible values: // "PROTOCOLS_UNSPECIFIED" - Unspecified protocol // "NFSV3" - NFS V3 protocol // "NFSV4" - NFS V4 protocol // "SMB" - SMB protocol Protocol string `json:"protocol,omitempty"` // ForceSendFields is a list of field names (e.g. "Export") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Export") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
MountOption: View only mount options for a volume.
func (MountOption) MarshalJSON ¶
func (s MountOption) MarshalJSON() ([]byte, error)
type Operation ¶
type Operation struct { // Done: If the value is `false`, it means the operation is still in progress. // If `true`, the operation is completed, and either `error` or `response` is // available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or cancellation. Error *Status `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as create // time. Some services might not provide such metadata. Any method that returns // a long-running operation should document the metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same service // that originally returns it. If you use the default HTTP mapping, the `name` // should be a resource name ending with `operations/{unique_id}`. Name string `json:"name,omitempty"` // Response: The normal, successful response of the operation. If the original // method returns no data on success, such as `Delete`, the response is // `google.protobuf.Empty`. If the original method is standard // `Get`/`Create`/`Update`, the response should be the resource. For other // methods, the response should have the type `XxxResponse`, where `Xxx` is the // original method name. For example, if the original method name is // `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. Response googleapi.RawMessage `json:"response,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Done") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Done") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Operation: This resource represents a long-running operation that is the result of a network API call.
func (Operation) MarshalJSON ¶
type OperationMetadata ¶
type OperationMetadata struct { // ApiVersion: Output only. API version used to start the operation. ApiVersion string `json:"apiVersion,omitempty"` // CreateTime: Output only. The time the operation was created. CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. The time the operation finished running. EndTime string `json:"endTime,omitempty"` // RequestedCancellation: Output only. Identifies whether the user has // requested cancellation of the operation. Operations that have been canceled // successfully have Operation.error value with a google.rpc.Status.code of 1, // corresponding to `Code.CANCELLED`. RequestedCancellation bool `json:"requestedCancellation,omitempty"` // StatusMessage: Output only. Human-readable status of the operation, if any. StatusMessage string `json:"statusMessage,omitempty"` // Target: Output only. Server-defined resource path for the target of the // operation. Target string `json:"target,omitempty"` // Verb: Output only. Name of the verb executed by the operation. Verb string `json:"verb,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiVersion") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApiVersion") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
OperationMetadata: Represents the metadata of the long-running operation.
func (OperationMetadata) MarshalJSON ¶
func (s OperationMetadata) MarshalJSON() ([]byte, error)
type ProjectsLocationsActiveDirectoriesCreateCall ¶
type ProjectsLocationsActiveDirectoriesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsActiveDirectoriesCreateCall) ActiveDirectoryId ¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) ActiveDirectoryId(activeDirectoryId string) *ProjectsLocationsActiveDirectoriesCreateCall
ActiveDirectoryId sets the optional parameter "activeDirectoryId": Required. ID of the active directory to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter , the last a letter or a number, and a 63 character maximum.
func (*ProjectsLocationsActiveDirectoriesCreateCall) Context ¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsActiveDirectoriesCreateCall) Header ¶
func (c *ProjectsLocationsActiveDirectoriesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsActiveDirectoriesDeleteCall ¶
type ProjectsLocationsActiveDirectoriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsActiveDirectoriesDeleteCall) Context ¶
func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsActiveDirectoriesDeleteCall) Header ¶
func (c *ProjectsLocationsActiveDirectoriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsActiveDirectoriesGetCall ¶
type ProjectsLocationsActiveDirectoriesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsActiveDirectoriesGetCall) Context ¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) Context(ctx context.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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsActiveDirectoriesGetCall) Fields ¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsActiveDirectoriesGetCall) Header ¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsActiveDirectoriesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsActiveDirectoriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsActiveDirectoriesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsActiveDirectoriesListCall ¶
type ProjectsLocationsActiveDirectoriesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsActiveDirectoriesListCall) Context ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Context(ctx context.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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsActiveDirectoriesListCall) Fields ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsActiveDirectoriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsActiveDirectoriesListCall) Filter ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsActiveDirectoriesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsActiveDirectoriesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsActiveDirectoriesListCall) OrderBy ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) OrderBy(orderBy string) *ProjectsLocationsActiveDirectoriesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results
func (*ProjectsLocationsActiveDirectoriesListCall) PageSize ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) PageSize(pageSize int64) *ProjectsLocationsActiveDirectoriesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsActiveDirectoriesListCall) PageToken ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) PageToken(pageToken string) *ProjectsLocationsActiveDirectoriesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsActiveDirectoriesListCall) Pages ¶
func (c *ProjectsLocationsActiveDirectoriesListCall) Pages(ctx context.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.
type ProjectsLocationsActiveDirectoriesPatchCall ¶
type ProjectsLocationsActiveDirectoriesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsActiveDirectoriesPatchCall) Context ¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsActiveDirectoriesPatchCall) Header ¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsActiveDirectoriesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsActiveDirectoriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsActiveDirectoriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Active Directory resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsActiveDirectoriesService ¶
type ProjectsLocationsActiveDirectoriesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsActiveDirectoriesService ¶
func NewProjectsLocationsActiveDirectoriesService(s *Service) *ProjectsLocationsActiveDirectoriesService
func (*ProjectsLocationsActiveDirectoriesService) Create ¶
func (r *ProjectsLocationsActiveDirectoriesService) Create(parent string, activedirectory *ActiveDirectory) *ProjectsLocationsActiveDirectoriesCreateCall
Create: CreateActiveDirectory Creates the active directory specified in the request.
- parent: Value for parent.
func (*ProjectsLocationsActiveDirectoriesService) Delete ¶
func (r *ProjectsLocationsActiveDirectoriesService) Delete(name string) *ProjectsLocationsActiveDirectoriesDeleteCall
Delete: Delete the active directory specified in the request.
- name: Name of the active directory.
func (*ProjectsLocationsActiveDirectoriesService) Get ¶
func (r *ProjectsLocationsActiveDirectoriesService) Get(name string) *ProjectsLocationsActiveDirectoriesGetCall
Get: Describes a specified active directory.
- name: Name of the active directory.
func (*ProjectsLocationsActiveDirectoriesService) List ¶
func (r *ProjectsLocationsActiveDirectoriesService) List(parent string) *ProjectsLocationsActiveDirectoriesListCall
List: Lists active directories.
- parent: Parent value for ListActiveDirectoriesRequest.
func (*ProjectsLocationsActiveDirectoriesService) Patch ¶
func (r *ProjectsLocationsActiveDirectoriesService) Patch(name string, 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/{activ e_directory_id}`.
type ProjectsLocationsBackupPoliciesCreateCall ¶
type ProjectsLocationsBackupPoliciesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupPoliciesCreateCall) BackupPolicyId ¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) BackupPolicyId(backupPolicyId string) *ProjectsLocationsBackupPoliciesCreateCall
BackupPolicyId sets the optional parameter "backupPolicyId": Required. The ID to use for the backup policy. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
func (*ProjectsLocationsBackupPoliciesCreateCall) Context ¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupPoliciesCreateCall) Header ¶
func (c *ProjectsLocationsBackupPoliciesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBackupPoliciesDeleteCall ¶
type ProjectsLocationsBackupPoliciesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupPoliciesDeleteCall) Context ¶
func (c *ProjectsLocationsBackupPoliciesDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupPoliciesDeleteCall) Header ¶
func (c *ProjectsLocationsBackupPoliciesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBackupPoliciesGetCall ¶
type ProjectsLocationsBackupPoliciesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupPoliciesGetCall) Context ¶
func (c *ProjectsLocationsBackupPoliciesGetCall) Context(ctx context.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 check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupPoliciesGetCall) Header ¶
func (c *ProjectsLocationsBackupPoliciesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBackupPoliciesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBackupPoliciesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupPoliciesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsBackupPoliciesListCall ¶
type ProjectsLocationsBackupPoliciesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupPoliciesListCall) Context ¶
func (c *ProjectsLocationsBackupPoliciesListCall) Context(ctx context.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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupPoliciesListCall) Fields ¶
func (c *ProjectsLocationsBackupPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupPoliciesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupPoliciesListCall) Filter ¶
func (c *ProjectsLocationsBackupPoliciesListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsBackupPoliciesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBackupPoliciesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupPoliciesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsBackupPoliciesListCall) OrderBy ¶
func (c *ProjectsLocationsBackupPoliciesListCall) OrderBy(orderBy string) *ProjectsLocationsBackupPoliciesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results
func (*ProjectsLocationsBackupPoliciesListCall) PageSize ¶
func (c *ProjectsLocationsBackupPoliciesListCall) PageSize(pageSize int64) *ProjectsLocationsBackupPoliciesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsBackupPoliciesListCall) PageToken ¶
func (c *ProjectsLocationsBackupPoliciesListCall) PageToken(pageToken string) *ProjectsLocationsBackupPoliciesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsBackupPoliciesListCall) Pages ¶
func (c *ProjectsLocationsBackupPoliciesListCall) Pages(ctx context.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.
type ProjectsLocationsBackupPoliciesPatchCall ¶
type ProjectsLocationsBackupPoliciesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupPoliciesPatchCall) Context ¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupPoliciesPatchCall) Header ¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBackupPoliciesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsBackupPoliciesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBackupPoliciesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Backup Policy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsBackupPoliciesService ¶
type ProjectsLocationsBackupPoliciesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBackupPoliciesService ¶
func NewProjectsLocationsBackupPoliciesService(s *Service) *ProjectsLocationsBackupPoliciesService
func (*ProjectsLocationsBackupPoliciesService) Create ¶
func (r *ProjectsLocationsBackupPoliciesService) Create(parent string, 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(name string) *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_i d}`.
func (*ProjectsLocationsBackupPoliciesService) Get ¶
func (r *ProjectsLocationsBackupPoliciesService) Get(name string) *ProjectsLocationsBackupPoliciesGetCall
Get: Returns the description of the specified backup policy by backup_policy_id.
- name: The backupPolicy resource name, in the format `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_i d}`.
func (*ProjectsLocationsBackupPoliciesService) List ¶
func (r *ProjectsLocationsBackupPoliciesService) List(parent string) *ProjectsLocationsBackupPoliciesListCall
List: Returns list of all available backup policies.
- parent: Parent value for ListBackupPoliciesRequest.
func (*ProjectsLocationsBackupPoliciesService) Patch ¶
func (r *ProjectsLocationsBackupPoliciesService) Patch(name string, 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_i d}`.
type ProjectsLocationsBackupVaultsBackupsCreateCall ¶
type ProjectsLocationsBackupVaultsBackupsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsBackupsCreateCall) BackupId ¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) BackupId(backupId string) *ProjectsLocationsBackupVaultsBackupsCreateCall
BackupId sets the optional parameter "backupId": Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
func (*ProjectsLocationsBackupVaultsBackupsCreateCall) Context ¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsBackupsCreateCall) Header ¶
func (c *ProjectsLocationsBackupVaultsBackupsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBackupVaultsBackupsDeleteCall ¶
type ProjectsLocationsBackupVaultsBackupsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsBackupsDeleteCall) Context ¶
func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsBackupsDeleteCall) Header ¶
func (c *ProjectsLocationsBackupVaultsBackupsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBackupVaultsBackupsGetCall ¶
type ProjectsLocationsBackupVaultsBackupsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsBackupsGetCall) Context ¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsBackupsGetCall) Header ¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBackupVaultsBackupsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBackupVaultsBackupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsBackupsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsBackupVaultsBackupsListCall ¶
type ProjectsLocationsBackupVaultsBackupsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsBackupsListCall) Context ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Context(ctx context.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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsBackupsListCall) Fields ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsBackupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsBackupsListCall) Filter ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Filter(filter string) *ProjectsLocationsBackupVaultsBackupsListCall
Filter sets the optional parameter "filter": The standard list filter. If specified, backups will be returned based on the attribute name that matches the filter expression. If empty, then no backups are filtered out. See https://google.aip.dev/160
func (*ProjectsLocationsBackupVaultsBackupsListCall) Header ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBackupVaultsBackupsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsBackupsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsBackupVaultsBackupsListCall) OrderBy ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) OrderBy(orderBy string) *ProjectsLocationsBackupVaultsBackupsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsBackupVaultsBackupsListCall) PageSize ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) PageSize(pageSize int64) *ProjectsLocationsBackupVaultsBackupsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsBackupVaultsBackupsListCall) PageToken ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) PageToken(pageToken string) *ProjectsLocationsBackupVaultsBackupsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsBackupVaultsBackupsListCall) Pages ¶
func (c *ProjectsLocationsBackupVaultsBackupsListCall) Pages(ctx context.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.
type ProjectsLocationsBackupVaultsBackupsPatchCall ¶
type ProjectsLocationsBackupVaultsBackupsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsBackupsPatchCall) Context ¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsBackupsPatchCall) Header ¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBackupVaultsBackupsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsBackupVaultsBackupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBackupVaultsBackupsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsBackupVaultsBackupsService ¶
type ProjectsLocationsBackupVaultsBackupsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBackupVaultsBackupsService ¶
func NewProjectsLocationsBackupVaultsBackupsService(s *Service) *ProjectsLocationsBackupVaultsBackupsService
func (*ProjectsLocationsBackupVaultsBackupsService) Create ¶
func (r *ProjectsLocationsBackupVaultsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupVaultsBackupsCreateCall
Create: Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.
- parent: The NetApp backupVault to create the backups of, in the format `projects/*/locations/*/backupVaults/{backup_vault_id}`.
func (*ProjectsLocationsBackupVaultsBackupsService) Delete ¶
func (r *ProjectsLocationsBackupVaultsBackupsService) Delete(name string) *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(name string) *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(parent string) *ProjectsLocationsBackupVaultsBackupsListCall
List: Returns descriptions of all backups for a backupVault.
- parent: The backupVault for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` . To retrieve backup information for all locations, use "-" for the `{location}` value. To retrieve backup information for all backupVaults, use "-" for the `{backup_vault_id}` value. To retrieve backup information for a volume, use "-" for the `{backup_vault_id}` value and specify volume full name with the filter.
func (*ProjectsLocationsBackupVaultsBackupsService) Patch ¶
func (r *ProjectsLocationsBackupVaultsBackupsService) Patch(name string, 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}`.
type ProjectsLocationsBackupVaultsCreateCall ¶
type ProjectsLocationsBackupVaultsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsCreateCall) BackupVaultId ¶
func (c *ProjectsLocationsBackupVaultsCreateCall) BackupVaultId(backupVaultId string) *ProjectsLocationsBackupVaultsCreateCall
BackupVaultId sets the optional parameter "backupVaultId": Required. The ID to use for the backupVault. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
func (*ProjectsLocationsBackupVaultsCreateCall) Context ¶
func (c *ProjectsLocationsBackupVaultsCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsCreateCall) Header ¶
func (c *ProjectsLocationsBackupVaultsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBackupVaultsDeleteCall ¶
type ProjectsLocationsBackupVaultsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsDeleteCall) Context ¶
func (c *ProjectsLocationsBackupVaultsDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsDeleteCall) Header ¶
func (c *ProjectsLocationsBackupVaultsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBackupVaultsGetCall ¶
type ProjectsLocationsBackupVaultsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsGetCall) Context ¶
func (c *ProjectsLocationsBackupVaultsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsGetCall) Header ¶
func (c *ProjectsLocationsBackupVaultsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBackupVaultsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBackupVaultsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsBackupVaultsListCall ¶
type ProjectsLocationsBackupVaultsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsListCall) Context ¶
func (c *ProjectsLocationsBackupVaultsListCall) Context(ctx context.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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBackupVaultsListCall) Fields ¶
func (c *ProjectsLocationsBackupVaultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBackupVaultsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsListCall) Filter ¶
func (c *ProjectsLocationsBackupVaultsListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsBackupVaultsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBackupVaultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBackupVaultsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsBackupVaultsListCall) OrderBy ¶
func (c *ProjectsLocationsBackupVaultsListCall) OrderBy(orderBy string) *ProjectsLocationsBackupVaultsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsBackupVaultsListCall) PageSize ¶
func (c *ProjectsLocationsBackupVaultsListCall) PageSize(pageSize int64) *ProjectsLocationsBackupVaultsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return.
func (*ProjectsLocationsBackupVaultsListCall) PageToken ¶
func (c *ProjectsLocationsBackupVaultsListCall) PageToken(pageToken string) *ProjectsLocationsBackupVaultsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsBackupVaultsListCall) Pages ¶
func (c *ProjectsLocationsBackupVaultsListCall) Pages(ctx context.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.
type ProjectsLocationsBackupVaultsPatchCall ¶
type ProjectsLocationsBackupVaultsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBackupVaultsPatchCall) Context ¶
func (c *ProjectsLocationsBackupVaultsPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBackupVaultsPatchCall) Header ¶
func (c *ProjectsLocationsBackupVaultsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBackupVaultsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsBackupVaultsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBackupVaultsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsBackupVaultsService ¶
type ProjectsLocationsBackupVaultsService struct { Backups *ProjectsLocationsBackupVaultsBackupsService // contains filtered or unexported fields }
func NewProjectsLocationsBackupVaultsService ¶
func NewProjectsLocationsBackupVaultsService(s *Service) *ProjectsLocationsBackupVaultsService
func (*ProjectsLocationsBackupVaultsService) Create ¶
func (r *ProjectsLocationsBackupVaultsService) Create(parent string, 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(name string) *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(name string) *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(parent string) *ProjectsLocationsBackupVaultsListCall
List: Returns list of all available backup vaults.
- parent: The location for which to retrieve backupVault information, in the format `projects/{project_id}/locations/{location}`.
func (*ProjectsLocationsBackupVaultsService) Patch ¶
func (r *ProjectsLocationsBackupVaultsService) Patch(name string, 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}` .
type ProjectsLocationsGetCall ¶
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetCall) Context ¶
func (c *ProjectsLocationsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsGetCall) Header ¶
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsKmsConfigsCreateCall ¶
type ProjectsLocationsKmsConfigsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKmsConfigsCreateCall) Context ¶
func (c *ProjectsLocationsKmsConfigsCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsKmsConfigsCreateCall) Header ¶
func (c *ProjectsLocationsKmsConfigsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsKmsConfigsCreateCall) KmsConfigId ¶
func (c *ProjectsLocationsKmsConfigsCreateCall) KmsConfigId(kmsConfigId string) *ProjectsLocationsKmsConfigsCreateCall
KmsConfigId sets the optional parameter "kmsConfigId": Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
type ProjectsLocationsKmsConfigsDeleteCall ¶
type ProjectsLocationsKmsConfigsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKmsConfigsDeleteCall) Context ¶
func (c *ProjectsLocationsKmsConfigsDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsKmsConfigsDeleteCall) Header ¶
func (c *ProjectsLocationsKmsConfigsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsKmsConfigsEncryptCall ¶
type ProjectsLocationsKmsConfigsEncryptCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKmsConfigsEncryptCall) Context ¶
func (c *ProjectsLocationsKmsConfigsEncryptCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsKmsConfigsEncryptCall) Header ¶
func (c *ProjectsLocationsKmsConfigsEncryptCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsKmsConfigsGetCall ¶
type ProjectsLocationsKmsConfigsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKmsConfigsGetCall) Context ¶
func (c *ProjectsLocationsKmsConfigsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsKmsConfigsGetCall) Header ¶
func (c *ProjectsLocationsKmsConfigsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsKmsConfigsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsKmsConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsKmsConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsKmsConfigsListCall ¶
type ProjectsLocationsKmsConfigsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKmsConfigsListCall) Context ¶
func (c *ProjectsLocationsKmsConfigsListCall) Context(ctx context.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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsListCall) Fields ¶
func (c *ProjectsLocationsKmsConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsKmsConfigsListCall) Filter ¶
func (c *ProjectsLocationsKmsConfigsListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsKmsConfigsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsKmsConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsKmsConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsKmsConfigsListCall) OrderBy ¶
func (c *ProjectsLocationsKmsConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsKmsConfigsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsKmsConfigsListCall) PageSize ¶
func (c *ProjectsLocationsKmsConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsKmsConfigsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return.
func (*ProjectsLocationsKmsConfigsListCall) PageToken ¶
func (c *ProjectsLocationsKmsConfigsListCall) PageToken(pageToken string) *ProjectsLocationsKmsConfigsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsKmsConfigsListCall) Pages ¶
func (c *ProjectsLocationsKmsConfigsListCall) Pages(ctx context.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.
type ProjectsLocationsKmsConfigsPatchCall ¶
type ProjectsLocationsKmsConfigsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKmsConfigsPatchCall) Context ¶
func (c *ProjectsLocationsKmsConfigsPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsKmsConfigsPatchCall) Header ¶
func (c *ProjectsLocationsKmsConfigsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsKmsConfigsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsKmsConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKmsConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsKmsConfigsService ¶
type ProjectsLocationsKmsConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsKmsConfigsService ¶
func NewProjectsLocationsKmsConfigsService(s *Service) *ProjectsLocationsKmsConfigsService
func (*ProjectsLocationsKmsConfigsService) Create ¶
func (r *ProjectsLocationsKmsConfigsService) Create(parent string, kmsconfig *KmsConfig) *ProjectsLocationsKmsConfigsCreateCall
Create: Creates a new KMS config.
- parent: Value for parent.
func (*ProjectsLocationsKmsConfigsService) Delete ¶
func (r *ProjectsLocationsKmsConfigsService) Delete(name string) *ProjectsLocationsKmsConfigsDeleteCall
Delete: Warning! This operation will permanently delete the Kms config.
- name: Name of the KmsConfig.
func (*ProjectsLocationsKmsConfigsService) Encrypt ¶
func (r *ProjectsLocationsKmsConfigsService) Encrypt(name string, encryptvolumesrequest *EncryptVolumesRequest) *ProjectsLocationsKmsConfigsEncryptCall
Encrypt: Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.
- name: Name of the KmsConfig.
func (*ProjectsLocationsKmsConfigsService) Get ¶
func (r *ProjectsLocationsKmsConfigsService) Get(name string) *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(parent string) *ProjectsLocationsKmsConfigsListCall
List: Returns descriptions of all KMS configs owned by the caller.
- parent: Parent value.
func (*ProjectsLocationsKmsConfigsService) Patch ¶
func (r *ProjectsLocationsKmsConfigsService) Patch(name string, 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(name string, verifykmsconfigrequest *VerifyKmsConfigRequest) *ProjectsLocationsKmsConfigsVerifyCall
Verify: Verifies KMS config reachability.
- name: Name of the KMS Config to be verified.
type ProjectsLocationsKmsConfigsVerifyCall ¶
type ProjectsLocationsKmsConfigsVerifyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKmsConfigsVerifyCall) Context ¶
func (c *ProjectsLocationsKmsConfigsVerifyCall) Context(ctx context.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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsKmsConfigsVerifyCall) Fields ¶
func (c *ProjectsLocationsKmsConfigsVerifyCall) Fields(s ...googleapi.Field) *ProjectsLocationsKmsConfigsVerifyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsKmsConfigsVerifyCall) Header ¶
func (c *ProjectsLocationsKmsConfigsVerifyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsListCall ¶
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶
func (c *ProjectsLocationsListCall) Context(ctx context.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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsListCall) Fields ¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsListCall) Filter ¶
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*ProjectsLocationsListCall) Header ¶
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsListCall) PageSize ¶
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶
func (c *ProjectsLocationsListCall) Pages(ctx context.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.
type ProjectsLocationsOperationsCancelCall ¶
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsCancelCall) Context ¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall) Fields ¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsCancelCall) Header ¶
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsDeleteCall ¶
type ProjectsLocationsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsDeleteCall) Context ¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsDeleteCall) Fields ¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsDeleteCall) Header ¶
func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsGetCall ¶
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsOperationsListCall ¶
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsListCall) Fields ¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsListCall) Filter ¶
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.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.
type ProjectsLocationsOperationsService ¶
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Cancel ¶
func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService) Delete ¶
func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService) Get ¶
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService) List ¶
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { ActiveDirectories *ProjectsLocationsActiveDirectoriesService BackupPolicies *ProjectsLocationsBackupPoliciesService BackupVaults *ProjectsLocationsBackupVaultsService KmsConfigs *ProjectsLocationsKmsConfigsService Operations *ProjectsLocationsOperationsService StoragePools *ProjectsLocationsStoragePoolsService Volumes *ProjectsLocationsVolumesService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) Get ¶
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService) List ¶
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type ProjectsLocationsStoragePoolsCreateCall ¶
type ProjectsLocationsStoragePoolsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsStoragePoolsCreateCall) Context ¶
func (c *ProjectsLocationsStoragePoolsCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsStoragePoolsCreateCall) Header ¶
func (c *ProjectsLocationsStoragePoolsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsStoragePoolsCreateCall) StoragePoolId ¶
func (c *ProjectsLocationsStoragePoolsCreateCall) StoragePoolId(storagePoolId string) *ProjectsLocationsStoragePoolsCreateCall
StoragePoolId sets the optional parameter "storagePoolId": Required. Id of the requesting storage pool. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
type ProjectsLocationsStoragePoolsDeleteCall ¶
type ProjectsLocationsStoragePoolsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsStoragePoolsDeleteCall) Context ¶
func (c *ProjectsLocationsStoragePoolsDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsStoragePoolsDeleteCall) Header ¶
func (c *ProjectsLocationsStoragePoolsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStoragePoolsGetCall ¶
type ProjectsLocationsStoragePoolsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsStoragePoolsGetCall) Context ¶
func (c *ProjectsLocationsStoragePoolsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsStoragePoolsGetCall) Header ¶
func (c *ProjectsLocationsStoragePoolsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsStoragePoolsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsStoragePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsStoragePoolsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsStoragePoolsListCall ¶
type ProjectsLocationsStoragePoolsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsStoragePoolsListCall) Context ¶
func (c *ProjectsLocationsStoragePoolsListCall) Context(ctx context.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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsListCall) Fields ¶
func (c *ProjectsLocationsStoragePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsStoragePoolsListCall) Filter ¶
func (c *ProjectsLocationsStoragePoolsListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsStoragePoolsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsStoragePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsStoragePoolsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsStoragePoolsListCall) OrderBy ¶
func (c *ProjectsLocationsStoragePoolsListCall) OrderBy(orderBy string) *ProjectsLocationsStoragePoolsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsStoragePoolsListCall) PageSize ¶
func (c *ProjectsLocationsStoragePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsStoragePoolsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return.
func (*ProjectsLocationsStoragePoolsListCall) PageToken ¶
func (c *ProjectsLocationsStoragePoolsListCall) PageToken(pageToken string) *ProjectsLocationsStoragePoolsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsStoragePoolsListCall) Pages ¶
func (c *ProjectsLocationsStoragePoolsListCall) Pages(ctx context.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.
type ProjectsLocationsStoragePoolsPatchCall ¶
type ProjectsLocationsStoragePoolsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsStoragePoolsPatchCall) Context ¶
func (c *ProjectsLocationsStoragePoolsPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsStoragePoolsPatchCall) Header ¶
func (c *ProjectsLocationsStoragePoolsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsStoragePoolsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsStoragePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsStoragePoolsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the StoragePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsStoragePoolsService ¶
type ProjectsLocationsStoragePoolsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsStoragePoolsService ¶
func NewProjectsLocationsStoragePoolsService(s *Service) *ProjectsLocationsStoragePoolsService
func (*ProjectsLocationsStoragePoolsService) Create ¶
func (r *ProjectsLocationsStoragePoolsService) Create(parent string, storagepool *StoragePool) *ProjectsLocationsStoragePoolsCreateCall
Create: Creates a new storage pool.
- parent: Value for parent.
func (*ProjectsLocationsStoragePoolsService) Delete ¶
func (r *ProjectsLocationsStoragePoolsService) Delete(name string) *ProjectsLocationsStoragePoolsDeleteCall
Delete: Warning! This operation will permanently delete the storage pool.
- name: Name of the storage pool.
func (*ProjectsLocationsStoragePoolsService) Get ¶
func (r *ProjectsLocationsStoragePoolsService) Get(name string) *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(parent string) *ProjectsLocationsStoragePoolsListCall
List: Returns descriptions of all storage pools owned by the caller.
- parent: Parent value.
func (*ProjectsLocationsStoragePoolsService) Patch ¶
func (r *ProjectsLocationsStoragePoolsService) Patch(name string, 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(name string, switchactivereplicazonerequest *SwitchActiveReplicaZoneRequest) *ProjectsLocationsStoragePoolsSwitchCall
Switch: This operation will switch the active/replica zone for a regional storagePool.
- name: Name of the storage pool.
func (*ProjectsLocationsStoragePoolsService) ValidateDirectoryService ¶ added in v0.211.0
func (r *ProjectsLocationsStoragePoolsService) ValidateDirectoryService(name string, validatedirectoryservicerequest *ValidateDirectoryServiceRequest) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
ValidateDirectoryService: ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.
- name: Name of the storage pool.
type ProjectsLocationsStoragePoolsSwitchCall ¶
type ProjectsLocationsStoragePoolsSwitchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsStoragePoolsSwitchCall) Context ¶
func (c *ProjectsLocationsStoragePoolsSwitchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsStoragePoolsSwitchCall) Header ¶
func (c *ProjectsLocationsStoragePoolsSwitchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsStoragePoolsValidateDirectoryServiceCall ¶ added in v0.211.0
type ProjectsLocationsStoragePoolsValidateDirectoryServiceCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Context ¶ added in v0.211.0
func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Do ¶ added in v0.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Fields ¶ added in v0.211.0
func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Header ¶ added in v0.211.0
func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesCreateCall ¶
type ProjectsLocationsVolumesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesCreateCall) Context ¶
func (c *ProjectsLocationsVolumesCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesCreateCall) Header ¶
func (c *ProjectsLocationsVolumesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesCreateCall) VolumeId ¶
func (c *ProjectsLocationsVolumesCreateCall) VolumeId(volumeId string) *ProjectsLocationsVolumesCreateCall
VolumeId sets the optional parameter "volumeId": Required. Id of the requesting volume. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
type ProjectsLocationsVolumesDeleteCall ¶
type ProjectsLocationsVolumesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesDeleteCall) Context ¶
func (c *ProjectsLocationsVolumesDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesDeleteCall) Force ¶
func (c *ProjectsLocationsVolumesDeleteCall) Force(force bool) *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 any snapshots resource. (Otherwise, the request will only work if the volume has no snapshots.)
func (*ProjectsLocationsVolumesDeleteCall) Header ¶
func (c *ProjectsLocationsVolumesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesGetCall ¶
type ProjectsLocationsVolumesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesGetCall) Context ¶
func (c *ProjectsLocationsVolumesGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesGetCall) Header ¶
func (c *ProjectsLocationsVolumesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsVolumesListCall ¶
type ProjectsLocationsVolumesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesListCall) Context ¶
func (c *ProjectsLocationsVolumesListCall) Context(ctx context.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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesListCall) Fields ¶
func (c *ProjectsLocationsVolumesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesListCall) Filter ¶
func (c *ProjectsLocationsVolumesListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsVolumesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsVolumesListCall) OrderBy ¶
func (c *ProjectsLocationsVolumesListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results
func (*ProjectsLocationsVolumesListCall) PageSize ¶
func (c *ProjectsLocationsVolumesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsVolumesListCall) PageToken ¶
func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsVolumesListCall) Pages ¶
func (c *ProjectsLocationsVolumesListCall) Pages(ctx context.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.
type ProjectsLocationsVolumesPatchCall ¶
type ProjectsLocationsVolumesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesPatchCall) Context ¶
func (c *ProjectsLocationsVolumesPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesPatchCall) Header ¶
func (c *ProjectsLocationsVolumesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsVolumesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Volume resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsVolumesReplicationsCreateCall ¶
type ProjectsLocationsVolumesReplicationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsCreateCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsCreateCall) Header ¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesReplicationsCreateCall) ReplicationId ¶
func (c *ProjectsLocationsVolumesReplicationsCreateCall) ReplicationId(replicationId string) *ProjectsLocationsVolumesReplicationsCreateCall
ReplicationId sets the optional parameter "replicationId": Required. ID of the replication to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
type ProjectsLocationsVolumesReplicationsDeleteCall ¶
type ProjectsLocationsVolumesReplicationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsDeleteCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsDeleteCall) Header ¶
func (c *ProjectsLocationsVolumesReplicationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesReplicationsEstablishPeeringCall ¶ added in v0.207.0
type ProjectsLocationsVolumesReplicationsEstablishPeeringCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Context ¶ added in v0.207.0
func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Do ¶ added in v0.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Fields ¶ added in v0.207.0
func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Header ¶ added in v0.207.0
func (c *ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesReplicationsGetCall ¶
type ProjectsLocationsVolumesReplicationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsGetCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsGetCall) Header ¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesReplicationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVolumesReplicationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesReplicationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsVolumesReplicationsListCall ¶
type ProjectsLocationsVolumesReplicationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsListCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Context(ctx context.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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsListCall) Fields ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsListCall) Filter ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsVolumesReplicationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesReplicationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsVolumesReplicationsListCall) OrderBy ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesReplicationsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsVolumesReplicationsListCall) PageSize ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesReplicationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return.
func (*ProjectsLocationsVolumesReplicationsListCall) PageToken ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) PageToken(pageToken string) *ProjectsLocationsVolumesReplicationsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsVolumesReplicationsListCall) Pages ¶
func (c *ProjectsLocationsVolumesReplicationsListCall) Pages(ctx context.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.
type ProjectsLocationsVolumesReplicationsPatchCall ¶
type ProjectsLocationsVolumesReplicationsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsPatchCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsPatchCall) Header ¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesReplicationsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsVolumesReplicationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesReplicationsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Mask of fields to update. At least one path must be supplied in this field.
type ProjectsLocationsVolumesReplicationsResumeCall ¶
type ProjectsLocationsVolumesReplicationsResumeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsResumeCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsResumeCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsResumeCall) Header ¶
func (c *ProjectsLocationsVolumesReplicationsResumeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesReplicationsReverseDirectionCall ¶
type ProjectsLocationsVolumesReplicationsReverseDirectionCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall) Header ¶
func (c *ProjectsLocationsVolumesReplicationsReverseDirectionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesReplicationsService ¶
type ProjectsLocationsVolumesReplicationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsVolumesReplicationsService ¶
func NewProjectsLocationsVolumesReplicationsService(s *Service) *ProjectsLocationsVolumesReplicationsService
func (*ProjectsLocationsVolumesReplicationsService) Create ¶
func (r *ProjectsLocationsVolumesReplicationsService) Create(parent string, 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(name string) *ProjectsLocationsVolumesReplicationsDeleteCall
Delete: Deletes a replication.
- name: The replication resource name, in the format `projects/*/locations/*/volumes/*/replications/{replication_id}`.
func (*ProjectsLocationsVolumesReplicationsService) EstablishPeering ¶ added in v0.207.0
func (r *ProjectsLocationsVolumesReplicationsService) EstablishPeering(name string, establishpeeringrequest *EstablishPeeringRequest) *ProjectsLocationsVolumesReplicationsEstablishPeeringCall
EstablishPeering: Establish replication peering.
- name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService) Get ¶
func (r *ProjectsLocationsVolumesReplicationsService) Get(name string) *ProjectsLocationsVolumesReplicationsGetCall
Get: Describe a replication for a volume.
- name: The replication resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}/replication s/{replication_id}`.
func (*ProjectsLocationsVolumesReplicationsService) List ¶
func (r *ProjectsLocationsVolumesReplicationsService) List(parent string) *ProjectsLocationsVolumesReplicationsListCall
List: Returns descriptions of all replications for a volume.
- parent: The volume for which to retrieve replication information, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
func (*ProjectsLocationsVolumesReplicationsService) Patch ¶
func (r *ProjectsLocationsVolumesReplicationsService) Patch(name string, 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}/replication s/{replication_id}`.
func (*ProjectsLocationsVolumesReplicationsService) Resume ¶
func (r *ProjectsLocationsVolumesReplicationsService) Resume(name string, resumereplicationrequest *ResumeReplicationRequest) *ProjectsLocationsVolumesReplicationsResumeCall
Resume: Resume Cross Region Replication.
- name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService) ReverseDirection ¶
func (r *ProjectsLocationsVolumesReplicationsService) ReverseDirection(name string, reversereplicationdirectionrequest *ReverseReplicationDirectionRequest) *ProjectsLocationsVolumesReplicationsReverseDirectionCall
ReverseDirection: Reverses direction of replication. Source becomes destination and destination becomes source.
- name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService) Stop ¶
func (r *ProjectsLocationsVolumesReplicationsService) Stop(name string, stopreplicationrequest *StopReplicationRequest) *ProjectsLocationsVolumesReplicationsStopCall
Stop: Stop Cross Region Replication.
- name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.
func (*ProjectsLocationsVolumesReplicationsService) Sync ¶ added in v0.207.0
func (r *ProjectsLocationsVolumesReplicationsService) Sync(name string, syncreplicationrequest *SyncReplicationRequest) *ProjectsLocationsVolumesReplicationsSyncCall
Sync: Syncs the replication. This will invoke one time volume data transfer from source to destination.
- name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.
type ProjectsLocationsVolumesReplicationsStopCall ¶
type ProjectsLocationsVolumesReplicationsStopCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsStopCall) Context ¶
func (c *ProjectsLocationsVolumesReplicationsStopCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsStopCall) Header ¶
func (c *ProjectsLocationsVolumesReplicationsStopCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesReplicationsSyncCall ¶ added in v0.207.0
type ProjectsLocationsVolumesReplicationsSyncCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesReplicationsSyncCall) Context ¶ added in v0.207.0
func (c *ProjectsLocationsVolumesReplicationsSyncCall) Context(ctx context.Context) *ProjectsLocationsVolumesReplicationsSyncCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVolumesReplicationsSyncCall) Do ¶ added in v0.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesReplicationsSyncCall) Fields ¶ added in v0.207.0
func (c *ProjectsLocationsVolumesReplicationsSyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesReplicationsSyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesReplicationsSyncCall) Header ¶ added in v0.207.0
func (c *ProjectsLocationsVolumesReplicationsSyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesRevertCall ¶
type ProjectsLocationsVolumesRevertCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesRevertCall) Context ¶
func (c *ProjectsLocationsVolumesRevertCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesRevertCall) Header ¶
func (c *ProjectsLocationsVolumesRevertCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesService ¶
type ProjectsLocationsVolumesService struct { Replications *ProjectsLocationsVolumesReplicationsService Snapshots *ProjectsLocationsVolumesSnapshotsService // contains filtered or unexported fields }
func NewProjectsLocationsVolumesService ¶
func NewProjectsLocationsVolumesService(s *Service) *ProjectsLocationsVolumesService
func (*ProjectsLocationsVolumesService) Create ¶
func (r *ProjectsLocationsVolumesService) Create(parent string, 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(name string) *ProjectsLocationsVolumesDeleteCall
Delete: Deletes a single Volume.
- name: Name of the volume.
func (*ProjectsLocationsVolumesService) Get ¶
func (r *ProjectsLocationsVolumesService) Get(name string) *ProjectsLocationsVolumesGetCall
Get: Gets details of a single Volume.
- name: Name of the volume.
func (*ProjectsLocationsVolumesService) List ¶
func (r *ProjectsLocationsVolumesService) List(parent string) *ProjectsLocationsVolumesListCall
List: Lists Volumes in a given project.
- parent: Parent value for ListVolumesRequest.
func (*ProjectsLocationsVolumesService) Patch ¶
func (r *ProjectsLocationsVolumesService) Patch(name string, volume *Volume) *ProjectsLocationsVolumesPatchCall
Patch: Updates the parameters of a single Volume.
- name: Identifier. Name of the volume.
func (*ProjectsLocationsVolumesService) Revert ¶
func (r *ProjectsLocationsVolumesService) Revert(name string, revertvolumerequest *RevertVolumeRequest) *ProjectsLocationsVolumesRevertCall
Revert: Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.
- name: The resource name of the volume, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}.
type ProjectsLocationsVolumesSnapshotsCreateCall ¶
type ProjectsLocationsVolumesSnapshotsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesSnapshotsCreateCall) Context ¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesSnapshotsCreateCall) Header ¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesSnapshotsCreateCall) SnapshotId ¶
func (c *ProjectsLocationsVolumesSnapshotsCreateCall) SnapshotId(snapshotId string) *ProjectsLocationsVolumesSnapshotsCreateCall
SnapshotId sets the optional parameter "snapshotId": Required. ID of the snapshot to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
type ProjectsLocationsVolumesSnapshotsDeleteCall ¶
type ProjectsLocationsVolumesSnapshotsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesSnapshotsDeleteCall) Context ¶
func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesSnapshotsDeleteCall) Header ¶
func (c *ProjectsLocationsVolumesSnapshotsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVolumesSnapshotsGetCall ¶
type ProjectsLocationsVolumesSnapshotsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesSnapshotsGetCall) Context ¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesSnapshotsGetCall) Header ¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsVolumesSnapshotsListCall ¶
type ProjectsLocationsVolumesSnapshotsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesSnapshotsListCall) Context ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Context(ctx context.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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVolumesSnapshotsListCall) Fields ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesSnapshotsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesSnapshotsListCall) Filter ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsVolumesSnapshotsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsVolumesSnapshotsListCall) OrderBy ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesSnapshotsListCall
OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).
func (*ProjectsLocationsVolumesSnapshotsListCall) PageSize ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesSnapshotsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return.
func (*ProjectsLocationsVolumesSnapshotsListCall) PageToken ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) PageToken(pageToken string) *ProjectsLocationsVolumesSnapshotsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.
func (*ProjectsLocationsVolumesSnapshotsListCall) Pages ¶
func (c *ProjectsLocationsVolumesSnapshotsListCall) Pages(ctx context.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.
type ProjectsLocationsVolumesSnapshotsPatchCall ¶
type ProjectsLocationsVolumesSnapshotsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVolumesSnapshotsPatchCall) Context ¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Context(ctx context.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVolumesSnapshotsPatchCall) Header ¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVolumesSnapshotsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsVolumesSnapshotsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesSnapshotsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Mask of fields to update. At least one path must be supplied in this field.
type ProjectsLocationsVolumesSnapshotsService ¶
type ProjectsLocationsVolumesSnapshotsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsVolumesSnapshotsService ¶
func NewProjectsLocationsVolumesSnapshotsService(s *Service) *ProjectsLocationsVolumesSnapshotsService
func (*ProjectsLocationsVolumesSnapshotsService) Create ¶
func (r *ProjectsLocationsVolumesSnapshotsService) Create(parent string, 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(name string) *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(name string) *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(parent string) *ProjectsLocationsVolumesSnapshotsListCall
List: Returns descriptions of all snapshots for a volume.
- parent: The volume for which to retrieve snapshot information, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
func (*ProjectsLocationsVolumesSnapshotsService) Patch ¶
func (r *ProjectsLocationsVolumesSnapshotsService) Patch(name string, 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}`.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type Replication ¶
type Replication struct { // ClusterLocation: Optional. Location of the user cluster. ClusterLocation string `json:"clusterLocation,omitempty"` // CreateTime: Output only. Replication create time. CreateTime string `json:"createTime,omitempty"` // Description: A description about this replication relationship. Description string `json:"description,omitempty"` // DestinationVolume: Output only. Full name of destination volume resource. // Example : "projects/{project}/locations/{location}/volumes/{volume_id}" DestinationVolume string `json:"destinationVolume,omitempty"` // DestinationVolumeParameters: Required. Input only. Destination volume // parameters DestinationVolumeParameters *DestinationVolumeParameters `json:"destinationVolumeParameters,omitempty"` // Healthy: Output only. Condition of the relationship. Can be one of the // following: - true: The replication relationship is healthy. It has not // missed the most recent scheduled transfer. - false: The replication // relationship is not healthy. It has missed the most recent scheduled // transfer. Healthy bool `json:"healthy,omitempty"` // HybridPeeringDetails: Output only. Hybrid peering details. HybridPeeringDetails *HybridPeeringDetails `json:"hybridPeeringDetails,omitempty"` // HybridReplicationType: Output only. Type of the hybrid replication. // // Possible values: // "HYBRID_REPLICATION_TYPE_UNSPECIFIED" - Unspecified hybrid replication // type. // "MIGRATION" - Hybrid replication type for migration. // "CONTINUOUS_REPLICATION" - Hybrid replication type for continuous // replication. HybridReplicationType string `json:"hybridReplicationType,omitempty"` // Labels: Resource labels to represent user provided metadata. Labels map[string]string `json:"labels,omitempty"` // MirrorState: Output only. Indicates the state of mirroring. // // Possible values: // "MIRROR_STATE_UNSPECIFIED" - Unspecified MirrorState // "PREPARING" - Destination volume is being prepared. // "MIRRORED" - Destination volume has been initialized and is ready to // receive replication transfers. // "STOPPED" - Destination volume is not receiving replication transfers. // "TRANSFERRING" - Incremental replication is in progress. // "BASELINE_TRANSFERRING" - Baseline replication is in progress. // "ABORTED" - Replication is aborted. MirrorState string `json:"mirrorState,omitempty"` // Name: Identifier. The resource name of the Replication. Format: // `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/ // {replication_id}`. Name string `json:"name,omitempty"` // ReplicationSchedule: Required. Indicates the schedule for replication. // // Possible values: // "REPLICATION_SCHEDULE_UNSPECIFIED" - Unspecified ReplicationSchedule // "EVERY_10_MINUTES" - Replication happens once every 10 minutes. // "HOURLY" - Replication happens once every hour. // "DAILY" - Replication happens once every day. ReplicationSchedule string `json:"replicationSchedule,omitempty"` // Role: Output only. Indicates whether this points to source or destination. // // Possible values: // "REPLICATION_ROLE_UNSPECIFIED" - Unspecified replication role // "SOURCE" - Indicates Source volume. // "DESTINATION" - Indicates Destination volume. Role string `json:"role,omitempty"` // SourceVolume: Output only. Full name of source volume resource. Example : // "projects/{project}/locations/{location}/volumes/{volume_id}" SourceVolume string `json:"sourceVolume,omitempty"` // State: Output only. State of the replication. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified replication State // "CREATING" - Replication is creating. // "READY" - Replication is ready. // "UPDATING" - Replication is updating. // "DELETING" - Replication is deleting. // "ERROR" - Replication is in error state. // "PENDING_CLUSTER_PEERING" - Replication is waiting for cluster peering to // be established. // "PENDING_SVM_PEERING" - Replication is waiting for SVM peering to be // established. State string `json:"state,omitempty"` // StateDetails: Output only. State details of the replication. StateDetails string `json:"stateDetails,omitempty"` // TransferStats: Output only. Replication transfer statistics. TransferStats *TransferStats `json:"transferStats,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ClusterLocation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterLocation") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Replication: Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.
func (Replication) MarshalJSON ¶
func (s Replication) MarshalJSON() ([]byte, error)
type RestoreParameters ¶
type RestoreParameters struct { // SourceBackup: Full name of the backup resource. Format: // projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backup // s/{backup_id} SourceBackup string `json:"sourceBackup,omitempty"` // SourceSnapshot: Full name of the snapshot resource. Format: // projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} SourceSnapshot string `json:"sourceSnapshot,omitempty"` // ForceSendFields is a list of field names (e.g. "SourceBackup") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SourceBackup") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
RestoreParameters: The RestoreParameters if volume is created from a snapshot or backup.
func (RestoreParameters) MarshalJSON ¶
func (s RestoreParameters) MarshalJSON() ([]byte, error)
type ResumeReplicationRequest ¶
type ResumeReplicationRequest struct { }
ResumeReplicationRequest: ResumeReplicationRequest resumes a stopped replication.
type ReverseReplicationDirectionRequest ¶
type ReverseReplicationDirectionRequest struct { }
ReverseReplicationDirectionRequest: ReverseReplicationDirectionRequest reverses direction of replication. Source becomes destination and destination becomes source.
type RevertVolumeRequest ¶
type RevertVolumeRequest struct { // SnapshotId: Required. The snapshot resource ID, in the format 'my-snapshot', // where the specified ID is the {snapshot_id} of the fully qualified name like // projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{ // snapshot_id} SnapshotId string `json:"snapshotId,omitempty"` // ForceSendFields is a list of field names (e.g. "SnapshotId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SnapshotId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
RevertVolumeRequest: RevertVolumeRequest reverts the given volume to the specified snapshot.
func (RevertVolumeRequest) MarshalJSON ¶
func (s RevertVolumeRequest) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.
type SimpleExportPolicyRule ¶
type SimpleExportPolicyRule struct { // AccessType: Access type (ReadWrite, ReadOnly, None) // // Possible values: // "ACCESS_TYPE_UNSPECIFIED" - Unspecified Access Type // "READ_ONLY" - Read Only // "READ_WRITE" - Read Write // "READ_NONE" - None AccessType string `json:"accessType,omitempty"` // AllowedClients: Comma separated list of allowed clients IP addresses AllowedClients string `json:"allowedClients,omitempty"` // HasRootAccess: Whether Unix root access will be granted. HasRootAccess string `json:"hasRootAccess,omitempty"` // Kerberos5ReadOnly: If enabled (true) the rule defines a read only access for // clients matching the 'allowedClients' specification. It enables nfs clients // to mount using 'authentication' kerberos security mode. Kerberos5ReadOnly bool `json:"kerberos5ReadOnly,omitempty"` // Kerberos5ReadWrite: If enabled (true) the rule defines read and write access // for clients matching the 'allowedClients' specification. It enables nfs // clients to mount using 'authentication' kerberos security mode. The // 'kerberos5ReadOnly' value be ignored if this is enabled. Kerberos5ReadWrite bool `json:"kerberos5ReadWrite,omitempty"` // Kerberos5iReadOnly: If enabled (true) the rule defines a read only access // for clients matching the 'allowedClients' specification. It enables nfs // clients to mount using 'integrity' kerberos security mode. Kerberos5iReadOnly bool `json:"kerberos5iReadOnly,omitempty"` // Kerberos5iReadWrite: If enabled (true) the rule defines read and write // access for clients matching the 'allowedClients' specification. It enables // nfs clients to mount using 'integrity' kerberos security mode. The // 'kerberos5iReadOnly' value be ignored if this is enabled. Kerberos5iReadWrite bool `json:"kerberos5iReadWrite,omitempty"` // Kerberos5pReadOnly: If enabled (true) the rule defines a read only access // for clients matching the 'allowedClients' specification. It enables nfs // clients to mount using 'privacy' kerberos security mode. Kerberos5pReadOnly bool `json:"kerberos5pReadOnly,omitempty"` // Kerberos5pReadWrite: If enabled (true) the rule defines read and write // access for clients matching the 'allowedClients' specification. It enables // nfs clients to mount using 'privacy' kerberos security mode. The // 'kerberos5pReadOnly' value be ignored if this is enabled. Kerberos5pReadWrite bool `json:"kerberos5pReadWrite,omitempty"` // Nfsv3: NFS V3 protocol. Nfsv3 bool `json:"nfsv3,omitempty"` // Nfsv4: NFS V4 protocol. Nfsv4 bool `json:"nfsv4,omitempty"` // ForceSendFields is a list of field names (e.g. "AccessType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccessType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SimpleExportPolicyRule: An export policy rule describing various export options.
func (SimpleExportPolicyRule) MarshalJSON ¶
func (s SimpleExportPolicyRule) MarshalJSON() ([]byte, error)
type Snapshot ¶
type Snapshot struct { // CreateTime: Output only. The time when the snapshot was created. CreateTime string `json:"createTime,omitempty"` // Description: A description of the snapshot with 2048 characters or less. // Requests with longer descriptions will be rejected. Description string `json:"description,omitempty"` // Labels: Resource labels to represent user provided metadata. Labels map[string]string `json:"labels,omitempty"` // Name: Identifier. The resource name of the snapshot. Format: // `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{sn // apshot_id}`. Name string `json:"name,omitempty"` // State: Output only. The snapshot state. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified Snapshot State // "READY" - Snapshot State is Ready // "CREATING" - Snapshot State is Creating // "DELETING" - Snapshot State is Deleting // "UPDATING" - Snapshot State is Updating // "DISABLED" - Snapshot State is Disabled // "ERROR" - Snapshot State is Error State string `json:"state,omitempty"` // StateDetails: Output only. State details of the storage pool StateDetails string `json:"stateDetails,omitempty"` // UsedBytes: Output only. Current storage usage for the snapshot in bytes. UsedBytes float64 `json:"usedBytes,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Snapshot: Snapshot is a point-in-time version of a Volume's content.
func (Snapshot) MarshalJSON ¶
func (*Snapshot) UnmarshalJSON ¶
type SnapshotPolicy ¶
type SnapshotPolicy struct { // DailySchedule: Daily schedule policy. DailySchedule *DailySchedule `json:"dailySchedule,omitempty"` // Enabled: If enabled, make snapshots automatically according to the // schedules. Default is false. Enabled bool `json:"enabled,omitempty"` // HourlySchedule: Hourly schedule policy. HourlySchedule *HourlySchedule `json:"hourlySchedule,omitempty"` // MonthlySchedule: Monthly schedule policy. MonthlySchedule *MonthlySchedule `json:"monthlySchedule,omitempty"` // WeeklySchedule: Weekly schedule policy. WeeklySchedule *WeeklySchedule `json:"weeklySchedule,omitempty"` // ForceSendFields is a list of field names (e.g. "DailySchedule") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DailySchedule") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SnapshotPolicy: Snapshot Policy for a volume.
func (SnapshotPolicy) MarshalJSON ¶
func (s SnapshotPolicy) MarshalJSON() ([]byte, error)
type Status ¶
type Status struct { // Code: The status code, which should be an enum value of google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a common // set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in English. Any // user-facing error message should be localized and sent in the // google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Code") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
func (Status) MarshalJSON ¶
type StopReplicationRequest ¶
type StopReplicationRequest struct { // Force: Indicates whether to stop replication forcefully while data transfer // is in progress. Warning! if force is true, this will abort any current // transfers and can lead to data loss due to partial transfer. If force is // false, stop replication will fail while data transfer is in progress and you // will need to retry later. Force bool `json:"force,omitempty"` // ForceSendFields is a list of field names (e.g. "Force") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Force") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
StopReplicationRequest: StopReplicationRequest stops a replication until resumed.
func (StopReplicationRequest) MarshalJSON ¶
func (s StopReplicationRequest) MarshalJSON() ([]byte, error)
type StoragePool ¶
type StoragePool struct { // ActiveDirectory: Optional. Specifies the Active Directory to be used for // creating a SMB volume. ActiveDirectory string `json:"activeDirectory,omitempty"` // AllowAutoTiering: Optional. True if the storage pool supports Auto Tiering // enabled volumes. Default is false. Auto-tiering can be enabled after storage // pool creation but it can't be disabled once enabled. AllowAutoTiering bool `json:"allowAutoTiering,omitempty"` // CapacityGib: Required. Capacity in GIB of the pool CapacityGib int64 `json:"capacityGib,omitempty,string"` // CreateTime: Output only. Create time of the storage pool CreateTime string `json:"createTime,omitempty"` // Description: Optional. Description of the storage pool Description string `json:"description,omitempty"` // EncryptionType: Output only. Specifies the current pool encryption key // source. // // Possible values: // "ENCRYPTION_TYPE_UNSPECIFIED" - The source of the encryption key is not // specified. // "SERVICE_MANAGED" - Google managed encryption key. // "CLOUD_KMS" - Customer managed encryption key, which is stored in KMS. EncryptionType string `json:"encryptionType,omitempty"` // GlobalAccessAllowed: Deprecated. Used to allow SO pool to access AD or DNS // server from other regions. GlobalAccessAllowed bool `json:"globalAccessAllowed,omitempty"` // KmsConfig: Optional. Specifies the KMS config to be used for volume // encryption. KmsConfig string `json:"kmsConfig,omitempty"` // Labels: Optional. Labels as key value pairs Labels map[string]string `json:"labels,omitempty"` // LdapEnabled: Optional. Flag indicating if the pool is NFS LDAP enabled or // not. LdapEnabled bool `json:"ldapEnabled,omitempty"` // Name: Identifier. Name of the storage pool Name string `json:"name,omitempty"` // Network: Required. VPC Network name. Format: // projects/{project}/global/networks/{network} Network string `json:"network,omitempty"` // PsaRange: Optional. This field is not implemented. The values provided in // this field are ignored. PsaRange string `json:"psaRange,omitempty"` // ReplicaZone: Optional. Specifies the replica zone for regional storagePool. ReplicaZone string `json:"replicaZone,omitempty"` // SatisfiesPzi: Output only. Reserved for future use SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` // SatisfiesPzs: Output only. Reserved for future use SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // ServiceLevel: Required. Service level of the storage pool // // Possible values: // "SERVICE_LEVEL_UNSPECIFIED" - Unspecified service level. // "PREMIUM" - Premium service level. // "EXTREME" - Extreme service level. // "STANDARD" - Standard service level. // "FLEX" - Flex service level. ServiceLevel string `json:"serviceLevel,omitempty"` // State: Output only. State of the storage pool // // Possible values: // "STATE_UNSPECIFIED" - Unspecified Storage Pool State // "READY" - Storage Pool State is Ready // "CREATING" - Storage Pool State is Creating // "DELETING" - Storage Pool State is Deleting // "UPDATING" - Storage Pool State is Updating // "RESTORING" - Storage Pool State is Restoring // "DISABLED" - Storage Pool State is Disabled // "ERROR" - Storage Pool State is Error State string `json:"state,omitempty"` // StateDetails: Output only. State details of the storage pool StateDetails string `json:"stateDetails,omitempty"` // VolumeCapacityGib: Output only. Allocated size of all volumes in GIB in the // storage pool VolumeCapacityGib int64 `json:"volumeCapacityGib,omitempty,string"` // VolumeCount: Output only. Volume count of the storage pool VolumeCount int64 `json:"volumeCount,omitempty"` // Zone: Optional. Specifies the active zone for regional storagePool. Zone string `json:"zone,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ActiveDirectory") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveDirectory") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
StoragePool: StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.
func (StoragePool) MarshalJSON ¶
func (s StoragePool) MarshalJSON() ([]byte, error)
type SwitchActiveReplicaZoneRequest ¶
type SwitchActiveReplicaZoneRequest struct { }
SwitchActiveReplicaZoneRequest: SwitchActiveReplicaZoneRequest switch the active/replica zone for a regional storagePool.
type SyncReplicationRequest ¶ added in v0.207.0
type SyncReplicationRequest struct { }
SyncReplicationRequest: SyncReplicationRequest syncs the replication from source to destination.
type TieringPolicy ¶
type TieringPolicy struct { // CoolingThresholdDays: Optional. Time in days to mark the volume's data block // as cold and make it eligible for tiering, can be range from 7-183. Default // is 31. CoolingThresholdDays int64 `json:"coolingThresholdDays,omitempty"` // TierAction: Optional. Flag indicating if the volume has tiering policy // enable/pause. Default is PAUSED. // // Possible values: // "TIER_ACTION_UNSPECIFIED" - Unspecified. // "ENABLED" - When tiering is enabled, new cold data will be tiered. // "PAUSED" - When paused, tiering won't be performed on new data. Existing // data stays tiered until accessed. TierAction string `json:"tierAction,omitempty"` // ForceSendFields is a list of field names (e.g. "CoolingThresholdDays") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CoolingThresholdDays") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TieringPolicy: Defines tiering policy for the volume.
func (TieringPolicy) MarshalJSON ¶
func (s TieringPolicy) MarshalJSON() ([]byte, error)
type TransferStats ¶
type TransferStats struct { // LagDuration: Lag duration indicates the duration by which Destination region // volume content lags behind the primary region volume content. LagDuration string `json:"lagDuration,omitempty"` // LastTransferBytes: Last transfer size in bytes. LastTransferBytes int64 `json:"lastTransferBytes,omitempty,string"` // LastTransferDuration: Time taken during last transfer. LastTransferDuration string `json:"lastTransferDuration,omitempty"` // LastTransferEndTime: Time when last transfer completed. LastTransferEndTime string `json:"lastTransferEndTime,omitempty"` // LastTransferError: A message describing the cause of the last transfer // failure. LastTransferError string `json:"lastTransferError,omitempty"` // TotalTransferDuration: Cumulative time taken across all transfers for the // replication relationship. TotalTransferDuration string `json:"totalTransferDuration,omitempty"` // TransferBytes: Cumulative bytes trasferred so far for the replication // relatinonship. TransferBytes int64 `json:"transferBytes,omitempty,string"` // UpdateTime: Time when progress was updated last. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "LagDuration") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LagDuration") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TransferStats: TransferStats reports all statistics related to replication transfer.
func (TransferStats) MarshalJSON ¶
func (s TransferStats) MarshalJSON() ([]byte, error)
type ValidateDirectoryServiceRequest ¶ added in v0.211.0
type ValidateDirectoryServiceRequest struct { // DirectoryServiceType: Type of directory service policy attached to the // storage pool. // // Possible values: // "DIRECTORY_SERVICE_TYPE_UNSPECIFIED" - Directory service type is not // specified. // "ACTIVE_DIRECTORY" - Active directory policy attached to the storage pool. DirectoryServiceType string `json:"directoryServiceType,omitempty"` // ForceSendFields is a list of field names (e.g. "DirectoryServiceType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DirectoryServiceType") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ValidateDirectoryServiceRequest: ValidateDirectoryServiceRequest validates the directory service policy attached to the storage pool.
func (ValidateDirectoryServiceRequest) MarshalJSON ¶ added in v0.211.0
func (s ValidateDirectoryServiceRequest) MarshalJSON() ([]byte, error)
type VerifyKmsConfigRequest ¶
type VerifyKmsConfigRequest struct { }
VerifyKmsConfigRequest: VerifyKmsConfigRequest specifies the KMS config to be validated.
type VerifyKmsConfigResponse ¶
type VerifyKmsConfigResponse struct { // HealthError: Output only. Error message if config is not healthy. HealthError string `json:"healthError,omitempty"` // Healthy: Output only. If the customer key configured correctly to the // encrypt volume. Healthy bool `json:"healthy,omitempty"` // Instructions: Output only. Instructions for the customers to provide the // access to the encryption key. Instructions string `json:"instructions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "HealthError") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HealthError") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VerifyKmsConfigResponse: VerifyKmsConfigResponse contains the information if the config is correctly and error message.
func (VerifyKmsConfigResponse) MarshalJSON ¶
func (s VerifyKmsConfigResponse) MarshalJSON() ([]byte, error)
type Volume ¶
type Volume struct { // ActiveDirectory: Output only. Specifies the ActiveDirectory name of a SMB // volume. ActiveDirectory string `json:"activeDirectory,omitempty"` // BackupConfig: BackupConfig of the volume. BackupConfig *BackupConfig `json:"backupConfig,omitempty"` // CapacityGib: Required. Capacity in GIB of the volume CapacityGib int64 `json:"capacityGib,omitempty,string"` // ColdTierSizeGib: Output only. Size of the volume cold tier data in GiB. ColdTierSizeGib int64 `json:"coldTierSizeGib,omitempty,string"` // CreateTime: Output only. Create time of the volume CreateTime string `json:"createTime,omitempty"` // Description: Optional. Description of the volume Description string `json:"description,omitempty"` // EncryptionType: Output only. Specified the current volume encryption key // source. // // Possible values: // "ENCRYPTION_TYPE_UNSPECIFIED" - The source of the encryption key is not // specified. // "SERVICE_MANAGED" - Google managed encryption key. // "CLOUD_KMS" - Customer managed encryption key, which is stored in KMS. EncryptionType string `json:"encryptionType,omitempty"` // ExportPolicy: Optional. Export policy of the volume ExportPolicy *ExportPolicy `json:"exportPolicy,omitempty"` // HasReplication: Output only. Indicates whether the volume is part of a // replication relationship. HasReplication bool `json:"hasReplication,omitempty"` // HybridReplicationParameters: Optional. The Hybrid Replication parameters for // the volume. HybridReplicationParameters *HybridReplicationParameters `json:"hybridReplicationParameters,omitempty"` // KerberosEnabled: Optional. Flag indicating if the volume is a kerberos // volume or not, export policy rules control kerberos security modes (krb5, // krb5i, krb5p). KerberosEnabled bool `json:"kerberosEnabled,omitempty"` // KmsConfig: Output only. Specifies the KMS config to be used for volume // encryption. KmsConfig string `json:"kmsConfig,omitempty"` // Labels: Optional. Labels as key value pairs Labels map[string]string `json:"labels,omitempty"` // LargeCapacity: Optional. Flag indicating if the volume will be a large // capacity volume or a regular volume. LargeCapacity bool `json:"largeCapacity,omitempty"` // LdapEnabled: Output only. Flag indicating if the volume is NFS LDAP enabled // or not. LdapEnabled bool `json:"ldapEnabled,omitempty"` // MountOptions: Output only. Mount options of this volume MountOptions []*MountOption `json:"mountOptions,omitempty"` // MultipleEndpoints: Optional. Flag indicating if the volume will have an IP // address per node for volumes supporting multiple IP endpoints. Only the // volume with large_capacity will be allowed to have multiple endpoints. MultipleEndpoints bool `json:"multipleEndpoints,omitempty"` // Name: Identifier. Name of the volume Name string `json:"name,omitempty"` // Network: Output only. VPC Network name. Format: // projects/{project}/global/networks/{network} Network string `json:"network,omitempty"` // Protocols: Required. Protocols required for the volume // // Possible values: // "PROTOCOLS_UNSPECIFIED" - Unspecified protocol // "NFSV3" - NFS V3 protocol // "NFSV4" - NFS V4 protocol // "SMB" - SMB protocol Protocols []string `json:"protocols,omitempty"` // PsaRange: Output only. This field is not implemented. The values provided in // this field are ignored. PsaRange string `json:"psaRange,omitempty"` // ReplicaZone: Output only. Specifies the replica zone for regional volume. ReplicaZone string `json:"replicaZone,omitempty"` // RestoreParameters: Optional. Specifies the source of the volume to be // created from. RestoreParameters *RestoreParameters `json:"restoreParameters,omitempty"` // RestrictedActions: Optional. List of actions that are restricted on this // volume. // // Possible values: // "RESTRICTED_ACTION_UNSPECIFIED" - Unspecified restricted action // "DELETE" - Prevent volume from being deleted when mounted. RestrictedActions []string `json:"restrictedActions,omitempty"` // SecurityStyle: Optional. Security Style of the Volume // // Possible values: // "SECURITY_STYLE_UNSPECIFIED" - SecurityStyle is unspecified // "NTFS" - SecurityStyle uses NTFS // "UNIX" - SecurityStyle uses UNIX SecurityStyle string `json:"securityStyle,omitempty"` // ServiceLevel: Output only. Service level of the volume // // Possible values: // "SERVICE_LEVEL_UNSPECIFIED" - Unspecified service level. // "PREMIUM" - Premium service level. // "EXTREME" - Extreme service level. // "STANDARD" - Standard service level. // "FLEX" - Flex service level. ServiceLevel string `json:"serviceLevel,omitempty"` ShareName string `json:"shareName,omitempty"` // SmbSettings: Optional. SMB share settings for the volume. // // Possible values: // "SMB_SETTINGS_UNSPECIFIED" - Unspecified default option // "ENCRYPT_DATA" - SMB setting encrypt data // "BROWSABLE" - SMB setting browsable // "CHANGE_NOTIFY" - SMB setting notify change // "NON_BROWSABLE" - SMB setting not to notify change // "OPLOCKS" - SMB setting oplocks // "SHOW_SNAPSHOT" - SMB setting to show snapshots // "SHOW_PREVIOUS_VERSIONS" - SMB setting to show previous versions // "ACCESS_BASED_ENUMERATION" - SMB setting to access volume based on // enumerartion // "CONTINUOUSLY_AVAILABLE" - Continuously available enumeration SmbSettings []string `json:"smbSettings,omitempty"` // SnapReserve: Optional. Snap_reserve specifies percentage of volume storage // reserved for snapshot storage. Default is 0 percent. SnapReserve float64 `json:"snapReserve,omitempty"` // SnapshotDirectory: Optional. Snapshot_directory if enabled (true) the volume // will contain a read-only .snapshot directory which provides access to each // of the volume's snapshots. SnapshotDirectory bool `json:"snapshotDirectory,omitempty"` // SnapshotPolicy: Optional. SnapshotPolicy for a volume. SnapshotPolicy *SnapshotPolicy `json:"snapshotPolicy,omitempty"` // State: Output only. State of the volume // // Possible values: // "STATE_UNSPECIFIED" - Unspecified Volume State // "READY" - Volume State is Ready // "CREATING" - Volume State is Creating // "DELETING" - Volume State is Deleting // "UPDATING" - Volume State is Updating // "RESTORING" - Volume State is Restoring // "DISABLED" - Volume State is Disabled // "ERROR" - Volume State is Error // "PREPARING" - Volume State is Preparing. Note that this is different from // CREATING where CREATING means the volume is being created, while PREPARING // means the volume is created and now being prepared for the replication. // "READ_ONLY" - Volume State is Read Only State string `json:"state,omitempty"` // StateDetails: Output only. State details of the volume StateDetails string `json:"stateDetails,omitempty"` // StoragePool: Required. StoragePool name of the volume StoragePool string `json:"storagePool,omitempty"` // TieringPolicy: Tiering policy for the volume. TieringPolicy *TieringPolicy `json:"tieringPolicy,omitempty"` // UnixPermissions: Optional. Default unix style permission (e.g. 777) the // mount point will be created with. Applicable for NFS protocol types only. UnixPermissions string `json:"unixPermissions,omitempty"` // UsedGib: Output only. Used capacity in GIB of the volume. This is computed // periodically and it does not represent the realtime usage. UsedGib int64 `json:"usedGib,omitempty,string"` // Zone: Output only. Specifies the active zone for regional volume. Zone string `json:"zone,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ActiveDirectory") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveDirectory") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Volume: Volume provides a filesystem that you can mount.
func (Volume) MarshalJSON ¶
func (*Volume) UnmarshalJSON ¶
type WeeklySchedule ¶
type WeeklySchedule struct { // Day: Set the day or days of the week to make a snapshot. Accepts a comma // separated days of the week. Defaults to 'Sunday'. Day string `json:"day,omitempty"` // Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0). Hour float64 `json:"hour,omitempty"` // Minute: Set the minute of the hour to start the snapshot (0-59), defaults to // the top of the hour (0). Minute float64 `json:"minute,omitempty"` // SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly // schedule SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Day") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
WeeklySchedule: Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50
func (WeeklySchedule) MarshalJSON ¶
func (s WeeklySchedule) MarshalJSON() ([]byte, error)
func (*WeeklySchedule) UnmarshalJSON ¶
func (s *WeeklySchedule) UnmarshalJSON(data []byte) error