parallelstore
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package parallelstore provides access to the Parallelstore API.
For product documentation, see:https://cloud.google.com/parallelstore
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/parallelstore/v1"...ctx := context.Background()parallelstoreService, err := parallelstore.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
parallelstoreService, err := parallelstore.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)parallelstoreService, err := parallelstore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type CancelOperationRequest
- type DestinationGcsBucket
- type DestinationParallelstore
- type ExportDataRequest
- type GoogleProtobufEmpty
- type ImportDataRequest
- type Instance
- type ListInstancesResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type Location
- type Operation
- type OperationMetadata
- 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 ProjectsLocationsInstancesCreateCall
- func (c *ProjectsLocationsInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsInstancesCreateCall
- func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesCreateCall
- func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header
- func (c *ProjectsLocationsInstancesCreateCall) InstanceId(instanceId string) *ProjectsLocationsInstancesCreateCall
- func (c *ProjectsLocationsInstancesCreateCall) RequestId(requestId string) *ProjectsLocationsInstancesCreateCall
- type ProjectsLocationsInstancesDeleteCall
- func (c *ProjectsLocationsInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsInstancesDeleteCall
- func (c *ProjectsLocationsInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesDeleteCall
- func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsInstancesDeleteCall) RequestId(requestId string) *ProjectsLocationsInstancesDeleteCall
- type ProjectsLocationsInstancesExportDataCall
- func (c *ProjectsLocationsInstancesExportDataCall) Context(ctx context.Context) *ProjectsLocationsInstancesExportDataCall
- func (c *ProjectsLocationsInstancesExportDataCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsInstancesExportDataCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesExportDataCall
- func (c *ProjectsLocationsInstancesExportDataCall) Header() http.Header
- type ProjectsLocationsInstancesGetCall
- func (c *ProjectsLocationsInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsInstancesGetCall
- func (c *ProjectsLocationsInstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance, error)
- func (c *ProjectsLocationsInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetCall
- func (c *ProjectsLocationsInstancesGetCall) Header() http.Header
- func (c *ProjectsLocationsInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesGetCall
- type ProjectsLocationsInstancesImportDataCall
- func (c *ProjectsLocationsInstancesImportDataCall) Context(ctx context.Context) *ProjectsLocationsInstancesImportDataCall
- func (c *ProjectsLocationsInstancesImportDataCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsInstancesImportDataCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesImportDataCall
- func (c *ProjectsLocationsInstancesImportDataCall) Header() http.Header
- type ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) Context(ctx context.Context) *ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) Do(opts ...googleapi.CallOption) (*ListInstancesResponse, error)
- func (c *ProjectsLocationsInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) Filter(filter string) *ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) Header() http.Header
- func (c *ProjectsLocationsInstancesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) OrderBy(orderBy string) *ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) PageToken(pageToken string) *ProjectsLocationsInstancesListCall
- func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error
- type ProjectsLocationsInstancesPatchCall
- func (c *ProjectsLocationsInstancesPatchCall) Context(ctx context.Context) *ProjectsLocationsInstancesPatchCall
- func (c *ProjectsLocationsInstancesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesPatchCall
- func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header
- func (c *ProjectsLocationsInstancesPatchCall) RequestId(requestId string) *ProjectsLocationsInstancesPatchCall
- func (c *ProjectsLocationsInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsInstancesPatchCall
- type ProjectsLocationsInstancesService
- func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall
- func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall
- func (r *ProjectsLocationsInstancesService) ExportData(name string, exportdatarequest *ExportDataRequest) *ProjectsLocationsInstancesExportDataCall
- func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall
- func (r *ProjectsLocationsInstancesService) ImportData(name string, importdatarequest *ImportDataRequest) *ProjectsLocationsInstancesImportDataCall
- func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall
- func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsService
- type ReconciliationOperationMetadata
- type Service
- type SourceGcsBucket
- type SourceParallelstore
- type Status
- type TransferMetadataOptions
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¶
typeCancelOperationRequest¶
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeDestinationGcsBucket¶
type DestinationGcsBucket struct {// Uri: Required. URI to a Cloud Storage bucket in the format: `gs:///`. The// path inside the bucket is optional.Uristring `json:"uri,omitempty"`// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Uri") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}DestinationGcsBucket: Cloud Storage as the destination of a data transfer.
func (DestinationGcsBucket)MarshalJSON¶
func (sDestinationGcsBucket) MarshalJSON() ([]byte,error)
typeDestinationParallelstore¶
type DestinationParallelstore struct {// Path: Optional. Root directory path to the Paralellstore filesystem,// starting with `/`. Defaults to `/` if unset.Pathstring `json:"path,omitempty"`// ForceSendFields is a list of field names (e.g. "Path") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Path") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}DestinationParallelstore: Parallelstore as the destination of a datatransfer.
func (DestinationParallelstore)MarshalJSON¶
func (sDestinationParallelstore) MarshalJSON() ([]byte,error)
typeExportDataRequest¶
type ExportDataRequest struct {// DestinationGcsBucket: Cloud Storage destination.DestinationGcsBucket *DestinationGcsBucket `json:"destinationGcsBucket,omitempty"`// MetadataOptions: Optional. The metadata options for the export data.MetadataOptions *TransferMetadataOptions `json:"metadataOptions,omitempty"`// RequestId: Optional. An optional request ID to identify requests. Specify a// unique request ID so that if you must retry your request, the server will// know to ignore the request if it has already been completed. The server will// guarantee that for at least 60 minutes since the first request. For example,// consider a situation where you make an initial request and the request times// out. If you make the request again with the same request ID, the server can// check if original operation with the same request ID was received, and if// so, will ignore the second request. This prevents clients from accidentally// creating duplicate commitments. The request ID must be a valid UUID with the// exception that zero UUID is not supported// (00000000-0000-0000-0000-000000000000).RequestIdstring `json:"requestId,omitempty"`// ServiceAccount: Optional. User-specified Service Account (SA) credentials to// be used when performing the transfer. Use one of the following formats: *// `{EMAIL_ADDRESS_OR_UNIQUE_ID}` *// `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}// ` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If// unspecified, the Parallelstore service agent is used:// `service-@gcp-sa-parallelstore.iam.gserviceaccount.com`ServiceAccountstring `json:"serviceAccount,omitempty"`// SourceParallelstore: Parallelstore source.SourceParallelstore *SourceParallelstore `json:"sourceParallelstore,omitempty"`// ForceSendFields is a list of field names (e.g. "DestinationGcsBucket") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DestinationGcsBucket") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ExportDataRequest: Export data from Parallelstore to Cloud Storage.
func (ExportDataRequest)MarshalJSON¶
func (sExportDataRequest) MarshalJSON() ([]byte,error)
typeGoogleProtobufEmpty¶
type GoogleProtobufEmpty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}GoogleProtobufEmpty: A generic empty message that you can re-use to avoiddefining duplicated empty messages in your APIs. A typical example is to useit as the request or the response type of an API method. For instance:service Foo { rpc Bar(google.protobuf.Empty) returns(google.protobuf.Empty); }
typeImportDataRequest¶
type ImportDataRequest struct {// DestinationParallelstore: Parallelstore destination.DestinationParallelstore *DestinationParallelstore `json:"destinationParallelstore,omitempty"`// MetadataOptions: Optional. The transfer metadata options for the import// data.MetadataOptions *TransferMetadataOptions `json:"metadataOptions,omitempty"`// RequestId: Optional. An optional request ID to identify requests. Specify a// unique request ID so that if you must retry your request, the server will// know to ignore the request if it has already been completed. The server will// guarantee that for at least 60 minutes since the first request. For example,// consider a situation where you make an initial request and the request times// out. If you make the request again with the same request ID, the server can// check if original operation with the same request ID was received, and if// so, will ignore the second request. This prevents clients from accidentally// creating duplicate commitments. The request ID must be a valid UUID with the// exception that zero UUID is not supported// (00000000-0000-0000-0000-000000000000).RequestIdstring `json:"requestId,omitempty"`// ServiceAccount: Optional. User-specified service account credentials to be// used when performing the transfer. Use one of the following formats: *// `{EMAIL_ADDRESS_OR_UNIQUE_ID}` *// `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}// ` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If// unspecified, the Parallelstore service agent is used:// `service-@gcp-sa-parallelstore.iam.gserviceaccount.com`ServiceAccountstring `json:"serviceAccount,omitempty"`// SourceGcsBucket: The Cloud Storage source bucket and, optionally, path// inside the bucket.SourceGcsBucket *SourceGcsBucket `json:"sourceGcsBucket,omitempty"`// ForceSendFields is a list of field names (e.g. "DestinationParallelstore")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DestinationParallelstore") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ImportDataRequest: Import data from Cloud Storage into a Parallelstoreinstance.
func (ImportDataRequest)MarshalJSON¶
func (sImportDataRequest) MarshalJSON() ([]byte,error)
typeInstance¶
type Instance struct {// AccessPoints: Output only. A list of IPv4 addresses used for client side// configuration.AccessPoints []string `json:"accessPoints,omitempty"`// CapacityGib: Required. Immutable. The instance's storage capacity in// Gibibytes (GiB). Allowed values are between 12000 and 100000, in multiples// of 4000; e.g., 12000, 16000, 20000, ...CapacityGibint64 `json:"capacityGib,omitempty,string"`// CreateTime: Output only. The time when the instance was created.CreateTimestring `json:"createTime,omitempty"`// DaosVersion: Output only. Deprecated: The version of DAOS software running// in the instance.DaosVersionstring `json:"daosVersion,omitempty"`// DeploymentType: Optional. Immutable. The deployment type of the instance.// Allowed values are: * `SCRATCH`: the instance is a scratch instance. *// `PERSISTENT`: the instance is a persistent instance.//// Possible values:// "DEPLOYMENT_TYPE_UNSPECIFIED" - Default Deployment Type It is equivalent// to SCRATCH// "SCRATCH" - Scratch// "PERSISTENT" - PersistentDeploymentTypestring `json:"deploymentType,omitempty"`// Description: Optional. The description of the instance. 2048 characters or// less.Descriptionstring `json:"description,omitempty"`// DirectoryStripeLevel: Optional. Immutable. Stripe level for directories.// Allowed values are: * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when// directories contain a small number of files. *// `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads// involving a mix of small and large directories. *// `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large// number of files.//// Possible values:// "DIRECTORY_STRIPE_LEVEL_UNSPECIFIED" - If not set, DirectoryStripeLevel// will default to DIRECTORY_STRIPE_LEVEL_MAX// "DIRECTORY_STRIPE_LEVEL_MIN" - Minimum directory striping// "DIRECTORY_STRIPE_LEVEL_BALANCED" - Medium directory striping// "DIRECTORY_STRIPE_LEVEL_MAX" - Maximum directory stripingDirectoryStripeLevelstring `json:"directoryStripeLevel,omitempty"`// EffectiveReservedIpRange: Output only. Immutable. The ID of the IP address// range being used by the instance's VPC network. This field is populated by// the service and contains the value currently used by the service.EffectiveReservedIpRangestring `json:"effectiveReservedIpRange,omitempty"`// FileStripeLevel: Optional. Immutable. Stripe level for files. Allowed values// are: * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size// files. * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads// involving a mix of small and large files. * `FILE_STRIPE_LEVEL_MAX`: higher// throughput performance for larger files.//// Possible values:// "FILE_STRIPE_LEVEL_UNSPECIFIED" - If not set, FileStripeLevel will default// to FILE_STRIPE_LEVEL_BALANCED// "FILE_STRIPE_LEVEL_MIN" - Minimum file striping// "FILE_STRIPE_LEVEL_BALANCED" - Medium file striping// "FILE_STRIPE_LEVEL_MAX" - Maximum file stripingFileStripeLevelstring `json:"fileStripeLevel,omitempty"`// Labels: Optional. Cloud Labels are a flexible and lightweight mechanism for// organizing cloud resources into groups that reflect a customer's// organizational needs and deployment strategies. See//https://cloud.google.com/resource-manager/docs/labels-overview for details.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name of the instance, in the format// `projects/{project}/locations/{location}/instances/{instance_id}`.Namestring `json:"name,omitempty"`// Network: Optional. Immutable. The name of the Compute Engine VPC network// (https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.Networkstring `json:"network,omitempty"`// ReservedIpRange: Optional. Immutable. The ID of the IP address range being// used by the instance's VPC network. See Configure a VPC network// (https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).// If no ID is provided, all ranges are considered.ReservedIpRangestring `json:"reservedIpRange,omitempty"`// State: Output only. The instance state.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "CREATING" - The instance is being created.// "ACTIVE" - The instance is available for use.// "DELETING" - The instance is being deleted.// "FAILED" - The instance is not usable.// "UPGRADING" - The instance is being upgraded.// "REPAIRING" - The instance is being repaired. This should only be used by// instances using the `PERSISTENT` deployment type.Statestring `json:"state,omitempty"`// UpdateTime: Output only. The time when the instance was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AccessPoints") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AccessPoints") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Instance: A Parallelstore instance.
func (Instance)MarshalJSON¶
typeListInstancesResponse¶
type ListInstancesResponse struct {// Instances: The list of Parallelstore instances.Instances []*Instance `json:"instances,omitempty"`// NextPageToken: A token identifying a page of results the server should// return.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Instances") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Instances") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListInstancesResponse: Response from ListInstances.
func (ListInstancesResponse)MarshalJSON¶
func (sListInstancesResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeOperation¶
type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶
type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have been cancelled// successfully have Operation.error value with a google.rpc.Status.code of 1,// corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationMetadata: Long-running operation metadata.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typeProjectsLocationsGetCall¶
type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetCall)Context¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,error)
Do executes the "parallelstore.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall)Fields¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsInstancesCreateCall¶
type ProjectsLocationsInstancesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesCreateCall)Context¶
func (c *ProjectsLocationsInstancesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesCreateCall)Do¶
func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "parallelstore.projects.locations.instances.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesCreateCall)Fields¶
func (c *ProjectsLocationsInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesCreateCall)Header¶
func (c *ProjectsLocationsInstancesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesCreateCall)InstanceId¶
func (c *ProjectsLocationsInstancesCreateCall) InstanceId(instanceIdstring) *ProjectsLocationsInstancesCreateCall
InstanceId sets the optional parameter "instanceId": Required. The name ofthe Parallelstore instance. * Must contain only lowercase letters, numbers,and hyphens. * Must start with a letter. * Must be between 1-63 characters.* Must end with a number or a letter. * Must be unique within the customerproject / location
func (*ProjectsLocationsInstancesCreateCall)RequestId¶
func (c *ProjectsLocationsInstancesCreateCall) RequestId(requestIdstring) *ProjectsLocationsInstancesCreateCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsInstancesDeleteCall¶
type ProjectsLocationsInstancesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesDeleteCall)Context¶
func (c *ProjectsLocationsInstancesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesDeleteCall)Do¶
func (c *ProjectsLocationsInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "parallelstore.projects.locations.instances.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesDeleteCall)Fields¶
func (c *ProjectsLocationsInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesDeleteCall)Header¶
func (c *ProjectsLocationsInstancesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesDeleteCall)RequestId¶
func (c *ProjectsLocationsInstancesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsInstancesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsInstancesExportDataCall¶
type ProjectsLocationsInstancesExportDataCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesExportDataCall)Context¶
func (c *ProjectsLocationsInstancesExportDataCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesExportDataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesExportDataCall)Do¶
func (c *ProjectsLocationsInstancesExportDataCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "parallelstore.projects.locations.instances.exportData" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesExportDataCall)Fields¶
func (c *ProjectsLocationsInstancesExportDataCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesExportDataCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesExportDataCall)Header¶
func (c *ProjectsLocationsInstancesExportDataCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsInstancesGetCall¶
type ProjectsLocationsInstancesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesGetCall)Context¶
func (c *ProjectsLocationsInstancesGetCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesGetCall)Do¶
func (c *ProjectsLocationsInstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance,error)
Do executes the "parallelstore.projects.locations.instances.get" call.Any non-2xx status code is an error. Response headers are in either*Instance.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesGetCall)Fields¶
func (c *ProjectsLocationsInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesGetCall)Header¶
func (c *ProjectsLocationsInstancesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsInstancesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsInstancesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsInstancesImportDataCall¶
type ProjectsLocationsInstancesImportDataCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesImportDataCall)Context¶
func (c *ProjectsLocationsInstancesImportDataCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesImportDataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesImportDataCall)Do¶
func (c *ProjectsLocationsInstancesImportDataCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "parallelstore.projects.locations.instances.importData" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesImportDataCall)Fields¶
func (c *ProjectsLocationsInstancesImportDataCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesImportDataCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesImportDataCall)Header¶
func (c *ProjectsLocationsInstancesImportDataCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsInstancesListCall¶
type ProjectsLocationsInstancesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesListCall)Context¶
func (c *ProjectsLocationsInstancesListCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesListCall)Do¶
func (c *ProjectsLocationsInstancesListCall) Do(opts ...googleapi.CallOption) (*ListInstancesResponse,error)
Do executes the "parallelstore.projects.locations.instances.list" call.Any non-2xx status code is an error. Response headers are in either*ListInstancesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsInstancesListCall)Fields¶
func (c *ProjectsLocationsInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesListCall)Filter¶
func (c *ProjectsLocationsInstancesListCall) Filter(filterstring) *ProjectsLocationsInstancesListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsInstancesListCall)Header¶
func (c *ProjectsLocationsInstancesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesListCall)IfNoneMatch¶
func (c *ProjectsLocationsInstancesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsInstancesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsInstancesListCall)OrderBy¶
func (c *ProjectsLocationsInstancesListCall) OrderBy(orderBystring) *ProjectsLocationsInstancesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.
func (*ProjectsLocationsInstancesListCall)PageSize¶
func (c *ProjectsLocationsInstancesListCall) PageSize(pageSizeint64) *ProjectsLocationsInstancesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, the server will pickan appropriate default.
func (*ProjectsLocationsInstancesListCall)PageToken¶
func (c *ProjectsLocationsInstancesListCall) PageToken(pageTokenstring) *ProjectsLocationsInstancesListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsInstancesListCall)Pages¶
func (c *ProjectsLocationsInstancesListCall) Pages(ctxcontext.Context, f func(*ListInstancesResponse)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.
typeProjectsLocationsInstancesPatchCall¶
type ProjectsLocationsInstancesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesPatchCall)Context¶
func (c *ProjectsLocationsInstancesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesPatchCall)Do¶
func (c *ProjectsLocationsInstancesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "parallelstore.projects.locations.instances.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesPatchCall)Fields¶
func (c *ProjectsLocationsInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesPatchCall)Header¶
func (c *ProjectsLocationsInstancesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesPatchCall)RequestId¶
func (c *ProjectsLocationsInstancesPatchCall) RequestId(requestIdstring) *ProjectsLocationsInstancesPatchCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsInstancesPatchCall)UpdateMask¶
func (c *ProjectsLocationsInstancesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsInstancesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Mask offields to update. Field mask is used to specify the fields to be overwrittenin the Instance resource by the update. At least one path must be suppliedin this field. The fields specified in the update_mask are relative to theresource, not the full request.
typeProjectsLocationsInstancesService¶
type ProjectsLocationsInstancesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsInstancesService¶
func NewProjectsLocationsInstancesService(s *Service) *ProjectsLocationsInstancesService
func (*ProjectsLocationsInstancesService)Create¶
func (r *ProjectsLocationsInstancesService) Create(parentstring, instance *Instance) *ProjectsLocationsInstancesCreateCall
Create: Creates a Parallelstore instance in a given project and location.
- parent: The instance's project and location, in the format`projects/{project}/locations/{location}`. Locations map to Google Cloudzones; for example, `us-west1-b`.
func (*ProjectsLocationsInstancesService)Delete¶
func (r *ProjectsLocationsInstancesService) Delete(namestring) *ProjectsLocationsInstancesDeleteCall
Delete: Deletes a single instance.
- name: Name of the resource.
func (*ProjectsLocationsInstancesService)ExportData¶
func (r *ProjectsLocationsInstancesService) ExportData(namestring, exportdatarequest *ExportDataRequest) *ProjectsLocationsInstancesExportDataCall
ExportData: Copies data from Parallelstore to Cloud Storage.
- name: Name of the resource.
func (*ProjectsLocationsInstancesService)Get¶
func (r *ProjectsLocationsInstancesService) Get(namestring) *ProjectsLocationsInstancesGetCall
Get: Gets details of a single instance.
- name: The instance resource name, in the format`projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (*ProjectsLocationsInstancesService)ImportData¶
func (r *ProjectsLocationsInstancesService) ImportData(namestring, importdatarequest *ImportDataRequest) *ProjectsLocationsInstancesImportDataCall
ImportData: Copies data from Cloud Storage to Parallelstore.
- name: Name of the resource.
func (*ProjectsLocationsInstancesService)List¶
func (r *ProjectsLocationsInstancesService) List(parentstring) *ProjectsLocationsInstancesListCall
List: Lists all instances in a given project and location.
- parent: The project and location for which to retrieve instanceinformation, in the format `projects/{project_id}/locations/{location}`.To retrieve instance information for all locations, use "-" as the valueof `{location}`.
func (*ProjectsLocationsInstancesService)Patch¶
func (r *ProjectsLocationsInstancesService) Patch(namestring, instance *Instance) *ProjectsLocationsInstancesPatchCall
Patch: Updates the parameters of a single instance.
- name: Identifier. The resource name of the instance, in the format`projects/{project}/locations/{location}/instances/{instance_id}`.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
Do executes the "parallelstore.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsListCall)ExtraLocationTypes¶added inv0.229.0
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.
func (*ProjectsLocationsListCall)Fields¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).
func (*ProjectsLocationsListCall)Header¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsOperationsCancelCall¶
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "parallelstore.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsCancelCall)Fields¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶
func (c *ProjectsLocationsOperationsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty,error)
Do executes the "parallelstore.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsDeleteCall)Fields¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "parallelstore.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall)Fields¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "parallelstore.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccess¶added inv0.252.0
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService)Delete¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService)Get¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {Instances *ProjectsLocationsInstancesServiceOperations *ProjectsLocationsOperationsService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeReconciliationOperationMetadata¶added inv0.224.0
type ReconciliationOperationMetadata struct {// DeleteResource: DEPRECATED. Use exclusive_action instead.DeleteResourcebool `json:"deleteResource,omitempty"`// ExclusiveAction: Excluisive action returned by the CLH.//// Possible values:// "UNKNOWN_REPAIR_ACTION" - Unknown repair action.// "DELETE" - The resource has to be deleted. When using this bit, the CLH// should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE// OperationSignal in SideChannel.// "RETRY" - This resource could not be repaired but the repair should be// tried again at a later time. This can happen if there is a dependency that// needs to be resolved first- e.g. if a parent resource must be repaired// before a child resource.ExclusiveActionstring `json:"exclusiveAction,omitempty"`// ForceSendFields is a list of field names (e.g. "DeleteResource") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DeleteResource") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ReconciliationOperationMetadata: Operation metadata returned by the CLHduring resource state reconciliation.
func (ReconciliationOperationMetadata)MarshalJSON¶added inv0.224.0
func (sReconciliationOperationMetadata) MarshalJSON() ([]byte,error)
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeSourceGcsBucket¶
type SourceGcsBucket struct {// Uri: Required. URI to a Cloud Storage bucket in the format: `gs:///`. The// path inside the bucket is optional.Uristring `json:"uri,omitempty"`// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Uri") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}SourceGcsBucket: Cloud Storage as the source of a data transfer.
func (SourceGcsBucket)MarshalJSON¶
func (sSourceGcsBucket) MarshalJSON() ([]byte,error)
typeSourceParallelstore¶
type SourceParallelstore struct {// Path: Optional. Root directory path to the Paralellstore filesystem,// starting with `/`. Defaults to `/` if unset.Pathstring `json:"path,omitempty"`// ForceSendFields is a list of field names (e.g. "Path") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Path") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}SourceParallelstore: Parallelstore as the source of a data transfer.
func (SourceParallelstore)MarshalJSON¶
func (sSourceParallelstore) MarshalJSON() ([]byte,error)
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeTransferMetadataOptions¶added inv0.225.0
type TransferMetadataOptions struct {// Gid: Optional. The GID preservation behavior.//// Possible values:// "GID_UNSPECIFIED" - default is GID_NUMBER_PRESERVE.// "GID_SKIP" - Do not preserve GID during a transfer job.// "GID_NUMBER_PRESERVE" - Preserve GID that is in number format during a// transfer job.Gidstring `json:"gid,omitempty"`// Mode: Optional. The mode preservation behavior.//// Possible values:// "MODE_UNSPECIFIED" - default is MODE_PRESERVE.// "MODE_SKIP" - Do not preserve mode during a transfer job.// "MODE_PRESERVE" - Preserve mode during a transfer job.Modestring `json:"mode,omitempty"`// Uid: Optional. The UID preservation behavior.//// Possible values:// "UID_UNSPECIFIED" - default is UID_NUMBER_PRESERVE.// "UID_SKIP" - Do not preserve UID during a transfer job.// "UID_NUMBER_PRESERVE" - Preserve UID that is in number format during a// transfer job.Uidstring `json:"uid,omitempty"`// ForceSendFields is a list of field names (e.g. "Gid") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Gid") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TransferMetadataOptions: Transfer metadata options for the instance.
func (TransferMetadataOptions)MarshalJSON¶added inv0.225.0
func (sTransferMetadataOptions) MarshalJSON() ([]byte,error)