Documentation ¶
Overview ¶
Package migrationcenter provides access to the Migration Center API.
For product documentation, see: https://cloud.google.com/migration-center
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/migrationcenter/v1" ... ctx := context.Background() migrationcenterService, err := migrationcenter.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:
migrationcenterService, err := migrationcenter.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, ...) migrationcenterService, err := migrationcenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type AddAssetsToGroupRequest
- type AggregateAssetsValuesRequest
- type AggregateAssetsValuesResponse
- type Aggregation
- type AggregationCount
- type AggregationFrequency
- type AggregationHistogram
- type AggregationResult
- type AggregationResultCount
- type AggregationResultFrequency
- type AggregationResultHistogram
- type AggregationResultHistogramBucket
- type AggregationResultSum
- type AggregationSum
- type Asset
- type AssetFrame
- type AssetList
- type AssetPerformanceData
- type AwsEc2PlatformDetails
- type AzureVmPlatformDetails
- type BatchDeleteAssetsRequest
- type BatchUpdateAssetsRequest
- type BatchUpdateAssetsResponse
- type BiosDetails
- type CancelOperationRequest
- type ComputeEngineMigrationTarget
- type ComputeEnginePreferences
- type ComputeEngineShapeDescriptor
- type ComputeStorageDescriptor
- type CpuUsageSample
- type DailyResourceUsageAggregation
- type DailyResourceUsageAggregationCPU
- type DailyResourceUsageAggregationDisk
- type DailyResourceUsageAggregationMemory
- type DailyResourceUsageAggregationNetwork
- type DailyResourceUsageAggregationStats
- type Date
- type DiskEntry
- type DiskEntryList
- type DiskPartition
- type DiskPartitionList
- type DiskUsageSample
- type Empty
- type ErrorFrame
- type ExecutionReport
- type FileValidationReport
- type FitDescriptor
- type FrameViolationEntry
- type Frames
- type FstabEntry
- type FstabEntryList
- type GenericInsight
- type GenericPlatformDetails
- type Group
- type GuestConfigDetails
- type GuestInstalledApplication
- type GuestInstalledApplicationList
- type GuestOsDetails
- type GuestRuntimeDetails
- type HostsEntry
- type HostsEntryList
- type ImportDataFile
- type ImportError
- type ImportJob
- type ImportRowError
- type Insight
- type InsightList
- type ListAssetsResponse
- type ListErrorFramesResponse
- type ListGroupsResponse
- type ListImportDataFilesResponse
- type ListImportJobsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListPreferenceSetsResponse
- type ListReportConfigsResponse
- type ListReportsResponse
- type ListSourcesResponse
- type Location
- type MachineArchitectureDetails
- type MachineDetails
- type MachineDiskDetails
- type MachineNetworkDetails
- type MachinePreferences
- type MachineSeries
- type MemoryUsageSample
- type MigrationInsight
- type Money
- type NetworkAdapterDetails
- type NetworkAdapterList
- type NetworkAddress
- type NetworkAddressList
- type NetworkConnection
- type NetworkConnectionList
- type NetworkUsageSample
- type NfsExport
- type NfsExportList
- type OpenFileDetails
- type OpenFileList
- type Operation
- type OperationMetadata
- type PerformanceSample
- type PhysicalPlatformDetails
- type PlatformDetails
- type PreferenceSet
- type ProjectsLocationsAssetsAggregateValuesCall
- func (c *ProjectsLocationsAssetsAggregateValuesCall) Context(ctx context.Context) *ProjectsLocationsAssetsAggregateValuesCall
- func (c *ProjectsLocationsAssetsAggregateValuesCall) Do(opts ...googleapi.CallOption) (*AggregateAssetsValuesResponse, error)
- func (c *ProjectsLocationsAssetsAggregateValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsAggregateValuesCall
- func (c *ProjectsLocationsAssetsAggregateValuesCall) Header() http.Header
- type ProjectsLocationsAssetsBatchDeleteCall
- func (c *ProjectsLocationsAssetsBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAssetsBatchDeleteCall
- func (c *ProjectsLocationsAssetsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsAssetsBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsBatchDeleteCall
- func (c *ProjectsLocationsAssetsBatchDeleteCall) Header() http.Header
- type ProjectsLocationsAssetsBatchUpdateCall
- func (c *ProjectsLocationsAssetsBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAssetsBatchUpdateCall
- func (c *ProjectsLocationsAssetsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateAssetsResponse, error)
- func (c *ProjectsLocationsAssetsBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsBatchUpdateCall
- func (c *ProjectsLocationsAssetsBatchUpdateCall) Header() http.Header
- type ProjectsLocationsAssetsDeleteCall
- func (c *ProjectsLocationsAssetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAssetsDeleteCall
- func (c *ProjectsLocationsAssetsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsAssetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsDeleteCall
- func (c *ProjectsLocationsAssetsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsAssetsDeleteCall) RequestId(requestId string) *ProjectsLocationsAssetsDeleteCall
- type ProjectsLocationsAssetsGetCall
- func (c *ProjectsLocationsAssetsGetCall) Context(ctx context.Context) *ProjectsLocationsAssetsGetCall
- func (c *ProjectsLocationsAssetsGetCall) Do(opts ...googleapi.CallOption) (*Asset, error)
- func (c *ProjectsLocationsAssetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsGetCall
- func (c *ProjectsLocationsAssetsGetCall) Header() http.Header
- func (c *ProjectsLocationsAssetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAssetsGetCall
- func (c *ProjectsLocationsAssetsGetCall) View(view string) *ProjectsLocationsAssetsGetCall
- type ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) Context(ctx context.Context) *ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) Do(opts ...googleapi.CallOption) (*ListAssetsResponse, error)
- func (c *ProjectsLocationsAssetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) Filter(filter string) *ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) Header() http.Header
- func (c *ProjectsLocationsAssetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) OrderBy(orderBy string) *ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) PageSize(pageSize int64) *ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) PageToken(pageToken string) *ProjectsLocationsAssetsListCall
- func (c *ProjectsLocationsAssetsListCall) Pages(ctx context.Context, f func(*ListAssetsResponse) error) error
- func (c *ProjectsLocationsAssetsListCall) View(view string) *ProjectsLocationsAssetsListCall
- type ProjectsLocationsAssetsPatchCall
- func (c *ProjectsLocationsAssetsPatchCall) Context(ctx context.Context) *ProjectsLocationsAssetsPatchCall
- func (c *ProjectsLocationsAssetsPatchCall) Do(opts ...googleapi.CallOption) (*Asset, error)
- func (c *ProjectsLocationsAssetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsPatchCall
- func (c *ProjectsLocationsAssetsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAssetsPatchCall) RequestId(requestId string) *ProjectsLocationsAssetsPatchCall
- func (c *ProjectsLocationsAssetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAssetsPatchCall
- type ProjectsLocationsAssetsReportAssetFramesCall
- func (c *ProjectsLocationsAssetsReportAssetFramesCall) Context(ctx context.Context) *ProjectsLocationsAssetsReportAssetFramesCall
- func (c *ProjectsLocationsAssetsReportAssetFramesCall) Do(opts ...googleapi.CallOption) (*ReportAssetFramesResponse, error)
- func (c *ProjectsLocationsAssetsReportAssetFramesCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsReportAssetFramesCall
- func (c *ProjectsLocationsAssetsReportAssetFramesCall) Header() http.Header
- func (c *ProjectsLocationsAssetsReportAssetFramesCall) Source(source string) *ProjectsLocationsAssetsReportAssetFramesCall
- type ProjectsLocationsAssetsService
- func (r *ProjectsLocationsAssetsService) AggregateValues(parent string, aggregateassetsvaluesrequest *AggregateAssetsValuesRequest) *ProjectsLocationsAssetsAggregateValuesCall
- func (r *ProjectsLocationsAssetsService) BatchDelete(parent string, batchdeleteassetsrequest *BatchDeleteAssetsRequest) *ProjectsLocationsAssetsBatchDeleteCall
- func (r *ProjectsLocationsAssetsService) BatchUpdate(parent string, batchupdateassetsrequest *BatchUpdateAssetsRequest) *ProjectsLocationsAssetsBatchUpdateCall
- func (r *ProjectsLocationsAssetsService) Delete(name string) *ProjectsLocationsAssetsDeleteCall
- func (r *ProjectsLocationsAssetsService) Get(name string) *ProjectsLocationsAssetsGetCall
- func (r *ProjectsLocationsAssetsService) List(parent string) *ProjectsLocationsAssetsListCall
- func (r *ProjectsLocationsAssetsService) Patch(name string, asset *Asset) *ProjectsLocationsAssetsPatchCall
- func (r *ProjectsLocationsAssetsService) ReportAssetFrames(parent string, frames *Frames) *ProjectsLocationsAssetsReportAssetFramesCall
- 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 ProjectsLocationsGetSettingsCall
- func (c *ProjectsLocationsGetSettingsCall) Context(ctx context.Context) *ProjectsLocationsGetSettingsCall
- func (c *ProjectsLocationsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *ProjectsLocationsGetSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetSettingsCall
- func (c *ProjectsLocationsGetSettingsCall) Header() http.Header
- func (c *ProjectsLocationsGetSettingsCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetSettingsCall
- type ProjectsLocationsGroupsAddAssetsCall
- func (c *ProjectsLocationsGroupsAddAssetsCall) Context(ctx context.Context) *ProjectsLocationsGroupsAddAssetsCall
- func (c *ProjectsLocationsGroupsAddAssetsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsAddAssetsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsAddAssetsCall
- func (c *ProjectsLocationsGroupsAddAssetsCall) Header() http.Header
- type ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) GroupId(groupId string) *ProjectsLocationsGroupsCreateCall
- func (c *ProjectsLocationsGroupsCreateCall) Header() http.Header
- func (c *ProjectsLocationsGroupsCreateCall) RequestId(requestId string) *ProjectsLocationsGroupsCreateCall
- type ProjectsLocationsGroupsDeleteCall
- func (c *ProjectsLocationsGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsGroupsDeleteCall
- func (c *ProjectsLocationsGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsDeleteCall
- func (c *ProjectsLocationsGroupsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsGroupsDeleteCall) RequestId(requestId string) *ProjectsLocationsGroupsDeleteCall
- type ProjectsLocationsGroupsGetCall
- func (c *ProjectsLocationsGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsGroupsGetCall
- func (c *ProjectsLocationsGroupsGetCall) Do(opts ...googleapi.CallOption) (*Group, error)
- func (c *ProjectsLocationsGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsGetCall
- func (c *ProjectsLocationsGroupsGetCall) Header() http.Header
- func (c *ProjectsLocationsGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGroupsGetCall
- type ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Context(ctx context.Context) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Do(opts ...googleapi.CallOption) (*ListGroupsResponse, error)
- func (c *ProjectsLocationsGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Filter(filter string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Header() http.Header
- func (c *ProjectsLocationsGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) OrderBy(orderBy string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) PageToken(pageToken string) *ProjectsLocationsGroupsListCall
- func (c *ProjectsLocationsGroupsListCall) Pages(ctx context.Context, f func(*ListGroupsResponse) error) error
- type ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) Header() http.Header
- func (c *ProjectsLocationsGroupsPatchCall) RequestId(requestId string) *ProjectsLocationsGroupsPatchCall
- func (c *ProjectsLocationsGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGroupsPatchCall
- type ProjectsLocationsGroupsRemoveAssetsCall
- func (c *ProjectsLocationsGroupsRemoveAssetsCall) Context(ctx context.Context) *ProjectsLocationsGroupsRemoveAssetsCall
- func (c *ProjectsLocationsGroupsRemoveAssetsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGroupsRemoveAssetsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsRemoveAssetsCall
- func (c *ProjectsLocationsGroupsRemoveAssetsCall) Header() http.Header
- type ProjectsLocationsGroupsService
- func (r *ProjectsLocationsGroupsService) AddAssets(group string, addassetstogrouprequest *AddAssetsToGroupRequest) *ProjectsLocationsGroupsAddAssetsCall
- func (r *ProjectsLocationsGroupsService) Create(parent string, group *Group) *ProjectsLocationsGroupsCreateCall
- func (r *ProjectsLocationsGroupsService) Delete(name string) *ProjectsLocationsGroupsDeleteCall
- func (r *ProjectsLocationsGroupsService) Get(name string) *ProjectsLocationsGroupsGetCall
- func (r *ProjectsLocationsGroupsService) List(parent string) *ProjectsLocationsGroupsListCall
- func (r *ProjectsLocationsGroupsService) Patch(name string, group *Group) *ProjectsLocationsGroupsPatchCall
- func (r *ProjectsLocationsGroupsService) RemoveAssets(group string, removeassetsfromgrouprequest *RemoveAssetsFromGroupRequest) *ProjectsLocationsGroupsRemoveAssetsCall
- type ProjectsLocationsImportJobsCreateCall
- func (c *ProjectsLocationsImportJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsImportJobsCreateCall
- func (c *ProjectsLocationsImportJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImportJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsCreateCall
- func (c *ProjectsLocationsImportJobsCreateCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsCreateCall) ImportJobId(importJobId string) *ProjectsLocationsImportJobsCreateCall
- func (c *ProjectsLocationsImportJobsCreateCall) RequestId(requestId string) *ProjectsLocationsImportJobsCreateCall
- type ProjectsLocationsImportJobsDeleteCall
- func (c *ProjectsLocationsImportJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsImportJobsDeleteCall
- func (c *ProjectsLocationsImportJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImportJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsDeleteCall
- func (c *ProjectsLocationsImportJobsDeleteCall) Force(force bool) *ProjectsLocationsImportJobsDeleteCall
- func (c *ProjectsLocationsImportJobsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsDeleteCall) RequestId(requestId string) *ProjectsLocationsImportJobsDeleteCall
- type ProjectsLocationsImportJobsGetCall
- func (c *ProjectsLocationsImportJobsGetCall) Context(ctx context.Context) *ProjectsLocationsImportJobsGetCall
- func (c *ProjectsLocationsImportJobsGetCall) Do(opts ...googleapi.CallOption) (*ImportJob, error)
- func (c *ProjectsLocationsImportJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsGetCall
- func (c *ProjectsLocationsImportJobsGetCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsGetCall
- func (c *ProjectsLocationsImportJobsGetCall) View(view string) *ProjectsLocationsImportJobsGetCall
- type ProjectsLocationsImportJobsImportDataFilesCreateCall
- func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesCreateCall
- func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesCreateCall
- func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) ImportDataFileId(importDataFileId string) *ProjectsLocationsImportJobsImportDataFilesCreateCall
- func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) RequestId(requestId string) *ProjectsLocationsImportJobsImportDataFilesCreateCall
- type ProjectsLocationsImportJobsImportDataFilesDeleteCall
- func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
- func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
- func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) RequestId(requestId string) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
- type ProjectsLocationsImportJobsImportDataFilesGetCall
- func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesGetCall
- func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Do(opts ...googleapi.CallOption) (*ImportDataFile, error)
- func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesGetCall
- func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsImportDataFilesGetCall
- type ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Do(opts ...googleapi.CallOption) (*ListImportDataFilesResponse, error)
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Filter(filter string) *ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) OrderBy(orderBy string) *ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) PageSize(pageSize int64) *ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) PageToken(pageToken string) *ProjectsLocationsImportJobsImportDataFilesListCall
- func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Pages(ctx context.Context, f func(*ListImportDataFilesResponse) error) error
- type ProjectsLocationsImportJobsImportDataFilesService
- func (r *ProjectsLocationsImportJobsImportDataFilesService) Create(parent string, importdatafile *ImportDataFile) *ProjectsLocationsImportJobsImportDataFilesCreateCall
- func (r *ProjectsLocationsImportJobsImportDataFilesService) Delete(name string) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
- func (r *ProjectsLocationsImportJobsImportDataFilesService) Get(name string) *ProjectsLocationsImportJobsImportDataFilesGetCall
- func (r *ProjectsLocationsImportJobsImportDataFilesService) List(parent string) *ProjectsLocationsImportJobsImportDataFilesListCall
- type ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) Context(ctx context.Context) *ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) Do(opts ...googleapi.CallOption) (*ListImportJobsResponse, error)
- func (c *ProjectsLocationsImportJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) Filter(filter string) *ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) OrderBy(orderBy string) *ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) PageSize(pageSize int64) *ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) PageToken(pageToken string) *ProjectsLocationsImportJobsListCall
- func (c *ProjectsLocationsImportJobsListCall) Pages(ctx context.Context, f func(*ListImportJobsResponse) error) error
- func (c *ProjectsLocationsImportJobsListCall) View(view string) *ProjectsLocationsImportJobsListCall
- type ProjectsLocationsImportJobsPatchCall
- func (c *ProjectsLocationsImportJobsPatchCall) Context(ctx context.Context) *ProjectsLocationsImportJobsPatchCall
- func (c *ProjectsLocationsImportJobsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImportJobsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsPatchCall
- func (c *ProjectsLocationsImportJobsPatchCall) Header() http.Header
- func (c *ProjectsLocationsImportJobsPatchCall) RequestId(requestId string) *ProjectsLocationsImportJobsPatchCall
- func (c *ProjectsLocationsImportJobsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsImportJobsPatchCall
- type ProjectsLocationsImportJobsRunCall
- func (c *ProjectsLocationsImportJobsRunCall) Context(ctx context.Context) *ProjectsLocationsImportJobsRunCall
- func (c *ProjectsLocationsImportJobsRunCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImportJobsRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsRunCall
- func (c *ProjectsLocationsImportJobsRunCall) Header() http.Header
- type ProjectsLocationsImportJobsService
- func (r *ProjectsLocationsImportJobsService) Create(parent string, importjob *ImportJob) *ProjectsLocationsImportJobsCreateCall
- func (r *ProjectsLocationsImportJobsService) Delete(name string) *ProjectsLocationsImportJobsDeleteCall
- func (r *ProjectsLocationsImportJobsService) Get(name string) *ProjectsLocationsImportJobsGetCall
- func (r *ProjectsLocationsImportJobsService) List(parent string) *ProjectsLocationsImportJobsListCall
- func (r *ProjectsLocationsImportJobsService) Patch(name string, importjob *ImportJob) *ProjectsLocationsImportJobsPatchCall
- func (r *ProjectsLocationsImportJobsService) Run(name string, runimportjobrequest *RunImportJobRequest) *ProjectsLocationsImportJobsRunCall
- func (r *ProjectsLocationsImportJobsService) Validate(name string, validateimportjobrequest *ValidateImportJobRequest) *ProjectsLocationsImportJobsValidateCall
- type ProjectsLocationsImportJobsValidateCall
- func (c *ProjectsLocationsImportJobsValidateCall) Context(ctx context.Context) *ProjectsLocationsImportJobsValidateCall
- func (c *ProjectsLocationsImportJobsValidateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsImportJobsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsValidateCall
- func (c *ProjectsLocationsImportJobsValidateCall) 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) (*Empty, 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) (*Empty, 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 ProjectsLocationsPreferenceSetsCreateCall
- func (c *ProjectsLocationsPreferenceSetsCreateCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsCreateCall
- func (c *ProjectsLocationsPreferenceSetsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPreferenceSetsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsCreateCall
- func (c *ProjectsLocationsPreferenceSetsCreateCall) Header() http.Header
- func (c *ProjectsLocationsPreferenceSetsCreateCall) PreferenceSetId(preferenceSetId string) *ProjectsLocationsPreferenceSetsCreateCall
- func (c *ProjectsLocationsPreferenceSetsCreateCall) RequestId(requestId string) *ProjectsLocationsPreferenceSetsCreateCall
- type ProjectsLocationsPreferenceSetsDeleteCall
- func (c *ProjectsLocationsPreferenceSetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsDeleteCall
- func (c *ProjectsLocationsPreferenceSetsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPreferenceSetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsDeleteCall
- func (c *ProjectsLocationsPreferenceSetsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsPreferenceSetsDeleteCall) RequestId(requestId string) *ProjectsLocationsPreferenceSetsDeleteCall
- type ProjectsLocationsPreferenceSetsGetCall
- func (c *ProjectsLocationsPreferenceSetsGetCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsGetCall
- func (c *ProjectsLocationsPreferenceSetsGetCall) Do(opts ...googleapi.CallOption) (*PreferenceSet, error)
- func (c *ProjectsLocationsPreferenceSetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsGetCall
- func (c *ProjectsLocationsPreferenceSetsGetCall) Header() http.Header
- func (c *ProjectsLocationsPreferenceSetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPreferenceSetsGetCall
- type ProjectsLocationsPreferenceSetsListCall
- func (c *ProjectsLocationsPreferenceSetsListCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsListCall
- func (c *ProjectsLocationsPreferenceSetsListCall) Do(opts ...googleapi.CallOption) (*ListPreferenceSetsResponse, error)
- func (c *ProjectsLocationsPreferenceSetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsListCall
- func (c *ProjectsLocationsPreferenceSetsListCall) Header() http.Header
- func (c *ProjectsLocationsPreferenceSetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPreferenceSetsListCall
- func (c *ProjectsLocationsPreferenceSetsListCall) OrderBy(orderBy string) *ProjectsLocationsPreferenceSetsListCall
- func (c *ProjectsLocationsPreferenceSetsListCall) PageSize(pageSize int64) *ProjectsLocationsPreferenceSetsListCall
- func (c *ProjectsLocationsPreferenceSetsListCall) PageToken(pageToken string) *ProjectsLocationsPreferenceSetsListCall
- func (c *ProjectsLocationsPreferenceSetsListCall) Pages(ctx context.Context, f func(*ListPreferenceSetsResponse) error) error
- type ProjectsLocationsPreferenceSetsPatchCall
- func (c *ProjectsLocationsPreferenceSetsPatchCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsPatchCall
- func (c *ProjectsLocationsPreferenceSetsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPreferenceSetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsPatchCall
- func (c *ProjectsLocationsPreferenceSetsPatchCall) Header() http.Header
- func (c *ProjectsLocationsPreferenceSetsPatchCall) RequestId(requestId string) *ProjectsLocationsPreferenceSetsPatchCall
- func (c *ProjectsLocationsPreferenceSetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPreferenceSetsPatchCall
- type ProjectsLocationsPreferenceSetsService
- func (r *ProjectsLocationsPreferenceSetsService) Create(parent string, preferenceset *PreferenceSet) *ProjectsLocationsPreferenceSetsCreateCall
- func (r *ProjectsLocationsPreferenceSetsService) Delete(name string) *ProjectsLocationsPreferenceSetsDeleteCall
- func (r *ProjectsLocationsPreferenceSetsService) Get(name string) *ProjectsLocationsPreferenceSetsGetCall
- func (r *ProjectsLocationsPreferenceSetsService) List(parent string) *ProjectsLocationsPreferenceSetsListCall
- func (r *ProjectsLocationsPreferenceSetsService) Patch(name string, preferenceset *PreferenceSet) *ProjectsLocationsPreferenceSetsPatchCall
- type ProjectsLocationsReportConfigsCreateCall
- func (c *ProjectsLocationsReportConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsCreateCall
- func (c *ProjectsLocationsReportConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsReportConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsCreateCall
- func (c *ProjectsLocationsReportConfigsCreateCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsCreateCall) ReportConfigId(reportConfigId string) *ProjectsLocationsReportConfigsCreateCall
- func (c *ProjectsLocationsReportConfigsCreateCall) RequestId(requestId string) *ProjectsLocationsReportConfigsCreateCall
- type ProjectsLocationsReportConfigsDeleteCall
- func (c *ProjectsLocationsReportConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsDeleteCall
- func (c *ProjectsLocationsReportConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsReportConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsDeleteCall
- func (c *ProjectsLocationsReportConfigsDeleteCall) Force(force bool) *ProjectsLocationsReportConfigsDeleteCall
- func (c *ProjectsLocationsReportConfigsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsDeleteCall) RequestId(requestId string) *ProjectsLocationsReportConfigsDeleteCall
- type ProjectsLocationsReportConfigsGetCall
- func (c *ProjectsLocationsReportConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsGetCall
- func (c *ProjectsLocationsReportConfigsGetCall) Do(opts ...googleapi.CallOption) (*ReportConfig, error)
- func (c *ProjectsLocationsReportConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsGetCall
- func (c *ProjectsLocationsReportConfigsGetCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsGetCall
- type ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) Do(opts ...googleapi.CallOption) (*ListReportConfigsResponse, error)
- func (c *ProjectsLocationsReportConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) Filter(filter string) *ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) PageToken(pageToken string) *ProjectsLocationsReportConfigsListCall
- func (c *ProjectsLocationsReportConfigsListCall) Pages(ctx context.Context, f func(*ListReportConfigsResponse) error) error
- type ProjectsLocationsReportConfigsReportsCreateCall
- func (c *ProjectsLocationsReportConfigsReportsCreateCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsCreateCall
- func (c *ProjectsLocationsReportConfigsReportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsReportConfigsReportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsCreateCall
- func (c *ProjectsLocationsReportConfigsReportsCreateCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsReportsCreateCall) ReportId(reportId string) *ProjectsLocationsReportConfigsReportsCreateCall
- func (c *ProjectsLocationsReportConfigsReportsCreateCall) RequestId(requestId string) *ProjectsLocationsReportConfigsReportsCreateCall
- type ProjectsLocationsReportConfigsReportsDeleteCall
- func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsDeleteCall
- func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsDeleteCall
- func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsReportsDeleteCall) RequestId(requestId string) *ProjectsLocationsReportConfigsReportsDeleteCall
- type ProjectsLocationsReportConfigsReportsGetCall
- func (c *ProjectsLocationsReportConfigsReportsGetCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsGetCall
- func (c *ProjectsLocationsReportConfigsReportsGetCall) Do(opts ...googleapi.CallOption) (*Report, error)
- func (c *ProjectsLocationsReportConfigsReportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsGetCall
- func (c *ProjectsLocationsReportConfigsReportsGetCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsReportsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsReportsGetCall
- func (c *ProjectsLocationsReportConfigsReportsGetCall) View(view string) *ProjectsLocationsReportConfigsReportsGetCall
- type ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) Do(opts ...googleapi.CallOption) (*ListReportsResponse, error)
- func (c *ProjectsLocationsReportConfigsReportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) Filter(filter string) *ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) Header() http.Header
- func (c *ProjectsLocationsReportConfigsReportsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) OrderBy(orderBy string) *ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) PageSize(pageSize int64) *ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) PageToken(pageToken string) *ProjectsLocationsReportConfigsReportsListCall
- func (c *ProjectsLocationsReportConfigsReportsListCall) Pages(ctx context.Context, f func(*ListReportsResponse) error) error
- func (c *ProjectsLocationsReportConfigsReportsListCall) View(view string) *ProjectsLocationsReportConfigsReportsListCall
- type ProjectsLocationsReportConfigsReportsService
- func (r *ProjectsLocationsReportConfigsReportsService) Create(parent string, report *Report) *ProjectsLocationsReportConfigsReportsCreateCall
- func (r *ProjectsLocationsReportConfigsReportsService) Delete(name string) *ProjectsLocationsReportConfigsReportsDeleteCall
- func (r *ProjectsLocationsReportConfigsReportsService) Get(name string) *ProjectsLocationsReportConfigsReportsGetCall
- func (r *ProjectsLocationsReportConfigsReportsService) List(parent string) *ProjectsLocationsReportConfigsReportsListCall
- type ProjectsLocationsReportConfigsService
- func (r *ProjectsLocationsReportConfigsService) Create(parent string, reportconfig *ReportConfig) *ProjectsLocationsReportConfigsCreateCall
- func (r *ProjectsLocationsReportConfigsService) Delete(name string) *ProjectsLocationsReportConfigsDeleteCall
- func (r *ProjectsLocationsReportConfigsService) Get(name string) *ProjectsLocationsReportConfigsGetCall
- func (r *ProjectsLocationsReportConfigsService) List(parent string) *ProjectsLocationsReportConfigsListCall
- type ProjectsLocationsService
- func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
- func (r *ProjectsLocationsService) GetSettings(name string) *ProjectsLocationsGetSettingsCall
- func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
- func (r *ProjectsLocationsService) UpdateSettings(name string, settings *Settings) *ProjectsLocationsUpdateSettingsCall
- type ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) Header() http.Header
- func (c *ProjectsLocationsSourcesCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesCreateCall
- func (c *ProjectsLocationsSourcesCreateCall) SourceId(sourceId string) *ProjectsLocationsSourcesCreateCall
- type ProjectsLocationsSourcesDeleteCall
- func (c *ProjectsLocationsSourcesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSourcesDeleteCall
- func (c *ProjectsLocationsSourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDeleteCall
- func (c *ProjectsLocationsSourcesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsSourcesDeleteCall) RequestId(requestId string) *ProjectsLocationsSourcesDeleteCall
- type ProjectsLocationsSourcesErrorFramesGetCall
- func (c *ProjectsLocationsSourcesErrorFramesGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesErrorFramesGetCall
- func (c *ProjectsLocationsSourcesErrorFramesGetCall) Do(opts ...googleapi.CallOption) (*ErrorFrame, error)
- func (c *ProjectsLocationsSourcesErrorFramesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesErrorFramesGetCall
- func (c *ProjectsLocationsSourcesErrorFramesGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesErrorFramesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesErrorFramesGetCall
- func (c *ProjectsLocationsSourcesErrorFramesGetCall) View(view string) *ProjectsLocationsSourcesErrorFramesGetCall
- type ProjectsLocationsSourcesErrorFramesListCall
- func (c *ProjectsLocationsSourcesErrorFramesListCall) Context(ctx context.Context) *ProjectsLocationsSourcesErrorFramesListCall
- func (c *ProjectsLocationsSourcesErrorFramesListCall) Do(opts ...googleapi.CallOption) (*ListErrorFramesResponse, error)
- func (c *ProjectsLocationsSourcesErrorFramesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesErrorFramesListCall
- func (c *ProjectsLocationsSourcesErrorFramesListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesErrorFramesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesErrorFramesListCall
- func (c *ProjectsLocationsSourcesErrorFramesListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesErrorFramesListCall
- func (c *ProjectsLocationsSourcesErrorFramesListCall) PageToken(pageToken string) *ProjectsLocationsSourcesErrorFramesListCall
- func (c *ProjectsLocationsSourcesErrorFramesListCall) Pages(ctx context.Context, f func(*ListErrorFramesResponse) error) error
- func (c *ProjectsLocationsSourcesErrorFramesListCall) View(view string) *ProjectsLocationsSourcesErrorFramesListCall
- type ProjectsLocationsSourcesErrorFramesService
- type ProjectsLocationsSourcesGetCall
- func (c *ProjectsLocationsSourcesGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesGetCall
- func (c *ProjectsLocationsSourcesGetCall) Do(opts ...googleapi.CallOption) (*Source, error)
- func (c *ProjectsLocationsSourcesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesGetCall
- func (c *ProjectsLocationsSourcesGetCall) Header() http.Header
- func (c *ProjectsLocationsSourcesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesGetCall
- type ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Context(ctx context.Context) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Do(opts ...googleapi.CallOption) (*ListSourcesResponse, error)
- func (c *ProjectsLocationsSourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Filter(filter string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Header() http.Header
- func (c *ProjectsLocationsSourcesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) PageToken(pageToken string) *ProjectsLocationsSourcesListCall
- func (c *ProjectsLocationsSourcesListCall) Pages(ctx context.Context, f func(*ListSourcesResponse) error) error
- type ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) Context(ctx context.Context) *ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsSourcesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) Header() http.Header
- func (c *ProjectsLocationsSourcesPatchCall) RequestId(requestId string) *ProjectsLocationsSourcesPatchCall
- func (c *ProjectsLocationsSourcesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSourcesPatchCall
- type ProjectsLocationsSourcesService
- func (r *ProjectsLocationsSourcesService) Create(parent string, source *Source) *ProjectsLocationsSourcesCreateCall
- func (r *ProjectsLocationsSourcesService) Delete(name string) *ProjectsLocationsSourcesDeleteCall
- func (r *ProjectsLocationsSourcesService) Get(name string) *ProjectsLocationsSourcesGetCall
- func (r *ProjectsLocationsSourcesService) List(parent string) *ProjectsLocationsSourcesListCall
- func (r *ProjectsLocationsSourcesService) Patch(name string, source *Source) *ProjectsLocationsSourcesPatchCall
- type ProjectsLocationsUpdateSettingsCall
- func (c *ProjectsLocationsUpdateSettingsCall) Context(ctx context.Context) *ProjectsLocationsUpdateSettingsCall
- func (c *ProjectsLocationsUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsUpdateSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsUpdateSettingsCall
- func (c *ProjectsLocationsUpdateSettingsCall) Header() http.Header
- func (c *ProjectsLocationsUpdateSettingsCall) RequestId(requestId string) *ProjectsLocationsUpdateSettingsCall
- func (c *ProjectsLocationsUpdateSettingsCall) UpdateMask(updateMask string) *ProjectsLocationsUpdateSettingsCall
- type ProjectsService
- type RegionPreferences
- type RemoveAssetsFromGroupRequest
- type Report
- type ReportAssetFramesResponse
- type ReportConfig
- type ReportConfigGroupPreferenceSetAssignment
- type ReportSummary
- type ReportSummaryAssetAggregateStats
- type ReportSummaryChartData
- type ReportSummaryChartDataDataPoint
- type ReportSummaryComputeEngineFinding
- type ReportSummaryGroupFinding
- type ReportSummaryGroupPreferenceSetFinding
- type ReportSummaryHistogramChartData
- type ReportSummaryHistogramChartDataBucket
- type ReportSummaryMachineSeriesAllocation
- type ReportSummarySoleTenantFinding
- type ReportSummarySoleTenantNodeAllocation
- type ReportSummaryUtilizationChartData
- type ReportSummaryVmwareEngineFinding
- type ReportSummaryVmwareNode
- type ReportSummaryVmwareNodeAllocation
- type RunImportJobRequest
- type RunningProcess
- type RunningProcessList
- type RunningService
- type RunningServiceList
- type RuntimeNetworkInfo
- type Service
- type Settings
- type SoleTenancyPreferences
- type SoleTenantNodeType
- type Source
- type Status
- type UpdateAssetRequest
- type UploadFileInfo
- type ValidateImportJobRequest
- type ValidationReport
- type VirtualMachinePreferences
- type VmwareDiskConfig
- type VmwareEnginePreferences
- type VmwarePlatformDetails
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 AddAssetsToGroupRequest ¶
type AddAssetsToGroupRequest struct { // AllowExisting: Optional. When this value is set to `false` and one of // the given assets is already an existing member of the group, the // operation fails with an `Already Exists` error. When set to `true` // this situation is silently ignored by the server. Default value is // `false`. AllowExisting bool `json:"allowExisting,omitempty"` // Assets: Required. List of assets to be added. The maximum number of // assets that can be added in a single request is 1000. Assets *AssetList `json:"assets,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 // after 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). RequestId string `json:"requestId,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowExisting") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowExisting") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AddAssetsToGroupRequest: A request to add assets to a group.
func (*AddAssetsToGroupRequest) MarshalJSON ¶
func (s *AddAssetsToGroupRequest) MarshalJSON() ([]byte, error)
type AggregateAssetsValuesRequest ¶
type AggregateAssetsValuesRequest struct { // Aggregations: Array of aggregations to perform. Up to 25 aggregations // can be defined. Aggregations []*Aggregation `json:"aggregations,omitempty"` // Filter: The aggregation will be performed on assets that match the // provided filter. Filter string `json:"filter,omitempty"` // ForceSendFields is a list of field names (e.g. "Aggregations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Aggregations") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregateAssetsValuesRequest: A request to aggregate one or more values.
func (*AggregateAssetsValuesRequest) MarshalJSON ¶
func (s *AggregateAssetsValuesRequest) MarshalJSON() ([]byte, error)
type AggregateAssetsValuesResponse ¶
type AggregateAssetsValuesResponse struct { // Results: The aggregation results. Results []*AggregationResult `json:"results,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Results") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Results") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregateAssetsValuesResponse: A response to a request to aggregated assets values.
func (*AggregateAssetsValuesResponse) MarshalJSON ¶
func (s *AggregateAssetsValuesResponse) MarshalJSON() ([]byte, error)
type Aggregation ¶
type Aggregation struct { // Count: Count the number of matching objects. Count *AggregationCount `json:"count,omitempty"` // Field: The name of the field on which to aggregate. Field string `json:"field,omitempty"` // Frequency: Creates a frequency distribution of all field values. Frequency *AggregationFrequency `json:"frequency,omitempty"` // Histogram: Creates a bucketed histogram of field values. Histogram *AggregationHistogram `json:"histogram,omitempty"` // Sum: Sum over a numeric field. Sum *AggregationSum `json:"sum,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Aggregation: Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.
func (*Aggregation) MarshalJSON ¶
func (s *Aggregation) MarshalJSON() ([]byte, error)
type AggregationFrequency ¶
type AggregationFrequency struct { }
AggregationFrequency: Frequency distribution of all field values.
type AggregationHistogram ¶
type AggregationHistogram struct { // LowerBounds: Lower bounds of buckets. The response will contain `n+1` // buckets for `n` bounds. The first bucket will count all assets for // which the field value is smaller than the first bound. Subsequent // buckets will count assets for which the field value is greater or // equal to a lower bound and smaller than the next one. The last bucket // will count assets for which the field value is greater or equal to // the final lower bound. You can define up to 20 lower bounds. LowerBounds []float64 `json:"lowerBounds,omitempty"` // ForceSendFields is a list of field names (e.g. "LowerBounds") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LowerBounds") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregationHistogram: Histogram of bucketed assets counts by field value.
func (*AggregationHistogram) MarshalJSON ¶
func (s *AggregationHistogram) MarshalJSON() ([]byte, error)
func (*AggregationHistogram) UnmarshalJSON ¶
func (s *AggregationHistogram) UnmarshalJSON(data []byte) error
type AggregationResult ¶
type AggregationResult struct { Count *AggregationResultCount `json:"count,omitempty"` Field string `json:"field,omitempty"` Frequency *AggregationResultFrequency `json:"frequency,omitempty"` Histogram *AggregationResultHistogram `json:"histogram,omitempty"` Sum *AggregationResultSum `json:"sum,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregationResult: Message describing a result of an aggregation.
func (*AggregationResult) MarshalJSON ¶
func (s *AggregationResult) MarshalJSON() ([]byte, error)
type AggregationResultCount ¶
type AggregationResultCount struct { Value int64 `json:"value,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Value") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregationResultCount: The result of a count aggregation.
func (*AggregationResultCount) MarshalJSON ¶
func (s *AggregationResultCount) MarshalJSON() ([]byte, error)
type AggregationResultFrequency ¶
type AggregationResultFrequency struct { Values map[string]string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregationResultFrequency: The result of a frequency distribution aggregation.
func (*AggregationResultFrequency) MarshalJSON ¶
func (s *AggregationResultFrequency) MarshalJSON() ([]byte, error)
type AggregationResultHistogram ¶
type AggregationResultHistogram struct { // Buckets: Buckets in the histogram. There will be `n+1` buckets // matching `n` lower bounds in the request. The first bucket will be // from -infinity to the first bound. Subsequent buckets will be between // one bound and the next. The final bucket will be from the final bound // to infinity. Buckets []*AggregationResultHistogramBucket `json:"buckets,omitempty"` // ForceSendFields is a list of field names (e.g. "Buckets") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buckets") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregationResultHistogram: The result of a bucketed histogram aggregation.
func (*AggregationResultHistogram) MarshalJSON ¶
func (s *AggregationResultHistogram) MarshalJSON() ([]byte, error)
type AggregationResultHistogramBucket ¶
type AggregationResultHistogramBucket struct { // Count: Count of items in the bucket. Count int64 `json:"count,omitempty,string"` // LowerBound: Lower bound - inclusive. LowerBound float64 `json:"lowerBound,omitempty"` // UpperBound: Upper bound - exclusive. UpperBound float64 `json:"upperBound,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregationResultHistogramBucket: A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds. The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity.
func (*AggregationResultHistogramBucket) MarshalJSON ¶
func (s *AggregationResultHistogramBucket) MarshalJSON() ([]byte, error)
func (*AggregationResultHistogramBucket) UnmarshalJSON ¶
func (s *AggregationResultHistogramBucket) UnmarshalJSON(data []byte) error
type AggregationResultSum ¶
type AggregationResultSum struct { Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AggregationResultSum: The result of a sum aggregation.
func (*AggregationResultSum) MarshalJSON ¶
func (s *AggregationResultSum) MarshalJSON() ([]byte, error)
func (*AggregationResultSum) UnmarshalJSON ¶
func (s *AggregationResultSum) UnmarshalJSON(data []byte) error
type Asset ¶
type Asset struct { // AssignedGroups: Output only. The list of groups that the asset is // assigned to. AssignedGroups []string `json:"assignedGroups,omitempty"` // Attributes: Generic asset attributes. Attributes map[string]string `json:"attributes,omitempty"` // CreateTime: Output only. The timestamp when the asset was created. CreateTime string `json:"createTime,omitempty"` // InsightList: Output only. The list of insights associated with the // asset. InsightList *InsightList `json:"insightList,omitempty"` // Labels: Labels as key value pairs. Labels map[string]string `json:"labels,omitempty"` // MachineDetails: Output only. Asset information specific for virtual // and physical machines. MachineDetails *MachineDetails `json:"machineDetails,omitempty"` // Name: Output only. The full name of the asset. Name string `json:"name,omitempty"` // PerformanceData: Output only. Performance data for the asset. PerformanceData *AssetPerformanceData `json:"performanceData,omitempty"` // Sources: Output only. The list of sources contributing to the asset. Sources []string `json:"sources,omitempty"` // UpdateTime: Output only. The timestamp when the asset was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AssignedGroups") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssignedGroups") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Asset: An asset represents a resource in your environment. Asset types include virtual machines and databases.
func (*Asset) MarshalJSON ¶
type AssetFrame ¶
type AssetFrame struct { // Attributes: Generic asset attributes. Attributes map[string]string `json:"attributes,omitempty"` // Labels: Labels as key value pairs. Labels map[string]string `json:"labels,omitempty"` // MachineDetails: Asset information specific for virtual machines. MachineDetails *MachineDetails `json:"machineDetails,omitempty"` // PerformanceSamples: Asset performance data samples. Samples that are // from more than 40 days ago or after tomorrow are ignored. PerformanceSamples []*PerformanceSample `json:"performanceSamples,omitempty"` // ReportTime: The time the data was reported. ReportTime string `json:"reportTime,omitempty"` // TraceToken: Optional. Trace token is optionally provided to assist // with debugging and traceability. TraceToken string `json:"traceToken,omitempty"` // ForceSendFields is a list of field names (e.g. "Attributes") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Attributes") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AssetFrame: Contains data reported from an inventory source on an asset.
func (*AssetFrame) MarshalJSON ¶
func (s *AssetFrame) MarshalJSON() ([]byte, error)
type AssetList ¶
type AssetList struct { // AssetIds: Required. A list of asset IDs AssetIds []string `json:"assetIds,omitempty"` // ForceSendFields is a list of field names (e.g. "AssetIds") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssetIds") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AssetList: Lists the asset IDs of all assets.
func (*AssetList) MarshalJSON ¶
type AssetPerformanceData ¶
type AssetPerformanceData struct { // DailyResourceUsageAggregations: Daily resource usage aggregations. // Contains all of the data available for an asset, up to the last 420 // days. Aggregations are sorted from oldest to most recent. DailyResourceUsageAggregations []*DailyResourceUsageAggregation `json:"dailyResourceUsageAggregations,omitempty"` // ForceSendFields is a list of field names (e.g. // "DailyResourceUsageAggregations") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "DailyResourceUsageAggregations") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
AssetPerformanceData: Performance data for an asset.
func (*AssetPerformanceData) MarshalJSON ¶
func (s *AssetPerformanceData) MarshalJSON() ([]byte, error)
type AwsEc2PlatformDetails ¶
type AwsEc2PlatformDetails struct { // Location: The location of the machine in the AWS format. Location string `json:"location,omitempty"` // MachineTypeLabel: AWS platform's machine type label. MachineTypeLabel string `json:"machineTypeLabel,omitempty"` // ForceSendFields is a list of field names (e.g. "Location") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Location") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AwsEc2PlatformDetails: AWS EC2 specific details.
func (*AwsEc2PlatformDetails) MarshalJSON ¶
func (s *AwsEc2PlatformDetails) MarshalJSON() ([]byte, error)
type AzureVmPlatformDetails ¶
type AzureVmPlatformDetails struct { // Location: The location of the machine in the Azure format. Location string `json:"location,omitempty"` // MachineTypeLabel: Azure platform's machine type label. MachineTypeLabel string `json:"machineTypeLabel,omitempty"` // ProvisioningState: Azure platform's provisioning state. ProvisioningState string `json:"provisioningState,omitempty"` // ForceSendFields is a list of field names (e.g. "Location") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Location") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AzureVmPlatformDetails: Azure VM specific details.
func (*AzureVmPlatformDetails) MarshalJSON ¶
func (s *AzureVmPlatformDetails) MarshalJSON() ([]byte, error)
type BatchDeleteAssetsRequest ¶
type BatchDeleteAssetsRequest struct { // AllowMissing: Optional. When this value is set to `true` the request // is a no-op for non-existing assets. See // https://google.aip.dev/135#delete-if-existing for additional details. // Default value is `false`. AllowMissing bool `json:"allowMissing,omitempty"` // Names: Required. The IDs of the assets to delete. A maximum of 1000 // assets can be deleted in a batch. Format: // projects/{project}/locations/{location}/assets/{name}. Names []string `json:"names,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMissing") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowMissing") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BatchDeleteAssetsRequest: A request to delete a list of asset.
func (*BatchDeleteAssetsRequest) MarshalJSON ¶
func (s *BatchDeleteAssetsRequest) MarshalJSON() ([]byte, error)
type BatchUpdateAssetsRequest ¶
type BatchUpdateAssetsRequest struct { // Requests: Required. The request message specifying the resources to // update. A maximum of 1000 assets can be modified in a batch. Requests []*UpdateAssetRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BatchUpdateAssetsRequest: A request to update a list of assets.
func (*BatchUpdateAssetsRequest) MarshalJSON ¶
func (s *BatchUpdateAssetsRequest) MarshalJSON() ([]byte, error)
type BatchUpdateAssetsResponse ¶
type BatchUpdateAssetsResponse struct { // Assets: Update asset content. The content only includes values after // field mask being applied. Assets []*Asset `json:"assets,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Assets") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Assets") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BatchUpdateAssetsResponse: Response for updating a list of assets.
func (*BatchUpdateAssetsResponse) MarshalJSON ¶
func (s *BatchUpdateAssetsResponse) MarshalJSON() ([]byte, error)
type BiosDetails ¶
type BiosDetails struct { // BiosName: BIOS name. This fields is deprecated. Please use the `id` // field instead. BiosName string `json:"biosName,omitempty"` // Id: BIOS ID. Id string `json:"id,omitempty"` // Manufacturer: BIOS manufacturer. Manufacturer string `json:"manufacturer,omitempty"` // ReleaseDate: BIOS release date. ReleaseDate *Date `json:"releaseDate,omitempty"` // SmbiosUuid: SMBIOS UUID. SmbiosUuid string `json:"smbiosUuid,omitempty"` // Version: BIOS version. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "BiosName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BiosName") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BiosDetails: Details about the BIOS.
func (*BiosDetails) MarshalJSON ¶
func (s *BiosDetails) MarshalJSON() ([]byte, error)
type CancelOperationRequest ¶
type CancelOperationRequest struct { }
CancelOperationRequest: The request message for Operations.CancelOperation.
type ComputeEngineMigrationTarget ¶
type ComputeEngineMigrationTarget struct { // Shape: Description of the suggested shape for the migration target. Shape *ComputeEngineShapeDescriptor `json:"shape,omitempty"` // ForceSendFields is a list of field names (e.g. "Shape") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Shape") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ComputeEngineMigrationTarget: Compute engine migration target.
func (*ComputeEngineMigrationTarget) MarshalJSON ¶
func (s *ComputeEngineMigrationTarget) MarshalJSON() ([]byte, error)
type ComputeEnginePreferences ¶
type ComputeEnginePreferences struct { // LicenseType: License type to consider when calculating costs for // virtual machine insights and recommendations. If unspecified, costs // are calculated based on the default licensing plan. // // Possible values: // "LICENSE_TYPE_UNSPECIFIED" - Unspecified (default value). // "LICENSE_TYPE_DEFAULT" - Default Google Cloud licensing plan. // Licensing is charged per usage. This a good value to start with. // "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE" - Bring-your-own-license // (BYOL) plan. User provides the OS license. LicenseType string `json:"licenseType,omitempty"` // MachinePreferences: Preferences concerning the machine types to // consider on Compute Engine. MachinePreferences *MachinePreferences `json:"machinePreferences,omitempty"` // PersistentDiskType: Persistent disk type to use. If unspecified // (default), all types are considered, based on available usage data. // // Possible values: // "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value). // Selecting this value allows the system to use any disk type according // to reported usage. This a good value to start with. // "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk. // "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk. // "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk. PersistentDiskType string `json:"persistentDiskType,omitempty"` // ForceSendFields is a list of field names (e.g. "LicenseType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LicenseType") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ComputeEnginePreferences: The user preferences relating to Compute Engine target platform.
func (*ComputeEnginePreferences) MarshalJSON ¶
func (s *ComputeEnginePreferences) MarshalJSON() ([]byte, error)
type ComputeEngineShapeDescriptor ¶
type ComputeEngineShapeDescriptor struct { // LogicalCoreCount: Number of logical cores. LogicalCoreCount int64 `json:"logicalCoreCount,omitempty"` // MachineType: Compute Engine machine type. MachineType string `json:"machineType,omitempty"` // MemoryMb: Memory in mebibytes. MemoryMb int64 `json:"memoryMb,omitempty"` // PhysicalCoreCount: Number of physical cores. PhysicalCoreCount int64 `json:"physicalCoreCount,omitempty"` // Series: Compute Engine machine series. Series string `json:"series,omitempty"` // Storage: Compute Engine storage. Never empty. Storage []*ComputeStorageDescriptor `json:"storage,omitempty"` // ForceSendFields is a list of field names (e.g. "LogicalCoreCount") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LogicalCoreCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ComputeEngineShapeDescriptor: Compute Engine target shape descriptor.
func (*ComputeEngineShapeDescriptor) MarshalJSON ¶
func (s *ComputeEngineShapeDescriptor) MarshalJSON() ([]byte, error)
type ComputeStorageDescriptor ¶
type ComputeStorageDescriptor struct { // SizeGb: Disk size in GiB. SizeGb int64 `json:"sizeGb,omitempty"` // Type: Disk type backing the storage. // // Possible values: // "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value). // Selecting this value allows the system to use any disk type according // to reported usage. This a good value to start with. // "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk. // "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk. // "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "SizeGb") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SizeGb") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ComputeStorageDescriptor: Compute Engine storage option descriptor.
func (*ComputeStorageDescriptor) MarshalJSON ¶
func (s *ComputeStorageDescriptor) MarshalJSON() ([]byte, error)
type CpuUsageSample ¶
type CpuUsageSample struct { // UtilizedPercentage: Percentage of total CPU capacity utilized. Must // be in the interval [0, 100]. On most systems can be calculated using // 100 - idle percentage. UtilizedPercentage float64 `json:"utilizedPercentage,omitempty"` // ForceSendFields is a list of field names (e.g. "UtilizedPercentage") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UtilizedPercentage") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CpuUsageSample: CPU usage sample.
func (*CpuUsageSample) MarshalJSON ¶
func (s *CpuUsageSample) MarshalJSON() ([]byte, error)
func (*CpuUsageSample) UnmarshalJSON ¶
func (s *CpuUsageSample) UnmarshalJSON(data []byte) error
type DailyResourceUsageAggregation ¶
type DailyResourceUsageAggregation struct { // Cpu: CPU usage. Cpu *DailyResourceUsageAggregationCPU `json:"cpu,omitempty"` // Date: Aggregation date. Day boundaries are at midnight UTC. Date *Date `json:"date,omitempty"` // Disk: Disk usage. Disk *DailyResourceUsageAggregationDisk `json:"disk,omitempty"` // Memory: Memory usage. Memory *DailyResourceUsageAggregationMemory `json:"memory,omitempty"` // Network: Network usage. Network *DailyResourceUsageAggregationNetwork `json:"network,omitempty"` // ForceSendFields is a list of field names (e.g. "Cpu") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cpu") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DailyResourceUsageAggregation: Usage data aggregation for a single day.
func (*DailyResourceUsageAggregation) MarshalJSON ¶
func (s *DailyResourceUsageAggregation) MarshalJSON() ([]byte, error)
type DailyResourceUsageAggregationCPU ¶
type DailyResourceUsageAggregationCPU struct { // UtilizationPercentage: CPU utilization percentage. UtilizationPercentage *DailyResourceUsageAggregationStats `json:"utilizationPercentage,omitempty"` // ForceSendFields is a list of field names (e.g. // "UtilizationPercentage") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UtilizationPercentage") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
DailyResourceUsageAggregationCPU: Statistical aggregation of CPU usage.
func (*DailyResourceUsageAggregationCPU) MarshalJSON ¶
func (s *DailyResourceUsageAggregationCPU) MarshalJSON() ([]byte, error)
type DailyResourceUsageAggregationDisk ¶
type DailyResourceUsageAggregationDisk struct { // Iops: Disk I/O operations per second. Iops *DailyResourceUsageAggregationStats `json:"iops,omitempty"` // ForceSendFields is a list of field names (e.g. "Iops") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Iops") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DailyResourceUsageAggregationDisk: Statistical aggregation of disk usage.
func (*DailyResourceUsageAggregationDisk) MarshalJSON ¶
func (s *DailyResourceUsageAggregationDisk) MarshalJSON() ([]byte, error)
type DailyResourceUsageAggregationMemory ¶
type DailyResourceUsageAggregationMemory struct { // UtilizationPercentage: Memory utilization percentage. UtilizationPercentage *DailyResourceUsageAggregationStats `json:"utilizationPercentage,omitempty"` // ForceSendFields is a list of field names (e.g. // "UtilizationPercentage") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UtilizationPercentage") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
DailyResourceUsageAggregationMemory: Statistical aggregation of memory usage.
func (*DailyResourceUsageAggregationMemory) MarshalJSON ¶
func (s *DailyResourceUsageAggregationMemory) MarshalJSON() ([]byte, error)
type DailyResourceUsageAggregationNetwork ¶
type DailyResourceUsageAggregationNetwork struct { // EgressBps: Network egress in B/s. EgressBps *DailyResourceUsageAggregationStats `json:"egressBps,omitempty"` // IngressBps: Network ingress in B/s. IngressBps *DailyResourceUsageAggregationStats `json:"ingressBps,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressBps") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EgressBps") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DailyResourceUsageAggregationNetwork: Statistical aggregation of network usage.
func (*DailyResourceUsageAggregationNetwork) MarshalJSON ¶
func (s *DailyResourceUsageAggregationNetwork) MarshalJSON() ([]byte, error)
type DailyResourceUsageAggregationStats ¶
type DailyResourceUsageAggregationStats struct { // Average: Average usage value. Average float64 `json:"average,omitempty"` // Median: Median usage value. Median float64 `json:"median,omitempty"` // NinteyFifthPercentile: 95th percentile usage value. NinteyFifthPercentile float64 `json:"ninteyFifthPercentile,omitempty"` // Peak: Peak usage value. Peak float64 `json:"peak,omitempty"` // ForceSendFields is a list of field names (e.g. "Average") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Average") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DailyResourceUsageAggregationStats: Statistical aggregation of samples for a single resource usage.
func (*DailyResourceUsageAggregationStats) MarshalJSON ¶
func (s *DailyResourceUsageAggregationStats) MarshalJSON() ([]byte, error)
func (*DailyResourceUsageAggregationStats) UnmarshalJSON ¶
func (s *DailyResourceUsageAggregationStats) UnmarshalJSON(data []byte) error
type Date ¶
type Date struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and // month, or 0 to specify a year by itself or a year and month where the // day isn't significant. Day int64 `json:"day,omitempty"` // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year // without a month and day. Month int64 `json:"month,omitempty"` // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a // date without a year. Year int64 `json:"year,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Date: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
func (*Date) MarshalJSON ¶
type DiskEntry ¶
type DiskEntry struct { // CapacityBytes: Disk capacity. CapacityBytes int64 `json:"capacityBytes,omitempty,string"` // DiskLabel: Disk label. DiskLabel string `json:"diskLabel,omitempty"` // DiskLabelType: Disk label type (e.g. BIOS/GPT) DiskLabelType string `json:"diskLabelType,omitempty"` // FreeBytes: Disk free space. FreeBytes int64 `json:"freeBytes,omitempty,string"` // HwAddress: Disk hardware address (e.g. 0:1 for SCSI). HwAddress string `json:"hwAddress,omitempty"` // InterfaceType: Disks interface type. // // Possible values: // "INTERFACE_TYPE_UNSPECIFIED" - Interface type unknown or // unspecified. // "IDE" - IDE interface type. // "SATA" - SATA interface type. // "SAS" - SAS interface type. // "SCSI" - SCSI interface type. // "NVME" - NVME interface type. // "FC" - FC interface type. // "ISCSI" - iSCSI interface type. InterfaceType string `json:"interfaceType,omitempty"` // Partitions: Partition layout. Partitions *DiskPartitionList `json:"partitions,omitempty"` // Vmware: VMware disk details. Vmware *VmwareDiskConfig `json:"vmware,omitempty"` // ForceSendFields is a list of field names (e.g. "CapacityBytes") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CapacityBytes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DiskEntry: Single disk entry.
func (*DiskEntry) MarshalJSON ¶
type DiskEntryList ¶
type DiskEntryList struct { // Entries: Disk entries. Entries []*DiskEntry `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DiskEntryList: VM disks.
func (*DiskEntryList) MarshalJSON ¶
func (s *DiskEntryList) MarshalJSON() ([]byte, error)
type DiskPartition ¶
type DiskPartition struct { // CapacityBytes: Partition capacity. CapacityBytes int64 `json:"capacityBytes,omitempty,string"` // FileSystem: Partition file system. FileSystem string `json:"fileSystem,omitempty"` // FreeBytes: Partition free space. FreeBytes int64 `json:"freeBytes,omitempty,string"` // MountPoint: Mount pount (Linux/Windows) or drive letter (Windows). MountPoint string `json:"mountPoint,omitempty"` // SubPartitions: Sub-partitions. SubPartitions *DiskPartitionList `json:"subPartitions,omitempty"` // Type: Partition type. Type string `json:"type,omitempty"` // Uuid: Partition UUID. Uuid string `json:"uuid,omitempty"` // ForceSendFields is a list of field names (e.g. "CapacityBytes") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CapacityBytes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DiskPartition: Disk Partition details.
func (*DiskPartition) MarshalJSON ¶
func (s *DiskPartition) MarshalJSON() ([]byte, error)
type DiskPartitionList ¶
type DiskPartitionList struct { // Entries: Partition entries. Entries []*DiskPartition `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DiskPartitionList: Disk partition list.
func (*DiskPartitionList) MarshalJSON ¶
func (s *DiskPartitionList) MarshalJSON() ([]byte, error)
type DiskUsageSample ¶
type DiskUsageSample struct { // AverageIops: Average IOPS sampled over a short window. Must be // non-negative. AverageIops float64 `json:"averageIops,omitempty"` // ForceSendFields is a list of field names (e.g. "AverageIops") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AverageIops") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DiskUsageSample: Disk usage sample. Values are across all disks.
func (*DiskUsageSample) MarshalJSON ¶
func (s *DiskUsageSample) MarshalJSON() ([]byte, error)
func (*DiskUsageSample) UnmarshalJSON ¶
func (s *DiskUsageSample) UnmarshalJSON(data []byte) error
type Empty ¶
type Empty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type ErrorFrame ¶
type ErrorFrame struct { // IngestionTime: Output only. Frame ingestion time. IngestionTime string `json:"ingestionTime,omitempty"` // Name: Output only. The identifier of the ErrorFrame. Name string `json:"name,omitempty"` // OriginalFrame: Output only. The frame that was originally reported. OriginalFrame *AssetFrame `json:"originalFrame,omitempty"` // Violations: Output only. All the violations that were detected for // the frame. Violations []*FrameViolationEntry `json:"violations,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "IngestionTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IngestionTime") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ErrorFrame: Message representing a frame which failed to be processed due to an error.
func (*ErrorFrame) MarshalJSON ¶
func (s *ErrorFrame) MarshalJSON() ([]byte, error)
type ExecutionReport ¶
type ExecutionReport struct { // ExecutionErrors: Validation errors encountered during the execution // of the import job. ExecutionErrors *ValidationReport `json:"executionErrors,omitempty"` // FramesReported: Total number of asset frames reported for the import // job. FramesReported int64 `json:"framesReported,omitempty"` // TotalRowsCount: Output only. Total number of rows in the import job. TotalRowsCount int64 `json:"totalRowsCount,omitempty"` // ForceSendFields is a list of field names (e.g. "ExecutionErrors") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExecutionErrors") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ExecutionReport: A resource that reports result of the import job execution.
func (*ExecutionReport) MarshalJSON ¶
func (s *ExecutionReport) MarshalJSON() ([]byte, error)
type FileValidationReport ¶
type FileValidationReport struct { // FileErrors: List of file level errors. FileErrors []*ImportError `json:"fileErrors,omitempty"` // FileName: The name of the file. FileName string `json:"fileName,omitempty"` // PartialReport: Flag indicating that processing was aborted due to // maximum number of errors. PartialReport bool `json:"partialReport,omitempty"` // RowErrors: Partial list of rows that encountered validation error. RowErrors []*ImportRowError `json:"rowErrors,omitempty"` // ForceSendFields is a list of field names (e.g. "FileErrors") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FileErrors") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FileValidationReport: A resource that aggregates the validation errors found in an import job file.
func (*FileValidationReport) MarshalJSON ¶
func (s *FileValidationReport) MarshalJSON() ([]byte, error)
type FitDescriptor ¶
type FitDescriptor struct { // FitLevel: Fit level. // // Possible values: // "FIT_LEVEL_UNSPECIFIED" - Not enough information. // "FIT" - Fit. // "NO_FIT" - No Fit. // "REQUIRES_EFFORT" - Fit with effort. FitLevel string `json:"fitLevel,omitempty"` // ForceSendFields is a list of field names (e.g. "FitLevel") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FitLevel") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FitDescriptor: Describes the fit level of an asset for migration to a specific target.
func (*FitDescriptor) MarshalJSON ¶
func (s *FitDescriptor) MarshalJSON() ([]byte, error)
type FrameViolationEntry ¶
type FrameViolationEntry struct { // Field: The field of the original frame where the violation occurred. Field string `json:"field,omitempty"` // Violation: A message describing the violation. Violation string `json:"violation,omitempty"` // ForceSendFields is a list of field names (e.g. "Field") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Field") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FrameViolationEntry: A resource that contains a single violation of a reported `AssetFrame` resource.
func (*FrameViolationEntry) MarshalJSON ¶
func (s *FrameViolationEntry) MarshalJSON() ([]byte, error)
type Frames ¶
type Frames struct { // FramesData: A repeated field of asset data. FramesData []*AssetFrame `json:"framesData,omitempty"` // ForceSendFields is a list of field names (e.g. "FramesData") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FramesData") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Frames: Collection of frame data.
func (*Frames) MarshalJSON ¶
type FstabEntry ¶
type FstabEntry struct { // File: The mount point for the filesystem. File string `json:"file,omitempty"` // Freq: Used by dump to determine which filesystems need to be dumped. Freq int64 `json:"freq,omitempty"` // Mntops: Mount options associated with the filesystem. Mntops string `json:"mntops,omitempty"` // Passno: Used by the fsck(8) program to determine the order in which // filesystem checks are done at reboot time. Passno int64 `json:"passno,omitempty"` // Spec: The block special device or remote filesystem to be mounted. Spec string `json:"spec,omitempty"` // Vfstype: The type of the filesystem. Vfstype string `json:"vfstype,omitempty"` // ForceSendFields is a list of field names (e.g. "File") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "File") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FstabEntry: Single fstab entry.
func (*FstabEntry) MarshalJSON ¶
func (s *FstabEntry) MarshalJSON() ([]byte, error)
type FstabEntryList ¶
type FstabEntryList struct { // Entries: Fstab entries. Entries []*FstabEntry `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FstabEntryList: Fstab content.
func (*FstabEntryList) MarshalJSON ¶
func (s *FstabEntryList) MarshalJSON() ([]byte, error)
type GenericInsight ¶
type GenericInsight struct { // AdditionalInformation: Output only. Additional information about the // insight, each entry can be a logical entry and must make sense if it // is displayed with line breaks between each entry. Text can contain md // style links. AdditionalInformation []string `json:"additionalInformation,omitempty"` // DefaultMessage: Output only. In case message_code is not yet known by // the client default_message will be the message to be used instead. DefaultMessage string `json:"defaultMessage,omitempty"` // MessageId: Output only. Represents a globally unique message id for // this insight, can be used for localization purposes, in case // message_code is not yet known by the client use default_message // instead. MessageId int64 `json:"messageId,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "AdditionalInformation") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalInformation") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GenericInsight: A generic insight about an asset.
func (*GenericInsight) MarshalJSON ¶
func (s *GenericInsight) MarshalJSON() ([]byte, error)
type GenericPlatformDetails ¶
type GenericPlatformDetails struct { // Location: Free text representation of the machine location. The // format of this field should not be relied on. Different VMs in the // same location may have different string values for this field. Location string `json:"location,omitempty"` // ForceSendFields is a list of field names (e.g. "Location") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Location") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GenericPlatformDetails: Generic platform details.
func (*GenericPlatformDetails) MarshalJSON ¶
func (s *GenericPlatformDetails) MarshalJSON() ([]byte, error)
type Group ¶
type Group struct { // CreateTime: Output only. The timestamp when the group was created. CreateTime string `json:"createTime,omitempty"` // Description: Optional. The description of the group. Description string `json:"description,omitempty"` // DisplayName: Optional. User-friendly display name. DisplayName string `json:"displayName,omitempty"` // Labels: Labels as key value pairs. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The name of the group. Name string `json:"name,omitempty"` // UpdateTime: Output only. The timestamp when the group was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Group: A resource that represents an asset group. The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group. An asset can belong to multiple groups.
func (*Group) MarshalJSON ¶
type GuestConfigDetails ¶
type GuestConfigDetails struct { // Fstab: Mount list (Linux fstab). Fstab *FstabEntryList `json:"fstab,omitempty"` // Hosts: Hosts file (/etc/hosts). Hosts *HostsEntryList `json:"hosts,omitempty"` // Issue: OS issue (typically /etc/issue in Linux). Issue string `json:"issue,omitempty"` // NfsExports: NFS exports. NfsExports *NfsExportList `json:"nfsExports,omitempty"` // SelinuxMode: Security-Enhanced Linux (SELinux) mode. // // Possible values: // "SE_LINUX_MODE_UNSPECIFIED" - SELinux mode unknown or unspecified. // "SE_LINUX_MODE_DISABLED" - SELinux is disabled. // "SE_LINUX_MODE_PERMISSIVE" - SELinux permissive mode. // "SE_LINUX_MODE_ENFORCING" - SELinux enforcing mode. SelinuxMode string `json:"selinuxMode,omitempty"` // ForceSendFields is a list of field names (e.g. "Fstab") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Fstab") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GuestConfigDetails: Guest OS config information.
func (*GuestConfigDetails) MarshalJSON ¶
func (s *GuestConfigDetails) MarshalJSON() ([]byte, error)
type GuestInstalledApplication ¶
type GuestInstalledApplication struct { // ApplicationName: Installed application name. ApplicationName string `json:"applicationName,omitempty"` // InstallTime: The time when the application was installed. InstallTime string `json:"installTime,omitempty"` // Licenses: License strings associated with the installed application. Licenses []string `json:"licenses,omitempty"` // Path: Source path. Path string `json:"path,omitempty"` // Vendor: Installed application vendor. Vendor string `json:"vendor,omitempty"` // Version: Installed application version. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "ApplicationName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApplicationName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GuestInstalledApplication: Guest installed application information.
func (*GuestInstalledApplication) MarshalJSON ¶
func (s *GuestInstalledApplication) MarshalJSON() ([]byte, error)
type GuestInstalledApplicationList ¶
type GuestInstalledApplicationList struct { // Entries: Application entries. Entries []*GuestInstalledApplication `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GuestInstalledApplicationList: Guest installed application list.
func (*GuestInstalledApplicationList) MarshalJSON ¶
func (s *GuestInstalledApplicationList) MarshalJSON() ([]byte, error)
type GuestOsDetails ¶
type GuestOsDetails struct { // Config: OS and app configuration. Config *GuestConfigDetails `json:"config,omitempty"` // Family: What family the OS belong to, if known. // // Possible values: // "OS_FAMILY_UNKNOWN" // "OS_FAMILY_WINDOWS" - Microsoft Windows Server and Desktop. // "OS_FAMILY_LINUX" - Various Linux flavors. // "OS_FAMILY_UNIX" - Non-Linux Unix flavors. Family string `json:"family,omitempty"` // OsName: The name of the operating system. OsName string `json:"osName,omitempty"` // Runtime: Runtime information. Runtime *GuestRuntimeDetails `json:"runtime,omitempty"` // Version: The version of the operating system. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Config") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Config") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GuestOsDetails: Information from Guest-level collections.
func (*GuestOsDetails) MarshalJSON ¶
func (s *GuestOsDetails) MarshalJSON() ([]byte, error)
type GuestRuntimeDetails ¶
type GuestRuntimeDetails struct { // Domain: Domain, e.g. c.stratozone-development.internal. Domain string `json:"domain,omitempty"` // InstalledApps: Installed applications information. InstalledApps *GuestInstalledApplicationList `json:"installedApps,omitempty"` // LastBootTime: Last time the OS was booted. LastBootTime string `json:"lastBootTime,omitempty"` // MachineName: Machine name. MachineName string `json:"machineName,omitempty"` // Network: Runtime network information (connections, ports). Network *RuntimeNetworkInfo `json:"network,omitempty"` // OpenFileList: Open files information. OpenFileList *OpenFileList `json:"openFileList,omitempty"` // Processes: Running processes. Processes *RunningProcessList `json:"processes,omitempty"` // Services: Running background services. Services *RunningServiceList `json:"services,omitempty"` // ForceSendFields is a list of field names (e.g. "Domain") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Domain") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GuestRuntimeDetails: Guest OS runtime information.
func (*GuestRuntimeDetails) MarshalJSON ¶
func (s *GuestRuntimeDetails) MarshalJSON() ([]byte, error)
type HostsEntry ¶
type HostsEntry struct { // HostNames: List of host names / aliases. HostNames []string `json:"hostNames,omitempty"` // Ip: IP (raw, IPv4/6 agnostic). Ip string `json:"ip,omitempty"` // ForceSendFields is a list of field names (e.g. "HostNames") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HostNames") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
HostsEntry: Single /etc/hosts entry.
func (*HostsEntry) MarshalJSON ¶
func (s *HostsEntry) MarshalJSON() ([]byte, error)
type HostsEntryList ¶
type HostsEntryList struct { // Entries: Hosts entries. Entries []*HostsEntry `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
HostsEntryList: Hosts content.
func (*HostsEntryList) MarshalJSON ¶
func (s *HostsEntryList) MarshalJSON() ([]byte, error)
type ImportDataFile ¶
type ImportDataFile struct { // CreateTime: Output only. The timestamp when the file was created. CreateTime string `json:"createTime,omitempty"` // DisplayName: User-friendly display name. Maximum length is 63 // characters. DisplayName string `json:"displayName,omitempty"` // Format: Required. The payload format. // // Possible values: // "IMPORT_JOB_FORMAT_UNSPECIFIED" - Default value. // "IMPORT_JOB_FORMAT_RVTOOLS_XLSX" - RVTools format (XLSX). // "IMPORT_JOB_FORMAT_RVTOOLS_CSV" - RVTools format (CSV). // "IMPORT_JOB_FORMAT_EXPORTED_AWS_CSV" - CSV format exported from AWS // using the AWS collection script. // "IMPORT_JOB_FORMAT_EXPORTED_AZURE_CSV" - CSV format exported from // Azure using the Azure collection script. // "IMPORT_JOB_FORMAT_STRATOZONE_CSV" - CSV format created manually // and following the StratoZone format. For more information, see // Manually create and upload data tables. Format string `json:"format,omitempty"` // Name: Output only. The name of the file. Name string `json:"name,omitempty"` // State: Output only. The state of the import data file. // // Possible values: // "STATE_UNSPECIFIED" - Default value. // "CREATING" - The data file is being created. // "ACTIVE" - The data file completed initialization. State string `json:"state,omitempty"` // UploadFileInfo: Information about a file that is uploaded to a // storage service. UploadFileInfo *UploadFileInfo `json:"uploadFileInfo,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ImportDataFile: A resource that represents a payload file in an import job.
func (*ImportDataFile) MarshalJSON ¶
func (s *ImportDataFile) MarshalJSON() ([]byte, error)
type ImportError ¶
type ImportError struct { // ErrorDetails: The error information. ErrorDetails string `json:"errorDetails,omitempty"` // Severity: The severity of the error. // // Possible values: // "SEVERITY_UNSPECIFIED" // "ERROR" // "WARNING" // "INFO" Severity string `json:"severity,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorDetails") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorDetails") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ImportError: A resource that reports the errors encountered while processing an import job.
func (*ImportError) MarshalJSON ¶
func (s *ImportError) MarshalJSON() ([]byte, error)
type ImportJob ¶
type ImportJob struct { // AssetSource: Required. Reference to a source. AssetSource string `json:"assetSource,omitempty"` // CompleteTime: Output only. The timestamp when the import job was // completed. CompleteTime string `json:"completeTime,omitempty"` // CreateTime: Output only. The timestamp when the import job was // created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Optional. User-friendly display name. Maximum length is // 256 characters. DisplayName string `json:"displayName,omitempty"` // ExecutionReport: Output only. The report with the results of running // the import job. ExecutionReport *ExecutionReport `json:"executionReport,omitempty"` // Labels: Labels as key value pairs. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The full name of the import job. Name string `json:"name,omitempty"` // State: Output only. The state of the import job. // // Possible values: // "IMPORT_JOB_STATE_UNSPECIFIED" - Default value. // "IMPORT_JOB_STATE_PENDING" - The import job is pending. // "IMPORT_JOB_STATE_RUNNING" - The processing of the import job is // ongoing. // "IMPORT_JOB_STATE_COMPLETED" - The import job processing has // completed. // "IMPORT_JOB_STATE_FAILED" - The import job failed to be processed. // "IMPORT_JOB_STATE_VALIDATING" - The import job is being validated. // "IMPORT_JOB_STATE_FAILED_VALIDATION" - The import job contains // blocking errors. // "IMPORT_JOB_STATE_READY" - The validation of the job completed with // no blocking errors. State string `json:"state,omitempty"` // UpdateTime: Output only. The timestamp when the import job was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ValidationReport: Output only. The report with the validation results // of the import job. ValidationReport *ValidationReport `json:"validationReport,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AssetSource") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssetSource") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ImportJob: A resource that represents the background job that imports asset frames.
func (*ImportJob) MarshalJSON ¶
type ImportRowError ¶
type ImportRowError struct { // Errors: The list of errors detected in the row. Errors []*ImportError `json:"errors,omitempty"` // RowNumber: The row number where the error was detected. RowNumber int64 `json:"rowNumber,omitempty"` // VmName: The name of the VM in the row. VmName string `json:"vmName,omitempty"` // VmUuid: The VM UUID. VmUuid string `json:"vmUuid,omitempty"` // ForceSendFields is a list of field names (e.g. "Errors") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Errors") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ImportRowError: A resource that reports the import job errors at row level.
func (*ImportRowError) MarshalJSON ¶
func (s *ImportRowError) MarshalJSON() ([]byte, error)
type Insight ¶
type Insight struct { // GenericInsight: Output only. A generic insight about an asset GenericInsight *GenericInsight `json:"genericInsight,omitempty"` // MigrationInsight: Output only. An insight about potential migrations // for an asset. MigrationInsight *MigrationInsight `json:"migrationInsight,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericInsight") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericInsight") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Insight: An insight about an asset.
func (*Insight) MarshalJSON ¶
type InsightList ¶
type InsightList struct { // Insights: Output only. Insights of the list. Insights []*Insight `json:"insights,omitempty"` // UpdateTime: Output only. Update timestamp. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Insights") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Insights") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
InsightList: Message containing insights list.
func (*InsightList) MarshalJSON ¶
func (s *InsightList) MarshalJSON() ([]byte, error)
type ListAssetsResponse ¶
type ListAssetsResponse struct { // Assets: A list of assets. Assets []*Asset `json:"assets,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. "Assets") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Assets") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListAssetsResponse: Response message for listing assets.
func (*ListAssetsResponse) MarshalJSON ¶
func (s *ListAssetsResponse) MarshalJSON() ([]byte, error)
type ListErrorFramesResponse ¶
type ListErrorFramesResponse struct { // ErrorFrames: The list of error frames. ErrorFrames []*ErrorFrame `json:"errorFrames,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. "ErrorFrames") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorFrames") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListErrorFramesResponse: A response for listing error frames.
func (*ListErrorFramesResponse) MarshalJSON ¶
func (s *ListErrorFramesResponse) MarshalJSON() ([]byte, error)
type ListGroupsResponse ¶
type ListGroupsResponse struct { // Groups: The list of Group Groups []*Group `json:"groups,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. "Groups") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Groups") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListGroupsResponse: A response for listing groups.
func (*ListGroupsResponse) MarshalJSON ¶
func (s *ListGroupsResponse) MarshalJSON() ([]byte, error)
type ListImportDataFilesResponse ¶
type ListImportDataFilesResponse struct { // ImportDataFiles: The list of import data files. ImportDataFiles []*ImportDataFile `json:"importDataFiles,omitempty"` // NextPageToken: A token that can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ImportDataFiles") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImportDataFiles") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListImportDataFilesResponse: Response for listing payload files of an import job.
func (*ListImportDataFilesResponse) MarshalJSON ¶
func (s *ListImportDataFilesResponse) MarshalJSON() ([]byte, error)
type ListImportJobsResponse ¶
type ListImportJobsResponse struct { // ImportJobs: The list of import jobs. ImportJobs []*ImportJob `json:"importJobs,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. "ImportJobs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImportJobs") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListImportJobsResponse: A response for listing import jobs.
func (*ListImportJobsResponse) MarshalJSON ¶
func (s *ListImportJobsResponse) 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListOperationsResponse: The response message for Operations.ListOperations.
func (*ListOperationsResponse) MarshalJSON ¶
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListPreferenceSetsResponse ¶
type ListPreferenceSetsResponse struct { // NextPageToken: A token identifying a page of results the server // should return. NextPageToken string `json:"nextPageToken,omitempty"` // PreferenceSets: The list of PreferenceSets PreferenceSets []*PreferenceSet `json:"preferenceSets,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListPreferenceSetsResponse: Response message for listing preference sets.
func (*ListPreferenceSetsResponse) MarshalJSON ¶
func (s *ListPreferenceSetsResponse) MarshalJSON() ([]byte, error)
type ListReportConfigsResponse ¶
type ListReportConfigsResponse struct { // NextPageToken: A token identifying a page of results the server // should return. NextPageToken string `json:"nextPageToken,omitempty"` // ReportConfigs: A list of report configs. ReportConfigs []*ReportConfig `json:"reportConfigs,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListReportConfigsResponse: Response message for listing report configs.
func (*ListReportConfigsResponse) MarshalJSON ¶
func (s *ListReportConfigsResponse) MarshalJSON() ([]byte, error)
type ListReportsResponse ¶
type ListReportsResponse struct { // NextPageToken: A token identifying a page of results the server // should return. NextPageToken string `json:"nextPageToken,omitempty"` // Reports: The list of Reports. Reports []*Report `json:"reports,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListReportsResponse: Response message for listing Reports.
func (*ListReportsResponse) MarshalJSON ¶
func (s *ListReportsResponse) MarshalJSON() ([]byte, error)
type ListSourcesResponse ¶
type ListSourcesResponse struct { // NextPageToken: A token identifying a page of results the server // should return. NextPageToken string `json:"nextPageToken,omitempty"` // Sources: The list of sources. Sources []*Source `json:"sources,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListSourcesResponse: Response message for listing sources.
func (*ListSourcesResponse) MarshalJSON ¶
func (s *ListSourcesResponse) 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Location: A resource that represents a Google Cloud location.
func (*Location) MarshalJSON ¶
type MachineArchitectureDetails ¶
type MachineArchitectureDetails struct { // Bios: BIOS Details. Bios *BiosDetails `json:"bios,omitempty"` // CpuArchitecture: CPU architecture, e.g., "x64-based PC", "x86_64", // "i686" etc. CpuArchitecture string `json:"cpuArchitecture,omitempty"` // CpuName: CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc. CpuName string `json:"cpuName,omitempty"` // CpuSocketCount: Number of processor sockets allocated to the machine. CpuSocketCount int64 `json:"cpuSocketCount,omitempty"` // CpuThreadCount: Number of CPU threads allocated to the machine. CpuThreadCount int64 `json:"cpuThreadCount,omitempty"` // FirmwareType: Firmware type. // // Possible values: // "FIRMWARE_TYPE_UNSPECIFIED" - Unspecified or unknown. // "BIOS" - BIOS firmware. // "EFI" - EFI firmware. FirmwareType string `json:"firmwareType,omitempty"` // Hyperthreading: CPU hyper-threading support. // // Possible values: // "CPU_HYPER_THREADING_UNSPECIFIED" - Unspecified or unknown. // "DISABLED" - Hyper-threading is disabled. // "ENABLED" - Hyper-threading is enabled. Hyperthreading string `json:"hyperthreading,omitempty"` // Vendor: Hardware vendor. Vendor string `json:"vendor,omitempty"` // ForceSendFields is a list of field names (e.g. "Bios") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bios") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MachineArchitectureDetails: Details of the machine architecture.
func (*MachineArchitectureDetails) MarshalJSON ¶
func (s *MachineArchitectureDetails) MarshalJSON() ([]byte, error)
type MachineDetails ¶
type MachineDetails struct { // Architecture: Architecture details (vendor, CPU architecture). Architecture *MachineArchitectureDetails `json:"architecture,omitempty"` // CoreCount: Number of CPU cores in the machine. Must be non-negative. CoreCount int64 `json:"coreCount,omitempty"` // CreateTime: Machine creation time. CreateTime string `json:"createTime,omitempty"` // Disks: Disk details. Disks *MachineDiskDetails `json:"disks,omitempty"` // GuestOs: Guest OS information. GuestOs *GuestOsDetails `json:"guestOs,omitempty"` // MachineName: Machine name. MachineName string `json:"machineName,omitempty"` // MemoryMb: The amount of memory in the machine. Must be non-negative. MemoryMb int64 `json:"memoryMb,omitempty"` // Network: Network details. Network *MachineNetworkDetails `json:"network,omitempty"` // Platform: Platform specific information. Platform *PlatformDetails `json:"platform,omitempty"` // PowerState: Power state of the machine. // // Possible values: // "POWER_STATE_UNSPECIFIED" - Power state is unknown. // "PENDING" - The machine is preparing to enter the ACTIVE state. An // instance may enter the PENDING state when it launches for the first // time, or when it is started after being in the SUSPENDED state. // "ACTIVE" - The machine is active. // "SUSPENDING" - The machine is being turned off. // "SUSPENDED" - The machine is off. // "DELETING" - The machine is being deleted from the hosting // platform. // "DELETED" - The machine is deleted from the hosting platform. PowerState string `json:"powerState,omitempty"` // Uuid: Machine unique identifier. Uuid string `json:"uuid,omitempty"` // ForceSendFields is a list of field names (e.g. "Architecture") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Architecture") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MachineDetails: Details of a machine.
func (*MachineDetails) MarshalJSON ¶
func (s *MachineDetails) MarshalJSON() ([]byte, error)
type MachineDiskDetails ¶
type MachineDiskDetails struct { // Disks: List of disks. Disks *DiskEntryList `json:"disks,omitempty"` // TotalCapacityBytes: Disk total Capacity. TotalCapacityBytes int64 `json:"totalCapacityBytes,omitempty,string"` // TotalFreeBytes: Total disk free space. TotalFreeBytes int64 `json:"totalFreeBytes,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Disks") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disks") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MachineDiskDetails: Details of machine disks.
func (*MachineDiskDetails) MarshalJSON ¶
func (s *MachineDiskDetails) MarshalJSON() ([]byte, error)
type MachineNetworkDetails ¶
type MachineNetworkDetails struct { // Adapters: List of network adapters. Adapters *NetworkAdapterList `json:"adapters,omitempty"` // PrimaryIpAddress: The primary IP address of the machine. PrimaryIpAddress string `json:"primaryIpAddress,omitempty"` // PrimaryMacAddress: MAC address of the machine. This property is used // to uniqly identify the machine. PrimaryMacAddress string `json:"primaryMacAddress,omitempty"` // PublicIpAddress: The public IP address of the machine. PublicIpAddress string `json:"publicIpAddress,omitempty"` // ForceSendFields is a list of field names (e.g. "Adapters") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Adapters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MachineNetworkDetails: Details of network adapters and settings.
func (*MachineNetworkDetails) MarshalJSON ¶
func (s *MachineNetworkDetails) MarshalJSON() ([]byte, error)
type MachinePreferences ¶
type MachinePreferences struct { // AllowedMachineSeries: Compute Engine machine series to consider for // insights and recommendations. If empty, no restriction is applied on // the machine series. AllowedMachineSeries []*MachineSeries `json:"allowedMachineSeries,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowedMachineSeries") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowedMachineSeries") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MachinePreferences: The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions.
func (*MachinePreferences) MarshalJSON ¶
func (s *MachinePreferences) MarshalJSON() ([]byte, error)
type MachineSeries ¶
type MachineSeries struct { // Code: Code to identify a Compute Engine machine series. Consult // https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison // for more details on the available series. Code string `json:"code,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MachineSeries: A Compute Engine machine series.
func (*MachineSeries) MarshalJSON ¶
func (s *MachineSeries) MarshalJSON() ([]byte, error)
type MemoryUsageSample ¶
type MemoryUsageSample struct { // UtilizedPercentage: Percentage of system memory utilized. Must be in // the interval [0, 100]. UtilizedPercentage float64 `json:"utilizedPercentage,omitempty"` // ForceSendFields is a list of field names (e.g. "UtilizedPercentage") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UtilizedPercentage") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MemoryUsageSample: Memory usage sample.
func (*MemoryUsageSample) MarshalJSON ¶
func (s *MemoryUsageSample) MarshalJSON() ([]byte, error)
func (*MemoryUsageSample) UnmarshalJSON ¶
func (s *MemoryUsageSample) UnmarshalJSON(data []byte) error
type MigrationInsight ¶
type MigrationInsight struct { // ComputeEngineTarget: Output only. A Google Compute Engine target. ComputeEngineTarget *ComputeEngineMigrationTarget `json:"computeEngineTarget,omitempty"` // Fit: Output only. Description of how well the asset this insight is // associated with fits the proposed migration. Fit *FitDescriptor `json:"fit,omitempty"` // ForceSendFields is a list of field names (e.g. "ComputeEngineTarget") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ComputeEngineTarget") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MigrationInsight: An insight about potential migrations for an asset.
func (*MigrationInsight) MarshalJSON ¶
func (s *MigrationInsight) MarshalJSON() ([]byte, error)
type Money ¶
type Money struct { // CurrencyCode: The three-letter currency code defined in ISO 4217. CurrencyCode string `json:"currencyCode,omitempty"` // Nanos: Number of nano (10^-9) units of the amount. The value must be // between -999,999,999 and +999,999,999 inclusive. If `units` is // positive, `nanos` must be positive or zero. If `units` is zero, // `nanos` can be positive, zero, or negative. If `units` is negative, // `nanos` must be negative or zero. For example $-1.75 is represented // as `units`=-1 and `nanos`=-750,000,000. Nanos int64 `json:"nanos,omitempty"` // Units: The whole units of the amount. For example if `currencyCode` // is "USD", then 1 unit is one US dollar. Units int64 `json:"units,omitempty,string"` // ForceSendFields is a list of field names (e.g. "CurrencyCode") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrencyCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Money: Represents an amount of money with its currency type.
func (*Money) MarshalJSON ¶
type NetworkAdapterDetails ¶
type NetworkAdapterDetails struct { // AdapterType: Network adapter type (e.g. VMXNET3). AdapterType string `json:"adapterType,omitempty"` // Addresses: NetworkAddressList Addresses *NetworkAddressList `json:"addresses,omitempty"` // MacAddress: MAC address. MacAddress string `json:"macAddress,omitempty"` // ForceSendFields is a list of field names (e.g. "AdapterType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdapterType") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkAdapterDetails: Details of network adapter.
func (*NetworkAdapterDetails) MarshalJSON ¶
func (s *NetworkAdapterDetails) MarshalJSON() ([]byte, error)
type NetworkAdapterList ¶
type NetworkAdapterList struct { // Entries: Network adapter entries. Entries []*NetworkAdapterDetails `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkAdapterList: List of network adapters.
func (*NetworkAdapterList) MarshalJSON ¶
func (s *NetworkAdapterList) MarshalJSON() ([]byte, error)
type NetworkAddress ¶
type NetworkAddress struct { // Assignment: Whether DHCP is used to assign addresses. // // Possible values: // "ADDRESS_ASSIGNMENT_UNSPECIFIED" - Unknown (default value). // "ADDRESS_ASSIGNMENT_STATIC" - Staticly assigned IP. // "ADDRESS_ASSIGNMENT_DHCP" - Dynamically assigned IP (DHCP). Assignment string `json:"assignment,omitempty"` // Bcast: Broadcast address. Bcast string `json:"bcast,omitempty"` // Fqdn: Fully qualified domain name. Fqdn string `json:"fqdn,omitempty"` // IpAddress: Assigned or configured IP Address. IpAddress string `json:"ipAddress,omitempty"` // SubnetMask: Subnet mask. SubnetMask string `json:"subnetMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Assignment") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Assignment") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkAddress: Details of network address.
func (*NetworkAddress) MarshalJSON ¶
func (s *NetworkAddress) MarshalJSON() ([]byte, error)
type NetworkAddressList ¶
type NetworkAddressList struct { // Entries: Network address entries. Entries []*NetworkAddress `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkAddressList: List of allocated/assigned network addresses.
func (*NetworkAddressList) MarshalJSON ¶
func (s *NetworkAddressList) MarshalJSON() ([]byte, error)
type NetworkConnection ¶
type NetworkConnection struct { // LocalIpAddress: Local IP address. LocalIpAddress string `json:"localIpAddress,omitempty"` // LocalPort: Local port. LocalPort int64 `json:"localPort,omitempty"` // Pid: Process ID. Pid int64 `json:"pid,omitempty,string"` // ProcessName: Process or service name. ProcessName string `json:"processName,omitempty"` // Protocol: Connection protocol (e.g. TCP/UDP). Protocol string `json:"protocol,omitempty"` // RemoteIpAddress: Remote IP address. RemoteIpAddress string `json:"remoteIpAddress,omitempty"` // RemotePort: Remote port. RemotePort int64 `json:"remotePort,omitempty"` // State: Network connection state. // // Possible values: // "STATE_UNSPECIFIED" - Connection state is unknown or unspecified. // "OPENING" - The connection is being opened. // "OPEN" - The connection is open. // "LISTEN" - Listening for incoming connections. // "CLOSING" - The connection is being closed. // "CLOSED" - The connection is closed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "LocalIpAddress") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LocalIpAddress") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*NetworkConnection) MarshalJSON ¶
func (s *NetworkConnection) MarshalJSON() ([]byte, error)
type NetworkConnectionList ¶
type NetworkConnectionList struct { // Entries: Network connection entries. Entries []*NetworkConnection `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkConnectionList: Network connection list.
func (*NetworkConnectionList) MarshalJSON ¶
func (s *NetworkConnectionList) MarshalJSON() ([]byte, error)
type NetworkUsageSample ¶
type NetworkUsageSample struct { // AverageEgressBps: Average network egress in B/s sampled over a short // window. Must be non-negative. AverageEgressBps float64 `json:"averageEgressBps,omitempty"` // AverageIngressBps: Average network ingress in B/s sampled over a // short window. Must be non-negative. AverageIngressBps float64 `json:"averageIngressBps,omitempty"` // ForceSendFields is a list of field names (e.g. "AverageEgressBps") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AverageEgressBps") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
NetworkUsageSample: Network usage sample. Values are across all network interfaces.
func (*NetworkUsageSample) MarshalJSON ¶
func (s *NetworkUsageSample) MarshalJSON() ([]byte, error)
func (*NetworkUsageSample) UnmarshalJSON ¶
func (s *NetworkUsageSample) UnmarshalJSON(data []byte) error
type NfsExport ¶
type NfsExport struct { // ExportDirectory: The directory being exported. ExportDirectory string `json:"exportDirectory,omitempty"` // Hosts: The hosts or networks to which the export is being shared. Hosts []string `json:"hosts,omitempty"` // ForceSendFields is a list of field names (e.g. "ExportDirectory") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExportDirectory") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
NfsExport: NFS export.
func (*NfsExport) MarshalJSON ¶
type NfsExportList ¶
type NfsExportList struct { // Entries: NFS export entries. Entries []*NfsExport `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NfsExportList: NFS exports.
func (*NfsExportList) MarshalJSON ¶
func (s *NfsExportList) MarshalJSON() ([]byte, error)
type OpenFileDetails ¶
type OpenFileDetails struct { // Command: Opened file command. Command string `json:"command,omitempty"` // FilePath: Opened file file path. FilePath string `json:"filePath,omitempty"` // FileType: Opened file file type. FileType string `json:"fileType,omitempty"` // User: Opened file user. User string `json:"user,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
OpenFileDetails: Open file Information.
func (*OpenFileDetails) MarshalJSON ¶
func (s *OpenFileDetails) MarshalJSON() ([]byte, error)
type OpenFileList ¶
type OpenFileList struct { // Entries: Open file details entries. Entries []*OpenFileDetails `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
OpenFileList: Open file list.
func (*OpenFileList) MarshalJSON ¶
func (s *OpenFileList) 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. 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 // cancelled 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
OperationMetadata: Represents the metadata of the long-running operation.
func (*OperationMetadata) MarshalJSON ¶
func (s *OperationMetadata) MarshalJSON() ([]byte, error)
type PerformanceSample ¶
type PerformanceSample struct { // Cpu: CPU usage sample. Cpu *CpuUsageSample `json:"cpu,omitempty"` // Disk: Disk usage sample. Disk *DiskUsageSample `json:"disk,omitempty"` // Memory: Memory usage sample. Memory *MemoryUsageSample `json:"memory,omitempty"` // Network: Network usage sample. Network *NetworkUsageSample `json:"network,omitempty"` // SampleTime: Time the sample was collected. If omitted, the frame // report time will be used. SampleTime string `json:"sampleTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Cpu") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cpu") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PerformanceSample: Performance data sample.
func (*PerformanceSample) MarshalJSON ¶
func (s *PerformanceSample) MarshalJSON() ([]byte, error)
type PhysicalPlatformDetails ¶
type PhysicalPlatformDetails struct { // Location: Free text representation of the machine location. The // format of this field should not be relied on. Different machines in // the same location may have different string values for this field. Location string `json:"location,omitempty"` // ForceSendFields is a list of field names (e.g. "Location") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Location") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PhysicalPlatformDetails: Platform specific details for Physical Machines.
func (*PhysicalPlatformDetails) MarshalJSON ¶
func (s *PhysicalPlatformDetails) MarshalJSON() ([]byte, error)
type PlatformDetails ¶
type PlatformDetails struct { // AwsEc2Details: AWS EC2 specific details. AwsEc2Details *AwsEc2PlatformDetails `json:"awsEc2Details,omitempty"` // AzureVmDetails: Azure VM specific details. AzureVmDetails *AzureVmPlatformDetails `json:"azureVmDetails,omitempty"` // GenericDetails: Generic platform details. GenericDetails *GenericPlatformDetails `json:"genericDetails,omitempty"` // PhysicalDetails: Physical machines platform details. PhysicalDetails *PhysicalPlatformDetails `json:"physicalDetails,omitempty"` // VmwareDetails: VMware specific details. VmwareDetails *VmwarePlatformDetails `json:"vmwareDetails,omitempty"` // ForceSendFields is a list of field names (e.g. "AwsEc2Details") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AwsEc2Details") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PlatformDetails: Information about the platform.
func (*PlatformDetails) MarshalJSON ¶
func (s *PlatformDetails) MarshalJSON() ([]byte, error)
type PreferenceSet ¶
type PreferenceSet struct { // CreateTime: Output only. The timestamp when the preference set was // created. CreateTime string `json:"createTime,omitempty"` // Description: A description of the preference set. Description string `json:"description,omitempty"` // DisplayName: User-friendly display name. Maximum length is 63 // characters. DisplayName string `json:"displayName,omitempty"` // Name: Output only. Name of the preference set. Name string `json:"name,omitempty"` // UpdateTime: Output only. The timestamp when the preference set was // last updated. UpdateTime string `json:"updateTime,omitempty"` // VirtualMachinePreferences: A set of preferences that applies to all // virtual machines in the context. VirtualMachinePreferences *VirtualMachinePreferences `json:"virtualMachinePreferences,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PreferenceSet: The preferences that apply to all assets in a given context.
func (*PreferenceSet) MarshalJSON ¶
func (s *PreferenceSet) MarshalJSON() ([]byte, error)
type ProjectsLocationsAssetsAggregateValuesCall ¶
type ProjectsLocationsAssetsAggregateValuesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsAggregateValuesCall) Context ¶
func (c *ProjectsLocationsAssetsAggregateValuesCall) Context(ctx context.Context) *ProjectsLocationsAssetsAggregateValuesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsAggregateValuesCall) Do ¶
func (c *ProjectsLocationsAssetsAggregateValuesCall) Do(opts ...googleapi.CallOption) (*AggregateAssetsValuesResponse, error)
Do executes the "migrationcenter.projects.locations.assets.aggregateValues" call. Exactly one of *AggregateAssetsValuesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AggregateAssetsValuesResponse.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 (*ProjectsLocationsAssetsAggregateValuesCall) Fields ¶
func (c *ProjectsLocationsAssetsAggregateValuesCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsAggregateValuesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsAggregateValuesCall) Header ¶
func (c *ProjectsLocationsAssetsAggregateValuesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAssetsBatchDeleteCall ¶
type ProjectsLocationsAssetsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsBatchDeleteCall) Context ¶
func (c *ProjectsLocationsAssetsBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAssetsBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsBatchDeleteCall) Do ¶
func (c *ProjectsLocationsAssetsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "migrationcenter.projects.locations.assets.batchDelete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAssetsBatchDeleteCall) Fields ¶
func (c *ProjectsLocationsAssetsBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsBatchDeleteCall) Header ¶
func (c *ProjectsLocationsAssetsBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAssetsBatchUpdateCall ¶
type ProjectsLocationsAssetsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsBatchUpdateCall) Context ¶
func (c *ProjectsLocationsAssetsBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAssetsBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsBatchUpdateCall) Do ¶
func (c *ProjectsLocationsAssetsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateAssetsResponse, error)
Do executes the "migrationcenter.projects.locations.assets.batchUpdate" call. Exactly one of *BatchUpdateAssetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BatchUpdateAssetsResponse.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 (*ProjectsLocationsAssetsBatchUpdateCall) Fields ¶
func (c *ProjectsLocationsAssetsBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsBatchUpdateCall) Header ¶
func (c *ProjectsLocationsAssetsBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAssetsDeleteCall ¶
type ProjectsLocationsAssetsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsDeleteCall) Context ¶
func (c *ProjectsLocationsAssetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAssetsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsDeleteCall) Do ¶
func (c *ProjectsLocationsAssetsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "migrationcenter.projects.locations.assets.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAssetsDeleteCall) Fields ¶
func (c *ProjectsLocationsAssetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsDeleteCall) Header ¶
func (c *ProjectsLocationsAssetsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAssetsDeleteCall) RequestId ¶
func (c *ProjectsLocationsAssetsDeleteCall) RequestId(requestId string) *ProjectsLocationsAssetsDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsAssetsGetCall ¶
type ProjectsLocationsAssetsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsGetCall) Context ¶
func (c *ProjectsLocationsAssetsGetCall) Context(ctx context.Context) *ProjectsLocationsAssetsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsGetCall) Do ¶
func (c *ProjectsLocationsAssetsGetCall) Do(opts ...googleapi.CallOption) (*Asset, error)
Do executes the "migrationcenter.projects.locations.assets.get" call. Exactly one of *Asset or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Asset.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 (*ProjectsLocationsAssetsGetCall) Fields ¶
func (c *ProjectsLocationsAssetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsGetCall) Header ¶
func (c *ProjectsLocationsAssetsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAssetsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAssetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAssetsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAssetsGetCall) View ¶
func (c *ProjectsLocationsAssetsGetCall) View(view string) *ProjectsLocationsAssetsGetCall
View sets the optional parameter "view": View of the assets. Defaults to BASIC.
Possible values:
"ASSET_VIEW_UNSPECIFIED" - The asset view is not specified. The API
displays the basic view by default.
"ASSET_VIEW_BASIC" - The asset view includes only basic metadata of
the asset.
"ASSET_VIEW_FULL" - The asset view includes all the metadata of an
asset and performance data.
type ProjectsLocationsAssetsListCall ¶
type ProjectsLocationsAssetsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsListCall) Context ¶
func (c *ProjectsLocationsAssetsListCall) Context(ctx context.Context) *ProjectsLocationsAssetsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsListCall) Do ¶
func (c *ProjectsLocationsAssetsListCall) Do(opts ...googleapi.CallOption) (*ListAssetsResponse, error)
Do executes the "migrationcenter.projects.locations.assets.list" call. Exactly one of *ListAssetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAssetsResponse.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 (*ProjectsLocationsAssetsListCall) Fields ¶
func (c *ProjectsLocationsAssetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsListCall) Filter ¶
func (c *ProjectsLocationsAssetsListCall) Filter(filter string) *ProjectsLocationsAssetsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsAssetsListCall) Header ¶
func (c *ProjectsLocationsAssetsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAssetsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAssetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAssetsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAssetsListCall) OrderBy ¶
func (c *ProjectsLocationsAssetsListCall) OrderBy(orderBy string) *ProjectsLocationsAssetsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsAssetsListCall) PageSize ¶
func (c *ProjectsLocationsAssetsListCall) PageSize(pageSize int64) *ProjectsLocationsAssetsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsAssetsListCall) PageToken ¶
func (c *ProjectsLocationsAssetsListCall) PageToken(pageToken string) *ProjectsLocationsAssetsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsAssetsListCall) Pages ¶
func (c *ProjectsLocationsAssetsListCall) Pages(ctx context.Context, f func(*ListAssetsResponse) 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 (*ProjectsLocationsAssetsListCall) View ¶
func (c *ProjectsLocationsAssetsListCall) View(view string) *ProjectsLocationsAssetsListCall
View sets the optional parameter "view": View of the assets. Defaults to BASIC.
Possible values:
"ASSET_VIEW_UNSPECIFIED" - The asset view is not specified. The API
displays the basic view by default.
"ASSET_VIEW_BASIC" - The asset view includes only basic metadata of
the asset.
"ASSET_VIEW_FULL" - The asset view includes all the metadata of an
asset and performance data.
type ProjectsLocationsAssetsPatchCall ¶
type ProjectsLocationsAssetsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsPatchCall) Context ¶
func (c *ProjectsLocationsAssetsPatchCall) Context(ctx context.Context) *ProjectsLocationsAssetsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsPatchCall) Do ¶
func (c *ProjectsLocationsAssetsPatchCall) Do(opts ...googleapi.CallOption) (*Asset, error)
Do executes the "migrationcenter.projects.locations.assets.patch" call. Exactly one of *Asset or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Asset.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 (*ProjectsLocationsAssetsPatchCall) Fields ¶
func (c *ProjectsLocationsAssetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsPatchCall) Header ¶
func (c *ProjectsLocationsAssetsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAssetsPatchCall) RequestId ¶
func (c *ProjectsLocationsAssetsPatchCall) RequestId(requestId string) *ProjectsLocationsAssetsPatchCall
RequestId sets the optional parameter "requestId": 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).
func (*ProjectsLocationsAssetsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAssetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAssetsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the `Asset` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
type ProjectsLocationsAssetsReportAssetFramesCall ¶
type ProjectsLocationsAssetsReportAssetFramesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAssetsReportAssetFramesCall) Context ¶
func (c *ProjectsLocationsAssetsReportAssetFramesCall) Context(ctx context.Context) *ProjectsLocationsAssetsReportAssetFramesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAssetsReportAssetFramesCall) Do ¶
func (c *ProjectsLocationsAssetsReportAssetFramesCall) Do(opts ...googleapi.CallOption) (*ReportAssetFramesResponse, error)
Do executes the "migrationcenter.projects.locations.assets.reportAssetFrames" call. Exactly one of *ReportAssetFramesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReportAssetFramesResponse.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 (*ProjectsLocationsAssetsReportAssetFramesCall) Fields ¶
func (c *ProjectsLocationsAssetsReportAssetFramesCall) Fields(s ...googleapi.Field) *ProjectsLocationsAssetsReportAssetFramesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAssetsReportAssetFramesCall) Header ¶
func (c *ProjectsLocationsAssetsReportAssetFramesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAssetsReportAssetFramesCall) Source ¶
func (c *ProjectsLocationsAssetsReportAssetFramesCall) Source(source string) *ProjectsLocationsAssetsReportAssetFramesCall
Source sets the optional parameter "source": Required. Reference to a source.
type ProjectsLocationsAssetsService ¶
type ProjectsLocationsAssetsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAssetsService ¶
func NewProjectsLocationsAssetsService(s *Service) *ProjectsLocationsAssetsService
func (*ProjectsLocationsAssetsService) AggregateValues ¶
func (r *ProjectsLocationsAssetsService) AggregateValues(parent string, aggregateassetsvaluesrequest *AggregateAssetsValuesRequest) *ProjectsLocationsAssetsAggregateValuesCall
AggregateValues: Aggregates the requested fields based on provided function.
- parent: Parent value for `AggregateAssetsValuesRequest`.
func (*ProjectsLocationsAssetsService) BatchDelete ¶
func (r *ProjectsLocationsAssetsService) BatchDelete(parent string, batchdeleteassetsrequest *BatchDeleteAssetsRequest) *ProjectsLocationsAssetsBatchDeleteCall
BatchDelete: Deletes list of Assets.
- parent: Parent value for batch asset delete.
func (*ProjectsLocationsAssetsService) BatchUpdate ¶
func (r *ProjectsLocationsAssetsService) BatchUpdate(parent string, batchupdateassetsrequest *BatchUpdateAssetsRequest) *ProjectsLocationsAssetsBatchUpdateCall
BatchUpdate: Updates the parameters of a list of assets.
- parent: Parent value for batch asset update.
func (*ProjectsLocationsAssetsService) Delete ¶
func (r *ProjectsLocationsAssetsService) Delete(name string) *ProjectsLocationsAssetsDeleteCall
Delete: Deletes an asset.
- name: Name of the resource.
func (*ProjectsLocationsAssetsService) Get ¶
func (r *ProjectsLocationsAssetsService) Get(name string) *ProjectsLocationsAssetsGetCall
Get: Gets the details of an asset.
- name: Name of the resource.
func (*ProjectsLocationsAssetsService) List ¶
func (r *ProjectsLocationsAssetsService) List(parent string) *ProjectsLocationsAssetsListCall
List: Lists all the assets in a given project and location.
- parent: Parent value for `ListAssetsRequest`.
func (*ProjectsLocationsAssetsService) Patch ¶
func (r *ProjectsLocationsAssetsService) Patch(name string, asset *Asset) *ProjectsLocationsAssetsPatchCall
Patch: Updates the parameters of an asset.
- name: Output only. The full name of the asset.
func (*ProjectsLocationsAssetsService) ReportAssetFrames ¶
func (r *ProjectsLocationsAssetsService) ReportAssetFrames(parent string, frames *Frames) *ProjectsLocationsAssetsReportAssetFramesCall
ReportAssetFrames: Reports a set of frames.
- parent: Parent of the resource.
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. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGetCall) Do ¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "migrationcenter.projects.locations.get" call. Exactly one of *Location or error will be non-nil. 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 information.
func (*ProjectsLocationsGetCall) Header ¶
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsGetSettingsCall ¶
type ProjectsLocationsGetSettingsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetSettingsCall) Context ¶
func (c *ProjectsLocationsGetSettingsCall) Context(ctx context.Context) *ProjectsLocationsGetSettingsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGetSettingsCall) Do ¶
func (c *ProjectsLocationsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "migrationcenter.projects.locations.getSettings" call. Exactly one of *Settings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*ProjectsLocationsGetSettingsCall) Fields ¶
func (c *ProjectsLocationsGetSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGetSettingsCall) Header ¶
func (c *ProjectsLocationsGetSettingsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetSettingsCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetSettingsCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetSettingsCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsGroupsAddAssetsCall ¶
type ProjectsLocationsGroupsAddAssetsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroupsAddAssetsCall) Context ¶
func (c *ProjectsLocationsGroupsAddAssetsCall) Context(ctx context.Context) *ProjectsLocationsGroupsAddAssetsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGroupsAddAssetsCall) Do ¶
func (c *ProjectsLocationsGroupsAddAssetsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.groups.addAssets" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsGroupsAddAssetsCall) Fields ¶
func (c *ProjectsLocationsGroupsAddAssetsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsAddAssetsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGroupsAddAssetsCall) Header ¶
func (c *ProjectsLocationsGroupsAddAssetsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsGroupsCreateCall ¶
type ProjectsLocationsGroupsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroupsCreateCall) Context ¶
func (c *ProjectsLocationsGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsGroupsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGroupsCreateCall) Do ¶
func (c *ProjectsLocationsGroupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.groups.create" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsGroupsCreateCall) Fields ¶
func (c *ProjectsLocationsGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGroupsCreateCall) GroupId ¶
func (c *ProjectsLocationsGroupsCreateCall) GroupId(groupId string) *ProjectsLocationsGroupsCreateCall
GroupId sets the optional parameter "groupId": Required. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
func (*ProjectsLocationsGroupsCreateCall) Header ¶
func (c *ProjectsLocationsGroupsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGroupsCreateCall) RequestId ¶
func (c *ProjectsLocationsGroupsCreateCall) RequestId(requestId string) *ProjectsLocationsGroupsCreateCall
RequestId sets the optional parameter "requestId": 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).
type ProjectsLocationsGroupsDeleteCall ¶
type ProjectsLocationsGroupsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroupsDeleteCall) Context ¶
func (c *ProjectsLocationsGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsGroupsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGroupsDeleteCall) Do ¶
func (c *ProjectsLocationsGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.groups.delete" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsGroupsDeleteCall) Fields ¶
func (c *ProjectsLocationsGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGroupsDeleteCall) Header ¶
func (c *ProjectsLocationsGroupsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGroupsDeleteCall) RequestId ¶
func (c *ProjectsLocationsGroupsDeleteCall) RequestId(requestId string) *ProjectsLocationsGroupsDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsGroupsGetCall ¶
type ProjectsLocationsGroupsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroupsGetCall) Context ¶
func (c *ProjectsLocationsGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsGroupsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGroupsGetCall) Do ¶
func (c *ProjectsLocationsGroupsGetCall) Do(opts ...googleapi.CallOption) (*Group, error)
Do executes the "migrationcenter.projects.locations.groups.get" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*ProjectsLocationsGroupsGetCall) Fields ¶
func (c *ProjectsLocationsGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGroupsGetCall) Header ¶
func (c *ProjectsLocationsGroupsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGroupsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGroupsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsGroupsListCall ¶
type ProjectsLocationsGroupsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroupsListCall) Context ¶
func (c *ProjectsLocationsGroupsListCall) Context(ctx context.Context) *ProjectsLocationsGroupsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGroupsListCall) Do ¶
func (c *ProjectsLocationsGroupsListCall) Do(opts ...googleapi.CallOption) (*ListGroupsResponse, error)
Do executes the "migrationcenter.projects.locations.groups.list" call. Exactly one of *ListGroupsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListGroupsResponse.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 (*ProjectsLocationsGroupsListCall) Fields ¶
func (c *ProjectsLocationsGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGroupsListCall) Filter ¶
func (c *ProjectsLocationsGroupsListCall) Filter(filter string) *ProjectsLocationsGroupsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsGroupsListCall) Header ¶
func (c *ProjectsLocationsGroupsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGroupsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGroupsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsGroupsListCall) OrderBy ¶
func (c *ProjectsLocationsGroupsListCall) OrderBy(orderBy string) *ProjectsLocationsGroupsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsGroupsListCall) PageSize ¶
func (c *ProjectsLocationsGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsGroupsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsGroupsListCall) PageToken ¶
func (c *ProjectsLocationsGroupsListCall) PageToken(pageToken string) *ProjectsLocationsGroupsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsGroupsListCall) Pages ¶
func (c *ProjectsLocationsGroupsListCall) Pages(ctx context.Context, f func(*ListGroupsResponse) 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 ProjectsLocationsGroupsPatchCall ¶
type ProjectsLocationsGroupsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroupsPatchCall) Context ¶
func (c *ProjectsLocationsGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsGroupsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGroupsPatchCall) Do ¶
func (c *ProjectsLocationsGroupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.groups.patch" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsGroupsPatchCall) Fields ¶
func (c *ProjectsLocationsGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGroupsPatchCall) Header ¶
func (c *ProjectsLocationsGroupsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGroupsPatchCall) RequestId ¶
func (c *ProjectsLocationsGroupsPatchCall) RequestId(requestId string) *ProjectsLocationsGroupsPatchCall
RequestId sets the optional parameter "requestId": 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).
func (*ProjectsLocationsGroupsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGroupsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the `Group` resource by the update. The values 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. A single * value in the mask lets you to overwrite all fields.
type ProjectsLocationsGroupsRemoveAssetsCall ¶
type ProjectsLocationsGroupsRemoveAssetsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroupsRemoveAssetsCall) Context ¶
func (c *ProjectsLocationsGroupsRemoveAssetsCall) Context(ctx context.Context) *ProjectsLocationsGroupsRemoveAssetsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGroupsRemoveAssetsCall) Do ¶
func (c *ProjectsLocationsGroupsRemoveAssetsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.groups.removeAssets" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsGroupsRemoveAssetsCall) Fields ¶
func (c *ProjectsLocationsGroupsRemoveAssetsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroupsRemoveAssetsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGroupsRemoveAssetsCall) Header ¶
func (c *ProjectsLocationsGroupsRemoveAssetsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsGroupsService ¶
type ProjectsLocationsGroupsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsGroupsService ¶
func NewProjectsLocationsGroupsService(s *Service) *ProjectsLocationsGroupsService
func (*ProjectsLocationsGroupsService) AddAssets ¶
func (r *ProjectsLocationsGroupsService) AddAssets(group string, addassetstogrouprequest *AddAssetsToGroupRequest) *ProjectsLocationsGroupsAddAssetsCall
AddAssets: Adds assets to a group.
- group: Group reference.
func (*ProjectsLocationsGroupsService) Create ¶
func (r *ProjectsLocationsGroupsService) Create(parent string, group *Group) *ProjectsLocationsGroupsCreateCall
Create: Creates a new group in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsGroupsService) Delete ¶
func (r *ProjectsLocationsGroupsService) Delete(name string) *ProjectsLocationsGroupsDeleteCall
Delete: Deletes a group.
- name: Name of the group resource.
func (*ProjectsLocationsGroupsService) Get ¶
func (r *ProjectsLocationsGroupsService) Get(name string) *ProjectsLocationsGroupsGetCall
Get: Gets the details of a group.
- name: Name of the resource.
func (*ProjectsLocationsGroupsService) List ¶
func (r *ProjectsLocationsGroupsService) List(parent string) *ProjectsLocationsGroupsListCall
List: Lists all groups in a given project and location.
- parent: Parent value for `ListGroupsRequest`.
func (*ProjectsLocationsGroupsService) Patch ¶
func (r *ProjectsLocationsGroupsService) Patch(name string, group *Group) *ProjectsLocationsGroupsPatchCall
Patch: Updates the parameters of a group.
- name: Output only. The name of the group.
func (*ProjectsLocationsGroupsService) RemoveAssets ¶
func (r *ProjectsLocationsGroupsService) RemoveAssets(group string, removeassetsfromgrouprequest *RemoveAssetsFromGroupRequest) *ProjectsLocationsGroupsRemoveAssetsCall
RemoveAssets: Removes assets from a group.
- group: Group reference.
type ProjectsLocationsImportJobsCreateCall ¶
type ProjectsLocationsImportJobsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsCreateCall) Context ¶
func (c *ProjectsLocationsImportJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsImportJobsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsCreateCall) Do ¶
func (c *ProjectsLocationsImportJobsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.importJobs.create" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsImportJobsCreateCall) Fields ¶
func (c *ProjectsLocationsImportJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsCreateCall) Header ¶
func (c *ProjectsLocationsImportJobsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsCreateCall) ImportJobId ¶
func (c *ProjectsLocationsImportJobsCreateCall) ImportJobId(importJobId string) *ProjectsLocationsImportJobsCreateCall
ImportJobId sets the optional parameter "importJobId": Required. ID of the import job.
func (*ProjectsLocationsImportJobsCreateCall) RequestId ¶
func (c *ProjectsLocationsImportJobsCreateCall) RequestId(requestId string) *ProjectsLocationsImportJobsCreateCall
RequestId sets the optional parameter "requestId": 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).
type ProjectsLocationsImportJobsDeleteCall ¶
type ProjectsLocationsImportJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsDeleteCall) Context ¶
func (c *ProjectsLocationsImportJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsImportJobsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsDeleteCall) Do ¶
func (c *ProjectsLocationsImportJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.importJobs.delete" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsImportJobsDeleteCall) Fields ¶
func (c *ProjectsLocationsImportJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsDeleteCall) Force ¶
func (c *ProjectsLocationsImportJobsDeleteCall) Force(force bool) *ProjectsLocationsImportJobsDeleteCall
Force sets the optional parameter "force": If set to `true`, any `ImportDataFiles` of this job will also be deleted If set to `false`, the request only works if the job has no data files.
func (*ProjectsLocationsImportJobsDeleteCall) Header ¶
func (c *ProjectsLocationsImportJobsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsDeleteCall) RequestId ¶
func (c *ProjectsLocationsImportJobsDeleteCall) RequestId(requestId string) *ProjectsLocationsImportJobsDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsImportJobsGetCall ¶
type ProjectsLocationsImportJobsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsGetCall) Context ¶
func (c *ProjectsLocationsImportJobsGetCall) Context(ctx context.Context) *ProjectsLocationsImportJobsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsGetCall) Do ¶
func (c *ProjectsLocationsImportJobsGetCall) Do(opts ...googleapi.CallOption) (*ImportJob, error)
Do executes the "migrationcenter.projects.locations.importJobs.get" call. Exactly one of *ImportJob or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImportJob.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 (*ProjectsLocationsImportJobsGetCall) Fields ¶
func (c *ProjectsLocationsImportJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsGetCall) Header ¶
func (c *ProjectsLocationsImportJobsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsImportJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsImportJobsGetCall) View ¶
func (c *ProjectsLocationsImportJobsGetCall) View(view string) *ProjectsLocationsImportJobsGetCall
View sets the optional parameter "view": The level of details of the import job. Default value is FULL.
Possible values:
"IMPORT_JOB_VIEW_UNSPECIFIED" - The import job view is not
specified. The API displays the basic view by default.
"IMPORT_JOB_VIEW_BASIC" - The import job view includes basic
metadata of an import job. This view does not include payload information.
"IMPORT_JOB_VIEW_FULL" - The import job view includes all metadata
of an import job.
type ProjectsLocationsImportJobsImportDataFilesCreateCall ¶
type ProjectsLocationsImportJobsImportDataFilesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Context ¶
func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Do ¶
func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.create" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Fields ¶
func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Header ¶
func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) ImportDataFileId ¶
func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) ImportDataFileId(importDataFileId string) *ProjectsLocationsImportJobsImportDataFilesCreateCall
ImportDataFileId sets the optional parameter "importDataFileId": Required. The ID of the new data file.
func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) RequestId ¶
func (c *ProjectsLocationsImportJobsImportDataFilesCreateCall) RequestId(requestId string) *ProjectsLocationsImportJobsImportDataFilesCreateCall
RequestId sets the optional parameter "requestId": 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).
type ProjectsLocationsImportJobsImportDataFilesDeleteCall ¶
type ProjectsLocationsImportJobsImportDataFilesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Context ¶
func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Do ¶
func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.delete" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Fields ¶
func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Header ¶
func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) RequestId ¶
func (c *ProjectsLocationsImportJobsImportDataFilesDeleteCall) RequestId(requestId string) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsImportJobsImportDataFilesGetCall ¶
type ProjectsLocationsImportJobsImportDataFilesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsImportDataFilesGetCall) Context ¶
func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsImportDataFilesGetCall) Do ¶
func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Do(opts ...googleapi.CallOption) (*ImportDataFile, error)
Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.get" call. Exactly one of *ImportDataFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImportDataFile.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 (*ProjectsLocationsImportJobsImportDataFilesGetCall) Fields ¶
func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsImportDataFilesGetCall) Header ¶
func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsImportDataFilesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsImportJobsImportDataFilesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsImportDataFilesGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsImportJobsImportDataFilesListCall ¶
type ProjectsLocationsImportJobsImportDataFilesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsImportDataFilesListCall) Context ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Context(ctx context.Context) *ProjectsLocationsImportJobsImportDataFilesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) Do ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Do(opts ...googleapi.CallOption) (*ListImportDataFilesResponse, error)
Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.list" call. Exactly one of *ListImportDataFilesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListImportDataFilesResponse.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 (*ProjectsLocationsImportJobsImportDataFilesListCall) Fields ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsImportDataFilesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) Filter ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Filter(filter string) *ProjectsLocationsImportJobsImportDataFilesListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) Header ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsImportDataFilesListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) OrderBy ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) OrderBy(orderBy string) *ProjectsLocationsImportJobsImportDataFilesListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) PageSize ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) PageSize(pageSize int64) *ProjectsLocationsImportJobsImportDataFilesListCall
PageSize sets the optional parameter "pageSize": The maximum number of data files to return. The service may return fewer than this value. If unspecified, at most 500 data files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) PageToken ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) PageToken(pageToken string) *ProjectsLocationsImportJobsImportDataFilesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListImportDataFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImportDataFiles` must match the call that provided the page token.
func (*ProjectsLocationsImportJobsImportDataFilesListCall) Pages ¶
func (c *ProjectsLocationsImportJobsImportDataFilesListCall) Pages(ctx context.Context, f func(*ListImportDataFilesResponse) 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 ProjectsLocationsImportJobsImportDataFilesService ¶
type ProjectsLocationsImportJobsImportDataFilesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsImportJobsImportDataFilesService ¶
func NewProjectsLocationsImportJobsImportDataFilesService(s *Service) *ProjectsLocationsImportJobsImportDataFilesService
func (*ProjectsLocationsImportJobsImportDataFilesService) Create ¶
func (r *ProjectsLocationsImportJobsImportDataFilesService) Create(parent string, importdatafile *ImportDataFile) *ProjectsLocationsImportJobsImportDataFilesCreateCall
Create: Creates an import data file.
- parent: Name of the parent of the ImportDataFile.
func (*ProjectsLocationsImportJobsImportDataFilesService) Delete ¶
func (r *ProjectsLocationsImportJobsImportDataFilesService) Delete(name string) *ProjectsLocationsImportJobsImportDataFilesDeleteCall
Delete: Delete an import data file.
- name: Name of the ImportDataFile to delete.
func (*ProjectsLocationsImportJobsImportDataFilesService) Get ¶
func (r *ProjectsLocationsImportJobsImportDataFilesService) Get(name string) *ProjectsLocationsImportJobsImportDataFilesGetCall
Get: Gets an import data file.
- name: Name of the ImportDataFile.
func (*ProjectsLocationsImportJobsImportDataFilesService) List ¶
func (r *ProjectsLocationsImportJobsImportDataFilesService) List(parent string) *ProjectsLocationsImportJobsImportDataFilesListCall
List: List import data files.
- parent: Name of the parent of the `ImportDataFiles` resource.
type ProjectsLocationsImportJobsListCall ¶
type ProjectsLocationsImportJobsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsListCall) Context ¶
func (c *ProjectsLocationsImportJobsListCall) Context(ctx context.Context) *ProjectsLocationsImportJobsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsListCall) Do ¶
func (c *ProjectsLocationsImportJobsListCall) Do(opts ...googleapi.CallOption) (*ListImportJobsResponse, error)
Do executes the "migrationcenter.projects.locations.importJobs.list" call. Exactly one of *ListImportJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListImportJobsResponse.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 (*ProjectsLocationsImportJobsListCall) Fields ¶
func (c *ProjectsLocationsImportJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsListCall) Filter ¶
func (c *ProjectsLocationsImportJobsListCall) Filter(filter string) *ProjectsLocationsImportJobsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsImportJobsListCall) Header ¶
func (c *ProjectsLocationsImportJobsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsImportJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsImportJobsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsImportJobsListCall) OrderBy ¶
func (c *ProjectsLocationsImportJobsListCall) OrderBy(orderBy string) *ProjectsLocationsImportJobsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsImportJobsListCall) PageSize ¶
func (c *ProjectsLocationsImportJobsListCall) PageSize(pageSize int64) *ProjectsLocationsImportJobsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsImportJobsListCall) PageToken ¶
func (c *ProjectsLocationsImportJobsListCall) PageToken(pageToken string) *ProjectsLocationsImportJobsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsImportJobsListCall) Pages ¶
func (c *ProjectsLocationsImportJobsListCall) Pages(ctx context.Context, f func(*ListImportJobsResponse) 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 (*ProjectsLocationsImportJobsListCall) View ¶
func (c *ProjectsLocationsImportJobsListCall) View(view string) *ProjectsLocationsImportJobsListCall
View sets the optional parameter "view": The level of details of each import job. Default value is BASIC.
Possible values:
"IMPORT_JOB_VIEW_UNSPECIFIED" - The import job view is not
specified. The API displays the basic view by default.
"IMPORT_JOB_VIEW_BASIC" - The import job view includes basic
metadata of an import job. This view does not include payload information.
"IMPORT_JOB_VIEW_FULL" - The import job view includes all metadata
of an import job.
type ProjectsLocationsImportJobsPatchCall ¶
type ProjectsLocationsImportJobsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsPatchCall) Context ¶
func (c *ProjectsLocationsImportJobsPatchCall) Context(ctx context.Context) *ProjectsLocationsImportJobsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsPatchCall) Do ¶
func (c *ProjectsLocationsImportJobsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.importJobs.patch" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsImportJobsPatchCall) Fields ¶
func (c *ProjectsLocationsImportJobsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsPatchCall) Header ¶
func (c *ProjectsLocationsImportJobsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsImportJobsPatchCall) RequestId ¶
func (c *ProjectsLocationsImportJobsPatchCall) RequestId(requestId string) *ProjectsLocationsImportJobsPatchCall
RequestId sets the optional parameter "requestId": 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).
func (*ProjectsLocationsImportJobsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsImportJobsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsImportJobsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the `Asset` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
type ProjectsLocationsImportJobsRunCall ¶
type ProjectsLocationsImportJobsRunCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsRunCall) Context ¶
func (c *ProjectsLocationsImportJobsRunCall) Context(ctx context.Context) *ProjectsLocationsImportJobsRunCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsRunCall) Do ¶
func (c *ProjectsLocationsImportJobsRunCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.importJobs.run" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsImportJobsRunCall) Fields ¶
func (c *ProjectsLocationsImportJobsRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsRunCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsRunCall) Header ¶
func (c *ProjectsLocationsImportJobsRunCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsImportJobsService ¶
type ProjectsLocationsImportJobsService struct { ImportDataFiles *ProjectsLocationsImportJobsImportDataFilesService // contains filtered or unexported fields }
func NewProjectsLocationsImportJobsService ¶
func NewProjectsLocationsImportJobsService(s *Service) *ProjectsLocationsImportJobsService
func (*ProjectsLocationsImportJobsService) Create ¶
func (r *ProjectsLocationsImportJobsService) Create(parent string, importjob *ImportJob) *ProjectsLocationsImportJobsCreateCall
Create: Creates an import job.
- parent: Value for parent.
func (*ProjectsLocationsImportJobsService) Delete ¶
func (r *ProjectsLocationsImportJobsService) Delete(name string) *ProjectsLocationsImportJobsDeleteCall
Delete: Deletes an import job.
- name: Name of the resource.
func (*ProjectsLocationsImportJobsService) Get ¶
func (r *ProjectsLocationsImportJobsService) Get(name string) *ProjectsLocationsImportJobsGetCall
Get: Gets the details of an import job.
- name: Name of the resource.
func (*ProjectsLocationsImportJobsService) List ¶
func (r *ProjectsLocationsImportJobsService) List(parent string) *ProjectsLocationsImportJobsListCall
List: Lists all import jobs.
- parent: Parent value for `ListImportJobsRequest`.
func (*ProjectsLocationsImportJobsService) Patch ¶
func (r *ProjectsLocationsImportJobsService) Patch(name string, importjob *ImportJob) *ProjectsLocationsImportJobsPatchCall
Patch: Updates an import job.
- name: Output only. The full name of the import job.
func (*ProjectsLocationsImportJobsService) Run ¶
func (r *ProjectsLocationsImportJobsService) Run(name string, runimportjobrequest *RunImportJobRequest) *ProjectsLocationsImportJobsRunCall
Run: Runs an import job.
- name: The name of the import job to run.
func (*ProjectsLocationsImportJobsService) Validate ¶
func (r *ProjectsLocationsImportJobsService) Validate(name string, validateimportjobrequest *ValidateImportJobRequest) *ProjectsLocationsImportJobsValidateCall
Validate: Validates an import job.
- name: The name of the import job to validate.
type ProjectsLocationsImportJobsValidateCall ¶
type ProjectsLocationsImportJobsValidateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsImportJobsValidateCall) Context ¶
func (c *ProjectsLocationsImportJobsValidateCall) Context(ctx context.Context) *ProjectsLocationsImportJobsValidateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsImportJobsValidateCall) Do ¶
func (c *ProjectsLocationsImportJobsValidateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.importJobs.validate" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsImportJobsValidateCall) Fields ¶
func (c *ProjectsLocationsImportJobsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsImportJobsValidateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsImportJobsValidateCall) Header ¶
func (c *ProjectsLocationsImportJobsValidateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP 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. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsListCall) Do ¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "migrationcenter.projects.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. 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 information.
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 an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsCancelCall) Do ¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "migrationcenter.projects.locations.operations.cancel" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall) Fields ¶
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 information.
func (*ProjectsLocationsOperationsCancelCall) Header ¶
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP 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. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsDeleteCall) Do ¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "migrationcenter.projects.locations.operations.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsDeleteCall) Fields ¶
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 information.
func (*ProjectsLocationsOperationsDeleteCall) Header ¶
func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP 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. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsGetCall) Do ¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.operations.get" call. Exactly one of *Operation or error will be non-nil. 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 information.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsListCall) Do ¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "migrationcenter.projects.locations.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. 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 information.
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 an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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 ProjectsLocationsPreferenceSetsCreateCall ¶
type ProjectsLocationsPreferenceSetsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsPreferenceSetsCreateCall) Context ¶
func (c *ProjectsLocationsPreferenceSetsCreateCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsPreferenceSetsCreateCall) Do ¶
func (c *ProjectsLocationsPreferenceSetsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.preferenceSets.create" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsPreferenceSetsCreateCall) Fields ¶
func (c *ProjectsLocationsPreferenceSetsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsPreferenceSetsCreateCall) Header ¶
func (c *ProjectsLocationsPreferenceSetsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsPreferenceSetsCreateCall) PreferenceSetId ¶
func (c *ProjectsLocationsPreferenceSetsCreateCall) PreferenceSetId(preferenceSetId string) *ProjectsLocationsPreferenceSetsCreateCall
PreferenceSetId sets the optional parameter "preferenceSetId": Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
func (*ProjectsLocationsPreferenceSetsCreateCall) RequestId ¶
func (c *ProjectsLocationsPreferenceSetsCreateCall) RequestId(requestId string) *ProjectsLocationsPreferenceSetsCreateCall
RequestId sets the optional parameter "requestId": 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).
type ProjectsLocationsPreferenceSetsDeleteCall ¶
type ProjectsLocationsPreferenceSetsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsPreferenceSetsDeleteCall) Context ¶
func (c *ProjectsLocationsPreferenceSetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsPreferenceSetsDeleteCall) Do ¶
func (c *ProjectsLocationsPreferenceSetsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.preferenceSets.delete" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsPreferenceSetsDeleteCall) Fields ¶
func (c *ProjectsLocationsPreferenceSetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsPreferenceSetsDeleteCall) Header ¶
func (c *ProjectsLocationsPreferenceSetsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsPreferenceSetsDeleteCall) RequestId ¶
func (c *ProjectsLocationsPreferenceSetsDeleteCall) RequestId(requestId string) *ProjectsLocationsPreferenceSetsDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsPreferenceSetsGetCall ¶
type ProjectsLocationsPreferenceSetsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsPreferenceSetsGetCall) Context ¶
func (c *ProjectsLocationsPreferenceSetsGetCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsPreferenceSetsGetCall) Do ¶
func (c *ProjectsLocationsPreferenceSetsGetCall) Do(opts ...googleapi.CallOption) (*PreferenceSet, error)
Do executes the "migrationcenter.projects.locations.preferenceSets.get" call. Exactly one of *PreferenceSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PreferenceSet.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 (*ProjectsLocationsPreferenceSetsGetCall) Fields ¶
func (c *ProjectsLocationsPreferenceSetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsPreferenceSetsGetCall) Header ¶
func (c *ProjectsLocationsPreferenceSetsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsPreferenceSetsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsPreferenceSetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPreferenceSetsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsPreferenceSetsListCall ¶
type ProjectsLocationsPreferenceSetsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsPreferenceSetsListCall) Context ¶
func (c *ProjectsLocationsPreferenceSetsListCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsPreferenceSetsListCall) Do ¶
func (c *ProjectsLocationsPreferenceSetsListCall) Do(opts ...googleapi.CallOption) (*ListPreferenceSetsResponse, error)
Do executes the "migrationcenter.projects.locations.preferenceSets.list" call. Exactly one of *ListPreferenceSetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListPreferenceSetsResponse.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 (*ProjectsLocationsPreferenceSetsListCall) Fields ¶
func (c *ProjectsLocationsPreferenceSetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsPreferenceSetsListCall) Header ¶
func (c *ProjectsLocationsPreferenceSetsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsPreferenceSetsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsPreferenceSetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPreferenceSetsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsPreferenceSetsListCall) OrderBy ¶
func (c *ProjectsLocationsPreferenceSetsListCall) OrderBy(orderBy string) *ProjectsLocationsPreferenceSetsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsPreferenceSetsListCall) PageSize ¶
func (c *ProjectsLocationsPreferenceSetsListCall) PageSize(pageSize int64) *ProjectsLocationsPreferenceSetsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 500 preference sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsPreferenceSetsListCall) PageToken ¶
func (c *ProjectsLocationsPreferenceSetsListCall) PageToken(pageToken string) *ProjectsLocationsPreferenceSetsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsPreferenceSetsListCall) Pages ¶
func (c *ProjectsLocationsPreferenceSetsListCall) Pages(ctx context.Context, f func(*ListPreferenceSetsResponse) 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 ProjectsLocationsPreferenceSetsPatchCall ¶
type ProjectsLocationsPreferenceSetsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsPreferenceSetsPatchCall) Context ¶
func (c *ProjectsLocationsPreferenceSetsPatchCall) Context(ctx context.Context) *ProjectsLocationsPreferenceSetsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsPreferenceSetsPatchCall) Do ¶
func (c *ProjectsLocationsPreferenceSetsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.preferenceSets.patch" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsPreferenceSetsPatchCall) Fields ¶
func (c *ProjectsLocationsPreferenceSetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPreferenceSetsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsPreferenceSetsPatchCall) Header ¶
func (c *ProjectsLocationsPreferenceSetsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsPreferenceSetsPatchCall) RequestId ¶
func (c *ProjectsLocationsPreferenceSetsPatchCall) RequestId(requestId string) *ProjectsLocationsPreferenceSetsPatchCall
RequestId sets the optional parameter "requestId": 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).
func (*ProjectsLocationsPreferenceSetsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsPreferenceSetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPreferenceSetsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the `PreferenceSet` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
type ProjectsLocationsPreferenceSetsService ¶
type ProjectsLocationsPreferenceSetsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsPreferenceSetsService ¶
func NewProjectsLocationsPreferenceSetsService(s *Service) *ProjectsLocationsPreferenceSetsService
func (*ProjectsLocationsPreferenceSetsService) Create ¶
func (r *ProjectsLocationsPreferenceSetsService) Create(parent string, preferenceset *PreferenceSet) *ProjectsLocationsPreferenceSetsCreateCall
Create: Creates a new preference set in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsPreferenceSetsService) Delete ¶
func (r *ProjectsLocationsPreferenceSetsService) Delete(name string) *ProjectsLocationsPreferenceSetsDeleteCall
Delete: Deletes a preference set.
- name: Name of the group resource.
func (*ProjectsLocationsPreferenceSetsService) Get ¶
func (r *ProjectsLocationsPreferenceSetsService) Get(name string) *ProjectsLocationsPreferenceSetsGetCall
Get: Gets the details of a preference set.
- name: Name of the resource.
func (*ProjectsLocationsPreferenceSetsService) List ¶
func (r *ProjectsLocationsPreferenceSetsService) List(parent string) *ProjectsLocationsPreferenceSetsListCall
List: Lists all the preference sets in a given project and location.
- parent: Parent value for `ListPreferenceSetsRequest`.
func (*ProjectsLocationsPreferenceSetsService) Patch ¶
func (r *ProjectsLocationsPreferenceSetsService) Patch(name string, preferenceset *PreferenceSet) *ProjectsLocationsPreferenceSetsPatchCall
Patch: Updates the parameters of a preference set.
- name: Output only. Name of the preference set.
type ProjectsLocationsReportConfigsCreateCall ¶
type ProjectsLocationsReportConfigsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsCreateCall) Context ¶
func (c *ProjectsLocationsReportConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsCreateCall) Do ¶
func (c *ProjectsLocationsReportConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.create" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsReportConfigsCreateCall) Fields ¶
func (c *ProjectsLocationsReportConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsCreateCall) Header ¶
func (c *ProjectsLocationsReportConfigsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsCreateCall) ReportConfigId ¶
func (c *ProjectsLocationsReportConfigsCreateCall) ReportConfigId(reportConfigId string) *ProjectsLocationsReportConfigsCreateCall
ReportConfigId sets the optional parameter "reportConfigId": Required. User specified ID for the report config. It will become the last component of the report config name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: a-z ([a-z0-9-]{0,61}[a-z0-9])?.
func (*ProjectsLocationsReportConfigsCreateCall) RequestId ¶
func (c *ProjectsLocationsReportConfigsCreateCall) RequestId(requestId string) *ProjectsLocationsReportConfigsCreateCall
RequestId sets the optional parameter "requestId": 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).
type ProjectsLocationsReportConfigsDeleteCall ¶
type ProjectsLocationsReportConfigsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsDeleteCall) Context ¶
func (c *ProjectsLocationsReportConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsDeleteCall) Do ¶
func (c *ProjectsLocationsReportConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.delete" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsReportConfigsDeleteCall) Fields ¶
func (c *ProjectsLocationsReportConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsDeleteCall) Force ¶
func (c *ProjectsLocationsReportConfigsDeleteCall) Force(force bool) *ProjectsLocationsReportConfigsDeleteCall
Force sets the optional parameter "force": If set to `true`, any child `Reports` of this entity will also be deleted. If set to `false`, the request only works if the resource has no children.
func (*ProjectsLocationsReportConfigsDeleteCall) Header ¶
func (c *ProjectsLocationsReportConfigsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsDeleteCall) RequestId ¶
func (c *ProjectsLocationsReportConfigsDeleteCall) RequestId(requestId string) *ProjectsLocationsReportConfigsDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsReportConfigsGetCall ¶
type ProjectsLocationsReportConfigsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsGetCall) Context ¶
func (c *ProjectsLocationsReportConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsGetCall) Do ¶
func (c *ProjectsLocationsReportConfigsGetCall) Do(opts ...googleapi.CallOption) (*ReportConfig, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.get" call. Exactly one of *ReportConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReportConfig.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 (*ProjectsLocationsReportConfigsGetCall) Fields ¶
func (c *ProjectsLocationsReportConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsGetCall) Header ¶
func (c *ProjectsLocationsReportConfigsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsReportConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsReportConfigsListCall ¶
type ProjectsLocationsReportConfigsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsListCall) Context ¶
func (c *ProjectsLocationsReportConfigsListCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsListCall) Do ¶
func (c *ProjectsLocationsReportConfigsListCall) Do(opts ...googleapi.CallOption) (*ListReportConfigsResponse, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.list" call. Exactly one of *ListReportConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListReportConfigsResponse.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 (*ProjectsLocationsReportConfigsListCall) Fields ¶
func (c *ProjectsLocationsReportConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsListCall) Filter ¶
func (c *ProjectsLocationsReportConfigsListCall) Filter(filter string) *ProjectsLocationsReportConfigsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsReportConfigsListCall) Header ¶
func (c *ProjectsLocationsReportConfigsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsReportConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsReportConfigsListCall) OrderBy ¶
func (c *ProjectsLocationsReportConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsReportConfigsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsReportConfigsListCall) PageSize ¶
func (c *ProjectsLocationsReportConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsReportConfigsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsReportConfigsListCall) PageToken ¶
func (c *ProjectsLocationsReportConfigsListCall) PageToken(pageToken string) *ProjectsLocationsReportConfigsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsReportConfigsListCall) Pages ¶
func (c *ProjectsLocationsReportConfigsListCall) Pages(ctx context.Context, f func(*ListReportConfigsResponse) 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 ProjectsLocationsReportConfigsReportsCreateCall ¶
type ProjectsLocationsReportConfigsReportsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsReportsCreateCall) Context ¶
func (c *ProjectsLocationsReportConfigsReportsCreateCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsReportsCreateCall) Do ¶
func (c *ProjectsLocationsReportConfigsReportsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.reports.create" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsReportConfigsReportsCreateCall) Fields ¶
func (c *ProjectsLocationsReportConfigsReportsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsReportsCreateCall) Header ¶
func (c *ProjectsLocationsReportConfigsReportsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsReportsCreateCall) ReportId ¶
func (c *ProjectsLocationsReportConfigsReportsCreateCall) ReportId(reportId string) *ProjectsLocationsReportConfigsReportsCreateCall
ReportId sets the optional parameter "reportId": Required. User specified id for the report. It will become the last component of the report name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The id must match the regular expression: a-z ([a-z0-9-]{0,61}[a-z0-9])?.
func (*ProjectsLocationsReportConfigsReportsCreateCall) RequestId ¶
func (c *ProjectsLocationsReportConfigsReportsCreateCall) RequestId(requestId string) *ProjectsLocationsReportConfigsReportsCreateCall
RequestId sets the optional parameter "requestId": 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).
type ProjectsLocationsReportConfigsReportsDeleteCall ¶
type ProjectsLocationsReportConfigsReportsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsReportsDeleteCall) Context ¶
func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsReportsDeleteCall) Do ¶
func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.reports.delete" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsReportConfigsReportsDeleteCall) Fields ¶
func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsReportsDeleteCall) Header ¶
func (c *ProjectsLocationsReportConfigsReportsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsReportsDeleteCall) RequestId ¶
func (c *ProjectsLocationsReportConfigsReportsDeleteCall) RequestId(requestId string) *ProjectsLocationsReportConfigsReportsDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsReportConfigsReportsGetCall ¶
type ProjectsLocationsReportConfigsReportsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsReportsGetCall) Context ¶
func (c *ProjectsLocationsReportConfigsReportsGetCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsReportsGetCall) Do ¶
func (c *ProjectsLocationsReportConfigsReportsGetCall) Do(opts ...googleapi.CallOption) (*Report, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.reports.get" call. Exactly one of *Report or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Report.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 (*ProjectsLocationsReportConfigsReportsGetCall) Fields ¶
func (c *ProjectsLocationsReportConfigsReportsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsReportsGetCall) Header ¶
func (c *ProjectsLocationsReportConfigsReportsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsReportsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsReportConfigsReportsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsReportsGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsReportConfigsReportsGetCall) View ¶
func (c *ProjectsLocationsReportConfigsReportsGetCall) View(view string) *ProjectsLocationsReportConfigsReportsGetCall
View sets the optional parameter "view": Determines what information to retrieve for the Report.
Possible values:
"REPORT_VIEW_UNSPECIFIED" - The report view is not specified. The
API displays the basic view by default.
"REPORT_VIEW_BASIC" - The report view includes only basic metadata
of the Report. Useful for list views.
"REPORT_VIEW_FULL" - The report view includes all the metadata of
the Report. Useful for preview.
"REPORT_VIEW_STANDARD" - The report view includes the standard
metadata of an report. Useful for detail view.
type ProjectsLocationsReportConfigsReportsListCall ¶
type ProjectsLocationsReportConfigsReportsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsReportConfigsReportsListCall) Context ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) Context(ctx context.Context) *ProjectsLocationsReportConfigsReportsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsReportConfigsReportsListCall) Do ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) Do(opts ...googleapi.CallOption) (*ListReportsResponse, error)
Do executes the "migrationcenter.projects.locations.reportConfigs.reports.list" call. Exactly one of *ListReportsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListReportsResponse.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 (*ProjectsLocationsReportConfigsReportsListCall) Fields ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReportConfigsReportsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsReportConfigsReportsListCall) Filter ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) Filter(filter string) *ProjectsLocationsReportConfigsReportsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsReportConfigsReportsListCall) Header ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsReportConfigsReportsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReportConfigsReportsListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsReportConfigsReportsListCall) OrderBy ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) OrderBy(orderBy string) *ProjectsLocationsReportConfigsReportsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsReportConfigsReportsListCall) PageSize ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) PageSize(pageSize int64) *ProjectsLocationsReportConfigsReportsListCall
PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default value.
func (*ProjectsLocationsReportConfigsReportsListCall) PageToken ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) PageToken(pageToken string) *ProjectsLocationsReportConfigsReportsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results that the server should return.
func (*ProjectsLocationsReportConfigsReportsListCall) Pages ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) Pages(ctx context.Context, f func(*ListReportsResponse) 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 (*ProjectsLocationsReportConfigsReportsListCall) View ¶
func (c *ProjectsLocationsReportConfigsReportsListCall) View(view string) *ProjectsLocationsReportConfigsReportsListCall
View sets the optional parameter "view": Determines what information to retrieve for each Report.
Possible values:
"REPORT_VIEW_UNSPECIFIED" - The report view is not specified. The
API displays the basic view by default.
"REPORT_VIEW_BASIC" - The report view includes only basic metadata
of the Report. Useful for list views.
"REPORT_VIEW_FULL" - The report view includes all the metadata of
the Report. Useful for preview.
"REPORT_VIEW_STANDARD" - The report view includes the standard
metadata of an report. Useful for detail view.
type ProjectsLocationsReportConfigsReportsService ¶
type ProjectsLocationsReportConfigsReportsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsReportConfigsReportsService ¶
func NewProjectsLocationsReportConfigsReportsService(s *Service) *ProjectsLocationsReportConfigsReportsService
func (*ProjectsLocationsReportConfigsReportsService) Create ¶
func (r *ProjectsLocationsReportConfigsReportsService) Create(parent string, report *Report) *ProjectsLocationsReportConfigsReportsCreateCall
Create: Creates a report.
- parent: Value for parent.
func (*ProjectsLocationsReportConfigsReportsService) Delete ¶
func (r *ProjectsLocationsReportConfigsReportsService) Delete(name string) *ProjectsLocationsReportConfigsReportsDeleteCall
Delete: Deletes a Report.
- name: Name of the resource.
func (*ProjectsLocationsReportConfigsReportsService) Get ¶
func (r *ProjectsLocationsReportConfigsReportsService) Get(name string) *ProjectsLocationsReportConfigsReportsGetCall
Get: Gets details of a single Report.
- name: Name of the resource.
func (*ProjectsLocationsReportConfigsReportsService) List ¶
func (r *ProjectsLocationsReportConfigsReportsService) List(parent string) *ProjectsLocationsReportConfigsReportsListCall
List: Lists Reports in a given ReportConfig.
- parent: Parent value for `ListReportsRequest`.
type ProjectsLocationsReportConfigsService ¶
type ProjectsLocationsReportConfigsService struct { Reports *ProjectsLocationsReportConfigsReportsService // contains filtered or unexported fields }
func NewProjectsLocationsReportConfigsService ¶
func NewProjectsLocationsReportConfigsService(s *Service) *ProjectsLocationsReportConfigsService
func (*ProjectsLocationsReportConfigsService) Create ¶
func (r *ProjectsLocationsReportConfigsService) Create(parent string, reportconfig *ReportConfig) *ProjectsLocationsReportConfigsCreateCall
Create: Creates a report configuration.
- parent: Value for parent.
func (*ProjectsLocationsReportConfigsService) Delete ¶
func (r *ProjectsLocationsReportConfigsService) Delete(name string) *ProjectsLocationsReportConfigsDeleteCall
Delete: Deletes a ReportConfig.
- name: Name of the resource.
func (*ProjectsLocationsReportConfigsService) Get ¶
func (r *ProjectsLocationsReportConfigsService) Get(name string) *ProjectsLocationsReportConfigsGetCall
Get: Gets details of a single ReportConfig.
- name: Name of the resource.
func (*ProjectsLocationsReportConfigsService) List ¶
func (r *ProjectsLocationsReportConfigsService) List(parent string) *ProjectsLocationsReportConfigsListCall
List: Lists ReportConfigs in a given project and location.
- parent: Parent value for `ListReportConfigsRequest`.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { Assets *ProjectsLocationsAssetsService Groups *ProjectsLocationsGroupsService ImportJobs *ProjectsLocationsImportJobsService Operations *ProjectsLocationsOperationsService PreferenceSets *ProjectsLocationsPreferenceSetsService ReportConfigs *ProjectsLocationsReportConfigsService Sources *ProjectsLocationsSourcesService // 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) GetSettings ¶
func (r *ProjectsLocationsService) GetSettings(name string) *ProjectsLocationsGetSettingsCall
GetSettings: Gets the details of regional settings.
- name: Name of the resource.
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.
func (*ProjectsLocationsService) UpdateSettings ¶
func (r *ProjectsLocationsService) UpdateSettings(name string, settings *Settings) *ProjectsLocationsUpdateSettingsCall
UpdateSettings: Updates the regional-level project settings.
- name: Output only. The name of the resource.
type ProjectsLocationsSourcesCreateCall ¶
type ProjectsLocationsSourcesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSourcesCreateCall) Context ¶
func (c *ProjectsLocationsSourcesCreateCall) Context(ctx context.Context) *ProjectsLocationsSourcesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSourcesCreateCall) Do ¶
func (c *ProjectsLocationsSourcesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.sources.create" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsSourcesCreateCall) Fields ¶
func (c *ProjectsLocationsSourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSourcesCreateCall) Header ¶
func (c *ProjectsLocationsSourcesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSourcesCreateCall) RequestId ¶
func (c *ProjectsLocationsSourcesCreateCall) RequestId(requestId string) *ProjectsLocationsSourcesCreateCall
RequestId sets the optional parameter "requestId": 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).
func (*ProjectsLocationsSourcesCreateCall) SourceId ¶
func (c *ProjectsLocationsSourcesCreateCall) SourceId(sourceId string) *ProjectsLocationsSourcesCreateCall
SourceId sets the optional parameter "sourceId": Required. User specified ID for the source. It will become the last component of the source name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
type ProjectsLocationsSourcesDeleteCall ¶
type ProjectsLocationsSourcesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSourcesDeleteCall) Context ¶
func (c *ProjectsLocationsSourcesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSourcesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSourcesDeleteCall) Do ¶
func (c *ProjectsLocationsSourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.sources.delete" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsSourcesDeleteCall) Fields ¶
func (c *ProjectsLocationsSourcesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSourcesDeleteCall) Header ¶
func (c *ProjectsLocationsSourcesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSourcesDeleteCall) RequestId ¶
func (c *ProjectsLocationsSourcesDeleteCall) RequestId(requestId string) *ProjectsLocationsSourcesDeleteCall
RequestId sets the optional parameter "requestId": 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 after 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).
type ProjectsLocationsSourcesErrorFramesGetCall ¶
type ProjectsLocationsSourcesErrorFramesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSourcesErrorFramesGetCall) Context ¶
func (c *ProjectsLocationsSourcesErrorFramesGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesErrorFramesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSourcesErrorFramesGetCall) Do ¶
func (c *ProjectsLocationsSourcesErrorFramesGetCall) Do(opts ...googleapi.CallOption) (*ErrorFrame, error)
Do executes the "migrationcenter.projects.locations.sources.errorFrames.get" call. Exactly one of *ErrorFrame or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ErrorFrame.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 (*ProjectsLocationsSourcesErrorFramesGetCall) Fields ¶
func (c *ProjectsLocationsSourcesErrorFramesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesErrorFramesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSourcesErrorFramesGetCall) Header ¶
func (c *ProjectsLocationsSourcesErrorFramesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSourcesErrorFramesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsSourcesErrorFramesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesErrorFramesGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsSourcesErrorFramesGetCall) View ¶
func (c *ProjectsLocationsSourcesErrorFramesGetCall) View(view string) *ProjectsLocationsSourcesErrorFramesGetCall
View sets the optional parameter "view": An optional view mode to control the level of details for the frame. The default is a basic frame view.
Possible values:
"ERROR_FRAME_VIEW_UNSPECIFIED" - Value is unset. The system will
fallback to the default value.
"ERROR_FRAME_VIEW_BASIC" - Include basic frame data, but not the
full contents.
"ERROR_FRAME_VIEW_FULL" - Include everything.
type ProjectsLocationsSourcesErrorFramesListCall ¶
type ProjectsLocationsSourcesErrorFramesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSourcesErrorFramesListCall) Context ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) Context(ctx context.Context) *ProjectsLocationsSourcesErrorFramesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSourcesErrorFramesListCall) Do ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) Do(opts ...googleapi.CallOption) (*ListErrorFramesResponse, error)
Do executes the "migrationcenter.projects.locations.sources.errorFrames.list" call. Exactly one of *ListErrorFramesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListErrorFramesResponse.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 (*ProjectsLocationsSourcesErrorFramesListCall) Fields ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesErrorFramesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSourcesErrorFramesListCall) Header ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSourcesErrorFramesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesErrorFramesListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsSourcesErrorFramesListCall) PageSize ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesErrorFramesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsSourcesErrorFramesListCall) PageToken ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) PageToken(pageToken string) *ProjectsLocationsSourcesErrorFramesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsSourcesErrorFramesListCall) Pages ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) Pages(ctx context.Context, f func(*ListErrorFramesResponse) 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 (*ProjectsLocationsSourcesErrorFramesListCall) View ¶
func (c *ProjectsLocationsSourcesErrorFramesListCall) View(view string) *ProjectsLocationsSourcesErrorFramesListCall
View sets the optional parameter "view": An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.
Possible values:
"ERROR_FRAME_VIEW_UNSPECIFIED" - Value is unset. The system will
fallback to the default value.
"ERROR_FRAME_VIEW_BASIC" - Include basic frame data, but not the
full contents.
"ERROR_FRAME_VIEW_FULL" - Include everything.
type ProjectsLocationsSourcesErrorFramesService ¶
type ProjectsLocationsSourcesErrorFramesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsSourcesErrorFramesService ¶
func NewProjectsLocationsSourcesErrorFramesService(s *Service) *ProjectsLocationsSourcesErrorFramesService
func (*ProjectsLocationsSourcesErrorFramesService) Get ¶
func (r *ProjectsLocationsSourcesErrorFramesService) Get(name string) *ProjectsLocationsSourcesErrorFramesGetCall
Get: Gets the details of an error frame.
- name: The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames /{error_frame}.
func (*ProjectsLocationsSourcesErrorFramesService) List ¶
func (r *ProjectsLocationsSourcesErrorFramesService) List(parent string) *ProjectsLocationsSourcesErrorFramesListCall
List: Lists all error frames in a given source and location.
- parent: Parent value (the source) for `ListErrorFramesRequest`.
type ProjectsLocationsSourcesGetCall ¶
type ProjectsLocationsSourcesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSourcesGetCall) Context ¶
func (c *ProjectsLocationsSourcesGetCall) Context(ctx context.Context) *ProjectsLocationsSourcesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSourcesGetCall) Do ¶
func (c *ProjectsLocationsSourcesGetCall) Do(opts ...googleapi.CallOption) (*Source, error)
Do executes the "migrationcenter.projects.locations.sources.get" call. Exactly one of *Source or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Source.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 (*ProjectsLocationsSourcesGetCall) Fields ¶
func (c *ProjectsLocationsSourcesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSourcesGetCall) Header ¶
func (c *ProjectsLocationsSourcesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSourcesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsSourcesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesGetCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsSourcesListCall ¶
type ProjectsLocationsSourcesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSourcesListCall) Context ¶
func (c *ProjectsLocationsSourcesListCall) Context(ctx context.Context) *ProjectsLocationsSourcesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSourcesListCall) Do ¶
func (c *ProjectsLocationsSourcesListCall) Do(opts ...googleapi.CallOption) (*ListSourcesResponse, error)
Do executes the "migrationcenter.projects.locations.sources.list" call. Exactly one of *ListSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListSourcesResponse.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 (*ProjectsLocationsSourcesListCall) Fields ¶
func (c *ProjectsLocationsSourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSourcesListCall) Filter ¶
func (c *ProjectsLocationsSourcesListCall) Filter(filter string) *ProjectsLocationsSourcesListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsSourcesListCall) Header ¶
func (c *ProjectsLocationsSourcesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSourcesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsSourcesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSourcesListCall
IfNoneMatch sets the 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. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsSourcesListCall) OrderBy ¶
func (c *ProjectsLocationsSourcesListCall) OrderBy(orderBy string) *ProjectsLocationsSourcesListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsSourcesListCall) PageSize ¶
func (c *ProjectsLocationsSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsSourcesListCall
PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default value.
func (*ProjectsLocationsSourcesListCall) PageToken ¶
func (c *ProjectsLocationsSourcesListCall) PageToken(pageToken string) *ProjectsLocationsSourcesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results that the server should return.
func (*ProjectsLocationsSourcesListCall) Pages ¶
func (c *ProjectsLocationsSourcesListCall) Pages(ctx context.Context, f func(*ListSourcesResponse) 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 ProjectsLocationsSourcesPatchCall ¶
type ProjectsLocationsSourcesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSourcesPatchCall) Context ¶
func (c *ProjectsLocationsSourcesPatchCall) Context(ctx context.Context) *ProjectsLocationsSourcesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSourcesPatchCall) Do ¶
func (c *ProjectsLocationsSourcesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.sources.patch" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsSourcesPatchCall) Fields ¶
func (c *ProjectsLocationsSourcesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSourcesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSourcesPatchCall) Header ¶
func (c *ProjectsLocationsSourcesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSourcesPatchCall) RequestId ¶
func (c *ProjectsLocationsSourcesPatchCall) RequestId(requestId string) *ProjectsLocationsSourcesPatchCall
RequestId sets the optional parameter "requestId": 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).
func (*ProjectsLocationsSourcesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsSourcesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSourcesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the `Source` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
type ProjectsLocationsSourcesService ¶
type ProjectsLocationsSourcesService struct { ErrorFrames *ProjectsLocationsSourcesErrorFramesService // contains filtered or unexported fields }
func NewProjectsLocationsSourcesService ¶
func NewProjectsLocationsSourcesService(s *Service) *ProjectsLocationsSourcesService
func (*ProjectsLocationsSourcesService) Create ¶
func (r *ProjectsLocationsSourcesService) Create(parent string, source *Source) *ProjectsLocationsSourcesCreateCall
Create: Creates a new source in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsSourcesService) Delete ¶
func (r *ProjectsLocationsSourcesService) Delete(name string) *ProjectsLocationsSourcesDeleteCall
Delete: Deletes a source.
- name: Name of the resource.
func (*ProjectsLocationsSourcesService) Get ¶
func (r *ProjectsLocationsSourcesService) Get(name string) *ProjectsLocationsSourcesGetCall
Get: Gets the details of a source.
- name: Name of the resource.
func (*ProjectsLocationsSourcesService) List ¶
func (r *ProjectsLocationsSourcesService) List(parent string) *ProjectsLocationsSourcesListCall
List: Lists all the sources in a given project and location.
- parent: Parent value for `ListSourcesRequest`.
func (*ProjectsLocationsSourcesService) Patch ¶
func (r *ProjectsLocationsSourcesService) Patch(name string, source *Source) *ProjectsLocationsSourcesPatchCall
Patch: Updates the parameters of a source.
- name: Output only. The full name of the source.
type ProjectsLocationsUpdateSettingsCall ¶
type ProjectsLocationsUpdateSettingsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsUpdateSettingsCall) Context ¶
func (c *ProjectsLocationsUpdateSettingsCall) Context(ctx context.Context) *ProjectsLocationsUpdateSettingsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsUpdateSettingsCall) Do ¶
func (c *ProjectsLocationsUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "migrationcenter.projects.locations.updateSettings" call. Exactly one of *Operation or error will be non-nil. 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 (*ProjectsLocationsUpdateSettingsCall) Fields ¶
func (c *ProjectsLocationsUpdateSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsUpdateSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsUpdateSettingsCall) Header ¶
func (c *ProjectsLocationsUpdateSettingsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsUpdateSettingsCall) RequestId ¶
func (c *ProjectsLocationsUpdateSettingsCall) RequestId(requestId string) *ProjectsLocationsUpdateSettingsCall
RequestId sets the optional parameter "requestId": 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).
func (*ProjectsLocationsUpdateSettingsCall) UpdateMask ¶
func (c *ProjectsLocationsUpdateSettingsCall) UpdateMask(updateMask string) *ProjectsLocationsUpdateSettingsCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the `Settings` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type RegionPreferences ¶
type RegionPreferences struct { // PreferredRegions: A list of preferred regions, ordered by the most // preferred region first. Set only valid Google Cloud region names. See // https://cloud.google.com/compute/docs/regions-zones for available // regions. PreferredRegions []string `json:"preferredRegions,omitempty"` // ForceSendFields is a list of field names (e.g. "PreferredRegions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PreferredRegions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
RegionPreferences: The user preferences relating to target regions.
func (*RegionPreferences) MarshalJSON ¶
func (s *RegionPreferences) MarshalJSON() ([]byte, error)
type RemoveAssetsFromGroupRequest ¶
type RemoveAssetsFromGroupRequest struct { // AllowMissing: Optional. When this value is set to `false` and one of // the given assets is not an existing member of the group, the // operation fails with a `Not Found` error. When set to `true` this // situation is silently ignored by the server. Default value is // `false`. AllowMissing bool `json:"allowMissing,omitempty"` // Assets: Required. List of assets to be removed. The maximum number of // assets that can be removed in a single request is 1000. Assets *AssetList `json:"assets,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 // after 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). RequestId string `json:"requestId,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMissing") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowMissing") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RemoveAssetsFromGroupRequest: A request to remove assets from a group.
func (*RemoveAssetsFromGroupRequest) MarshalJSON ¶
func (s *RemoveAssetsFromGroupRequest) MarshalJSON() ([]byte, error)
type Report ¶
type Report struct { // CreateTime: Output only. Creation timestamp. CreateTime string `json:"createTime,omitempty"` // Description: Free-text description. Description string `json:"description,omitempty"` // DisplayName: User-friendly display name. Maximum length is 63 // characters. DisplayName string `json:"displayName,omitempty"` // Name: Output only. Name of resource. Name string `json:"name,omitempty"` // State: Report creation state. // // Possible values: // "STATE_UNSPECIFIED" - Default Report creation state. // "PENDING" - Creating Report. // "SUCCEEDED" - Successfully created Report. // "FAILED" - Failed to create Report. State string `json:"state,omitempty"` // Summary: Output only. Summary view of the Report. Summary *ReportSummary `json:"summary,omitempty"` // Type: Report type. // // Possible values: // "TYPE_UNSPECIFIED" - Default Report type. // "TOTAL_COST_OF_OWNERSHIP" - Total cost of ownership Report type. Type string `json:"type,omitempty"` // UpdateTime: Output only. Last update timestamp. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Report: Report represents a point-in-time rendering of the ReportConfig results.
func (*Report) MarshalJSON ¶
type ReportAssetFramesResponse ¶
type ReportAssetFramesResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
ReportAssetFramesResponse: A response to a call to `ReportAssetFrame`.
type ReportConfig ¶
type ReportConfig struct { // CreateTime: Output only. The timestamp when the resource was created. CreateTime string `json:"createTime,omitempty"` // Description: Free-text description. Description string `json:"description,omitempty"` // DisplayName: User-friendly display name. Maximum length is 63 // characters. DisplayName string `json:"displayName,omitempty"` // GroupPreferencesetAssignments: Required. Collection of combinations // of groups and preference sets. GroupPreferencesetAssignments []*ReportConfigGroupPreferenceSetAssignment `json:"groupPreferencesetAssignments,omitempty"` // Name: Output only. Name of resource. Name string `json:"name,omitempty"` // UpdateTime: Output only. The timestamp when the resource was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportConfig: The groups and associated preference sets on which we can generate reports.
func (*ReportConfig) MarshalJSON ¶
func (s *ReportConfig) MarshalJSON() ([]byte, error)
type ReportConfigGroupPreferenceSetAssignment ¶
type ReportConfigGroupPreferenceSetAssignment struct { // Group: Required. Name of the group. Group string `json:"group,omitempty"` // PreferenceSet: Required. Name of the Preference Set. PreferenceSet string `json:"preferenceSet,omitempty"` // ForceSendFields is a list of field names (e.g. "Group") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Group") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportConfigGroupPreferenceSetAssignment: Represents a combination of a group with a preference set.
func (*ReportConfigGroupPreferenceSetAssignment) MarshalJSON ¶
func (s *ReportConfigGroupPreferenceSetAssignment) MarshalJSON() ([]byte, error)
type ReportSummary ¶
type ReportSummary struct { // AllAssetsStats: Aggregate statistics for all the assets across all // the groups. AllAssetsStats *ReportSummaryAssetAggregateStats `json:"allAssetsStats,omitempty"` // GroupFindings: Findings for each Group included in this report. GroupFindings []*ReportSummaryGroupFinding `json:"groupFindings,omitempty"` // ForceSendFields is a list of field names (e.g. "AllAssetsStats") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllAssetsStats") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummary: Describes the Summary view of a Report, which contains aggregated values for all the groups and preference sets included in this Report.
func (*ReportSummary) MarshalJSON ¶
func (s *ReportSummary) MarshalJSON() ([]byte, error)
type ReportSummaryAssetAggregateStats ¶
type ReportSummaryAssetAggregateStats struct { // CoreCountHistogram: Histogram showing a distribution of CPU core // counts. CoreCountHistogram *ReportSummaryHistogramChartData `json:"coreCountHistogram,omitempty"` // MemoryBytesHistogram: Histogram showing a distribution of memory // sizes. MemoryBytesHistogram *ReportSummaryHistogramChartData `json:"memoryBytesHistogram,omitempty"` // MemoryUtilizationChart: Total memory split into Used/Free buckets. MemoryUtilizationChart *ReportSummaryUtilizationChartData `json:"memoryUtilizationChart,omitempty"` // OperatingSystem: Count of assets grouped by Operating System // families. OperatingSystem *ReportSummaryChartData `json:"operatingSystem,omitempty"` // StorageBytesHistogram: Histogram showing a distribution of storage // sizes. StorageBytesHistogram *ReportSummaryHistogramChartData `json:"storageBytesHistogram,omitempty"` // StorageUtilizationChart: Total memory split into Used/Free buckets. StorageUtilizationChart *ReportSummaryUtilizationChartData `json:"storageUtilizationChart,omitempty"` // TotalAssets: Count of the number of unique assets in this collection. TotalAssets int64 `json:"totalAssets,omitempty,string"` // TotalCores: Sum of the CPU core count of all the assets in this // collection. TotalCores int64 `json:"totalCores,omitempty,string"` // TotalMemoryBytes: Sum of the memory in bytes of all the assets in // this collection. TotalMemoryBytes int64 `json:"totalMemoryBytes,omitempty,string"` // TotalStorageBytes: Sum of persistent storage in bytes of all the // assets in this collection. TotalStorageBytes int64 `json:"totalStorageBytes,omitempty,string"` // ForceSendFields is a list of field names (e.g. "CoreCountHistogram") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CoreCountHistogram") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummaryAssetAggregateStats: Aggregate statistics for a collection of assets.
func (*ReportSummaryAssetAggregateStats) MarshalJSON ¶
func (s *ReportSummaryAssetAggregateStats) MarshalJSON() ([]byte, error)
type ReportSummaryChartData ¶
type ReportSummaryChartData struct { // DataPoints: Each data point in the chart is represented as a // name-value pair with the name being the x-axis label, and the value // being the y-axis value. DataPoints []*ReportSummaryChartDataDataPoint `json:"dataPoints,omitempty"` // ForceSendFields is a list of field names (e.g. "DataPoints") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataPoints") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportSummaryChartData: Describes a collection of data points rendered as a Chart.
func (*ReportSummaryChartData) MarshalJSON ¶
func (s *ReportSummaryChartData) MarshalJSON() ([]byte, error)
type ReportSummaryChartDataDataPoint ¶
type ReportSummaryChartDataDataPoint struct { // Label: The X-axis label for this data point. Label string `json:"label,omitempty"` // Value: The Y-axis value for this data point. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Label") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Label") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportSummaryChartDataDataPoint: Describes a single data point in the Chart.
func (*ReportSummaryChartDataDataPoint) MarshalJSON ¶
func (s *ReportSummaryChartDataDataPoint) MarshalJSON() ([]byte, error)
func (*ReportSummaryChartDataDataPoint) UnmarshalJSON ¶
func (s *ReportSummaryChartDataDataPoint) UnmarshalJSON(data []byte) error
type ReportSummaryComputeEngineFinding ¶
type ReportSummaryComputeEngineFinding struct { // AllocatedAssetCount: Count of assets which were allocated. AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"` // AllocatedDiskTypes: Set of disk types allocated to assets. // // Possible values: // "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value). // Selecting this value allows the system to use any disk type according // to reported usage. This a good value to start with. // "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk. // "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk. // "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk. AllocatedDiskTypes []string `json:"allocatedDiskTypes,omitempty"` // AllocatedRegions: Set of regions in which the assets were allocated. AllocatedRegions []string `json:"allocatedRegions,omitempty"` // MachineSeriesAllocations: Distribution of assets based on the Machine // Series. MachineSeriesAllocations []*ReportSummaryMachineSeriesAllocation `json:"machineSeriesAllocations,omitempty"` // ForceSendFields is a list of field names (e.g. "AllocatedAssetCount") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllocatedAssetCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummaryComputeEngineFinding: A set of findings that applies to assets destined for Compute Engine.
func (*ReportSummaryComputeEngineFinding) MarshalJSON ¶
func (s *ReportSummaryComputeEngineFinding) MarshalJSON() ([]byte, error)
type ReportSummaryGroupFinding ¶
type ReportSummaryGroupFinding struct { // AssetAggregateStats: Summary statistics for all the assets in this // group. AssetAggregateStats *ReportSummaryAssetAggregateStats `json:"assetAggregateStats,omitempty"` // Description: Description for the Group. Description string `json:"description,omitempty"` // DisplayName: Display Name for the Group. DisplayName string `json:"displayName,omitempty"` // OverlappingAssetCount: This field is deprecated, do not rely on it // having a value. OverlappingAssetCount int64 `json:"overlappingAssetCount,omitempty,string"` // PreferenceSetFindings: Findings for each of the PreferenceSets for // this group. PreferenceSetFindings []*ReportSummaryGroupPreferenceSetFinding `json:"preferenceSetFindings,omitempty"` // ForceSendFields is a list of field names (e.g. "AssetAggregateStats") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssetAggregateStats") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummaryGroupFinding: Summary Findings for a specific Group.
func (*ReportSummaryGroupFinding) MarshalJSON ¶
func (s *ReportSummaryGroupFinding) MarshalJSON() ([]byte, error)
type ReportSummaryGroupPreferenceSetFinding ¶
type ReportSummaryGroupPreferenceSetFinding struct { // ComputeEngineFinding: A set of findings that applies to Compute // Engine machines in the input. ComputeEngineFinding *ReportSummaryComputeEngineFinding `json:"computeEngineFinding,omitempty"` // Description: Description for the Preference Set. Description string `json:"description,omitempty"` // DisplayName: Display Name of the Preference Set DisplayName string `json:"displayName,omitempty"` // MachinePreferences: A set of preferences that applies to all machines // in the context. MachinePreferences *VirtualMachinePreferences `json:"machinePreferences,omitempty"` // MonthlyCostCompute: Compute monthly cost for this preference set. MonthlyCostCompute *Money `json:"monthlyCostCompute,omitempty"` // MonthlyCostNetworkEgress: Network Egress monthly cost for this // preference set. MonthlyCostNetworkEgress *Money `json:"monthlyCostNetworkEgress,omitempty"` // MonthlyCostOsLicense: Licensing monthly cost for this preference set. MonthlyCostOsLicense *Money `json:"monthlyCostOsLicense,omitempty"` // MonthlyCostOther: Miscellaneous monthly cost for this preference set. MonthlyCostOther *Money `json:"monthlyCostOther,omitempty"` // MonthlyCostStorage: Storage monthly cost for this preference set. MonthlyCostStorage *Money `json:"monthlyCostStorage,omitempty"` // MonthlyCostTotal: Total monthly cost for this preference set. MonthlyCostTotal *Money `json:"monthlyCostTotal,omitempty"` // SoleTenantFinding: A set of findings that applies to Sole-Tenant // machines in the input. SoleTenantFinding *ReportSummarySoleTenantFinding `json:"soleTenantFinding,omitempty"` // VmwareEngineFinding: A set of findings that applies to VMWare // machines in the input. VmwareEngineFinding *ReportSummaryVmwareEngineFinding `json:"vmwareEngineFinding,omitempty"` // ForceSendFields is a list of field names (e.g. // "ComputeEngineFinding") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ComputeEngineFinding") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummaryGroupPreferenceSetFinding: Summary Findings for a specific Group/PreferenceSet combination.
func (*ReportSummaryGroupPreferenceSetFinding) MarshalJSON ¶
func (s *ReportSummaryGroupPreferenceSetFinding) MarshalJSON() ([]byte, error)
type ReportSummaryHistogramChartData ¶
type ReportSummaryHistogramChartData struct { // Buckets: Buckets in the histogram. There will be `n+1` buckets // matching `n` lower bounds in the request. The first bucket will be // from -infinity to the first bound. Subsequent buckets will be between // one bound and the next. The final bucket will be from the final bound // to infinity. Buckets []*ReportSummaryHistogramChartDataBucket `json:"buckets,omitempty"` // ForceSendFields is a list of field names (e.g. "Buckets") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buckets") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportSummaryHistogramChartData: A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket.
func (*ReportSummaryHistogramChartData) MarshalJSON ¶
func (s *ReportSummaryHistogramChartData) MarshalJSON() ([]byte, error)
type ReportSummaryHistogramChartDataBucket ¶
type ReportSummaryHistogramChartDataBucket struct { // Count: Count of items in the bucket. Count int64 `json:"count,omitempty,string"` // LowerBound: Lower bound - inclusive. LowerBound int64 `json:"lowerBound,omitempty,string"` // UpperBound: Upper bound - exclusive. UpperBound int64 `json:"upperBound,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportSummaryHistogramChartDataBucket: A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds. The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity.
func (*ReportSummaryHistogramChartDataBucket) MarshalJSON ¶
func (s *ReportSummaryHistogramChartDataBucket) MarshalJSON() ([]byte, error)
type ReportSummaryMachineSeriesAllocation ¶
type ReportSummaryMachineSeriesAllocation struct { // AllocatedAssetCount: Count of assets allocated to this machine // series. AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"` // MachineSeries: The Machine Series (e.g. "E2", "N2") MachineSeries *MachineSeries `json:"machineSeries,omitempty"` // ForceSendFields is a list of field names (e.g. "AllocatedAssetCount") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllocatedAssetCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummaryMachineSeriesAllocation: Represents a data point tracking the count of assets allocated for a specific Machine Series.
func (*ReportSummaryMachineSeriesAllocation) MarshalJSON ¶
func (s *ReportSummaryMachineSeriesAllocation) MarshalJSON() ([]byte, error)
type ReportSummarySoleTenantFinding ¶
type ReportSummarySoleTenantFinding struct { // AllocatedAssetCount: Count of assets which are allocated AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"` // AllocatedRegions: Set of regions in which the assets are allocated AllocatedRegions []string `json:"allocatedRegions,omitempty"` // NodeAllocations: Set of per-nodetype allocation records NodeAllocations []*ReportSummarySoleTenantNodeAllocation `json:"nodeAllocations,omitempty"` // ForceSendFields is a list of field names (e.g. "AllocatedAssetCount") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllocatedAssetCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummarySoleTenantFinding: A set of findings that applies to assets destined for Sole-Tenant nodes.
func (*ReportSummarySoleTenantFinding) MarshalJSON ¶
func (s *ReportSummarySoleTenantFinding) MarshalJSON() ([]byte, error)
type ReportSummarySoleTenantNodeAllocation ¶
type ReportSummarySoleTenantNodeAllocation struct { // AllocatedAssetCount: Count of assets allocated to these nodes AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"` // Node: Sole Tenant node type, e.g. "m3-node-128-3904" Node *SoleTenantNodeType `json:"node,omitempty"` // NodeCount: Count of this node type to be provisioned NodeCount int64 `json:"nodeCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "AllocatedAssetCount") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllocatedAssetCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummarySoleTenantNodeAllocation: Represents the assets allocated to a specific Sole-Tenant node type.
func (*ReportSummarySoleTenantNodeAllocation) MarshalJSON ¶
func (s *ReportSummarySoleTenantNodeAllocation) MarshalJSON() ([]byte, error)
type ReportSummaryUtilizationChartData ¶
type ReportSummaryUtilizationChartData struct { // Free: Aggregate value which falls into the "Free" bucket. Free int64 `json:"free,omitempty,string"` // Used: Aggregate value which falls into the "Used" bucket. Used int64 `json:"used,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Free") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Free") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportSummaryUtilizationChartData: Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets.
func (*ReportSummaryUtilizationChartData) MarshalJSON ¶
func (s *ReportSummaryUtilizationChartData) MarshalJSON() ([]byte, error)
type ReportSummaryVmwareEngineFinding ¶
type ReportSummaryVmwareEngineFinding struct { // AllocatedAssetCount: Count of assets which are allocated AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"` // AllocatedRegions: Set of regions in which the assets were allocated AllocatedRegions []string `json:"allocatedRegions,omitempty"` // NodeAllocations: Set of per-nodetype allocation records NodeAllocations []*ReportSummaryVmwareNodeAllocation `json:"nodeAllocations,omitempty"` // ForceSendFields is a list of field names (e.g. "AllocatedAssetCount") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllocatedAssetCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummaryVmwareEngineFinding: A set of findings that applies to assets destined for VMWare Engine.
func (*ReportSummaryVmwareEngineFinding) MarshalJSON ¶
func (s *ReportSummaryVmwareEngineFinding) MarshalJSON() ([]byte, error)
type ReportSummaryVmwareNode ¶
type ReportSummaryVmwareNode struct { // Code: Code to identify VMware Engine node series, e.g. // "ve1-standard-72". Based on the displayName of // cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locatio // ns.nodeTypes Code string `json:"code,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReportSummaryVmwareNode: A VMWare Engine Node
func (*ReportSummaryVmwareNode) MarshalJSON ¶
func (s *ReportSummaryVmwareNode) MarshalJSON() ([]byte, error)
type ReportSummaryVmwareNodeAllocation ¶
type ReportSummaryVmwareNodeAllocation struct { // AllocatedAssetCount: Count of assets allocated to these nodes AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"` // NodeCount: Count of this node type to be provisioned NodeCount int64 `json:"nodeCount,omitempty,string"` // VmwareNode: VMWare node type, e.g. "ve1-standard-72" VmwareNode *ReportSummaryVmwareNode `json:"vmwareNode,omitempty"` // ForceSendFields is a list of field names (e.g. "AllocatedAssetCount") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllocatedAssetCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReportSummaryVmwareNodeAllocation: Represents assets allocated to a specific VMWare Node type.
func (*ReportSummaryVmwareNodeAllocation) MarshalJSON ¶
func (s *ReportSummaryVmwareNodeAllocation) MarshalJSON() ([]byte, error)
type RunImportJobRequest ¶
type RunImportJobRequest struct { // 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 // after 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). RequestId string `json:"requestId,omitempty"` // ForceSendFields is a list of field names (e.g. "RequestId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RequestId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RunImportJobRequest: A request to run an import job.
func (*RunImportJobRequest) MarshalJSON ¶
func (s *RunImportJobRequest) MarshalJSON() ([]byte, error)
type RunningProcess ¶
type RunningProcess struct { // Attributes: Process extended attributes. Attributes map[string]string `json:"attributes,omitempty"` // Cmdline: Process full command line. Cmdline string `json:"cmdline,omitempty"` // ExePath: Process binary path. ExePath string `json:"exePath,omitempty"` // Pid: Process ID. Pid int64 `json:"pid,omitempty,string"` // User: User running the process. User string `json:"user,omitempty"` // ForceSendFields is a list of field names (e.g. "Attributes") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Attributes") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RunningProcess: Guest OS running process details.
func (*RunningProcess) MarshalJSON ¶
func (s *RunningProcess) MarshalJSON() ([]byte, error)
type RunningProcessList ¶
type RunningProcessList struct { // Entries: Running process entries. Entries []*RunningProcess `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RunningProcessList: List of running guest OS processes.
func (*RunningProcessList) MarshalJSON ¶
func (s *RunningProcessList) MarshalJSON() ([]byte, error)
type RunningService ¶
type RunningService struct { // Cmdline: Service command line. Cmdline string `json:"cmdline,omitempty"` // ExePath: Service binary path. ExePath string `json:"exePath,omitempty"` // Pid: Service pid. Pid int64 `json:"pid,omitempty,string"` // ServiceName: Service name. ServiceName string `json:"serviceName,omitempty"` // StartMode: Service start mode (OS-agnostic). // // Possible values: // "START_MODE_UNSPECIFIED" - Start mode unspecified. // "BOOT" - The service is a device driver started by the system // loader. // "SYSTEM" - The service is a device driver started by the // IOInitSystem function. // "AUTO" - The service is started by the operating system, at system // start-up // "MANUAL" - The service is started only manually, by a user. // "DISABLED" - The service is disabled. StartMode string `json:"startMode,omitempty"` // State: Service state (OS-agnostic). // // Possible values: // "STATE_UNSPECIFIED" - Service state unspecified. // "ACTIVE" - Service is active. // "PAUSED" - Service is paused. // "STOPPED" - Service is stopped. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Cmdline") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cmdline") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RunningService: Guest OS running service details.
func (*RunningService) MarshalJSON ¶
func (s *RunningService) MarshalJSON() ([]byte, error)
type RunningServiceList ¶
type RunningServiceList struct { // Entries: Running service entries. Entries []*RunningService `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RunningServiceList: List of running guest OS services.
func (*RunningServiceList) MarshalJSON ¶
func (s *RunningServiceList) MarshalJSON() ([]byte, error)
type RuntimeNetworkInfo ¶
type RuntimeNetworkInfo struct { // Connections: Network connections. Connections *NetworkConnectionList `json:"connections,omitempty"` // ScanTime: Time of the last network scan. ScanTime string `json:"scanTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Connections") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Connections") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RuntimeNetworkInfo: Runtime networking information.
func (*RuntimeNetworkInfo) MarshalJSON ¶
func (s *RuntimeNetworkInfo) 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 Settings ¶
type Settings struct { // DisableCloudLogging: Disable Cloud Logging for the Migration Center // API. Users are billed for the logs. DisableCloudLogging bool `json:"disableCloudLogging,omitempty"` // Name: Output only. The name of the resource. Name string `json:"name,omitempty"` // PreferenceSet: The preference set used by default for a project. PreferenceSet string `json:"preferenceSet,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisableCloudLogging") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisableCloudLogging") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Settings: Describes the Migration Center settings related to the project.
func (*Settings) MarshalJSON ¶
type SoleTenancyPreferences ¶
type SoleTenancyPreferences struct { // CommitmentPlan: Commitment plan to consider when calculating costs // for virtual machine insights and recommendations. If you are unsure // which value to set, a 3 year commitment plan is often a good value to // start with. // // Possible values: // "COMMITMENT_PLAN_UNSPECIFIED" - Unspecified commitment plan. // "ON_DEMAND" - No commitment plan (on-demand usage). // "COMMITMENT_1_YEAR" - 1 year commitment. // "COMMITMENT_3_YEAR" - 3 years commitment. CommitmentPlan string `json:"commitmentPlan,omitempty"` // CpuOvercommitRatio: CPU overcommit ratio. Acceptable values are // between 1.0 and 2.0 inclusive. CpuOvercommitRatio float64 `json:"cpuOvercommitRatio,omitempty"` // HostMaintenancePolicy: Sole Tenancy nodes maintenance policy. // // Possible values: // "HOST_MAINTENANCE_POLICY_UNSPECIFIED" - Unspecified host // maintenance policy. // "HOST_MAINTENANCE_POLICY_DEFAULT" - Default host maintenance // policy. // "HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE" - Restart in place host // maintenance policy. // "HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP" - Migrate // within node group host maintenance policy. HostMaintenancePolicy string `json:"hostMaintenancePolicy,omitempty"` // NodeTypes: A list of sole tenant node types. An empty list means that // all possible node types will be considered. NodeTypes []*SoleTenantNodeType `json:"nodeTypes,omitempty"` // ForceSendFields is a list of field names (e.g. "CommitmentPlan") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CommitmentPlan") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
SoleTenancyPreferences: Preferences concerning Sole Tenancy nodes and VMs.
func (*SoleTenancyPreferences) MarshalJSON ¶
func (s *SoleTenancyPreferences) MarshalJSON() ([]byte, error)
func (*SoleTenancyPreferences) UnmarshalJSON ¶
func (s *SoleTenancyPreferences) UnmarshalJSON(data []byte) error
type SoleTenantNodeType ¶
type SoleTenantNodeType struct { // NodeName: Name of the Sole Tenant node. Consult // https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes NodeName string `json:"nodeName,omitempty"` // ForceSendFields is a list of field names (e.g. "NodeName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodeName") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SoleTenantNodeType: A Sole Tenant node type.
func (*SoleTenantNodeType) MarshalJSON ¶
func (s *SoleTenantNodeType) MarshalJSON() ([]byte, error)
type Source ¶
type Source struct { // CreateTime: Output only. The timestamp when the source was created. CreateTime string `json:"createTime,omitempty"` // Description: Free-text description. Description string `json:"description,omitempty"` // DisplayName: User-friendly display name. DisplayName string `json:"displayName,omitempty"` // ErrorFrameCount: Output only. The number of frames that were reported // by the source and contained errors. ErrorFrameCount int64 `json:"errorFrameCount,omitempty"` // Managed: If `true`, the source is managed by other service(s). Managed bool `json:"managed,omitempty"` // Name: Output only. The full name of the source. Name string `json:"name,omitempty"` // PendingFrameCount: Output only. Number of frames that are still being // processed. PendingFrameCount int64 `json:"pendingFrameCount,omitempty"` // Priority: The information confidence of the source. The higher the // value, the higher the confidence. Priority int64 `json:"priority,omitempty"` // State: Output only. The state of the source. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified. // "ACTIVE" - The source is active and ready to be used. // "DELETING" - In the process of being deleted. // "INVALID" - Source is in an invalid state. Asset frames reported to // it will be ignored. State string `json:"state,omitempty"` // Type: Data source type. // // Possible values: // "SOURCE_TYPE_UNKNOWN" - Unspecified // "SOURCE_TYPE_UPLOAD" - Manually uploaded file (e.g. CSV) // "SOURCE_TYPE_GUEST_OS_SCAN" - Guest-level info // "SOURCE_TYPE_INVENTORY_SCAN" - Inventory-level scan // "SOURCE_TYPE_CUSTOM" - Third-party owned sources. Type string `json:"type,omitempty"` // UpdateTime: Output only. The timestamp when the source was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Source: Source represents an object from which asset information is streamed to Migration Center.
func (*Source) MarshalJSON ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. 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 UpdateAssetRequest ¶
type UpdateAssetRequest struct { // Asset: Required. The resource being updated. Asset *Asset `json:"asset,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). RequestId string `json:"requestId,omitempty"` // UpdateMask: Required. Field mask is used to specify the fields to be // overwritten in the `Asset` resource by the update. The values // specified in the `update_mask` field are relative to the resource, // not the full request. A field will be overwritten if it is in the // mask. A single * value in the mask lets you to overwrite all fields. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Asset") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Asset") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
UpdateAssetRequest: A request to update an asset.
func (*UpdateAssetRequest) MarshalJSON ¶
func (s *UpdateAssetRequest) MarshalJSON() ([]byte, error)
type UploadFileInfo ¶
type UploadFileInfo struct { // Headers: Output only. The headers that were used to sign the URI. Headers map[string]string `json:"headers,omitempty"` // SignedUri: Output only. Upload URI for the file. SignedUri string `json:"signedUri,omitempty"` // UriExpirationTime: Output only. Expiration time of the upload URI. UriExpirationTime string `json:"uriExpirationTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Headers") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Headers") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
UploadFileInfo: A resource that contains a URI to which a data file can be uploaded.
func (*UploadFileInfo) MarshalJSON ¶
func (s *UploadFileInfo) MarshalJSON() ([]byte, error)
type ValidateImportJobRequest ¶
type ValidateImportJobRequest struct { // 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 // after 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). RequestId string `json:"requestId,omitempty"` // ForceSendFields is a list of field names (e.g. "RequestId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RequestId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ValidateImportJobRequest: A request to validate an import job.
func (*ValidateImportJobRequest) MarshalJSON ¶
func (s *ValidateImportJobRequest) MarshalJSON() ([]byte, error)
type ValidationReport ¶
type ValidationReport struct { // FileValidations: List of errors found in files. FileValidations []*FileValidationReport `json:"fileValidations,omitempty"` // JobErrors: List of job level errors. JobErrors []*ImportError `json:"jobErrors,omitempty"` // ForceSendFields is a list of field names (e.g. "FileValidations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FileValidations") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ValidationReport: A resource that aggregates errors across import job files.
func (*ValidationReport) MarshalJSON ¶
func (s *ValidationReport) MarshalJSON() ([]byte, error)
type VirtualMachinePreferences ¶
type VirtualMachinePreferences struct { // CommitmentPlan: Commitment plan to consider when calculating costs // for virtual machine insights and recommendations. If you are unsure // which value to set, a 3 year commitment plan is often a good value to // start with. // // Possible values: // "COMMITMENT_PLAN_UNSPECIFIED" - Unspecified commitment plan. // "COMMITMENT_PLAN_NONE" - No commitment plan. // "COMMITMENT_PLAN_ONE_YEAR" - 1 year commitment. // "COMMITMENT_PLAN_THREE_YEARS" - 3 years commitment. CommitmentPlan string `json:"commitmentPlan,omitempty"` // ComputeEnginePreferences: Compute Engine preferences concern insights // and recommendations for Compute Engine target. ComputeEnginePreferences *ComputeEnginePreferences `json:"computeEnginePreferences,omitempty"` // RegionPreferences: Region preferences for assets using this // preference set. If you are unsure which value to set, the migration // service API region is often a good value to start with. RegionPreferences *RegionPreferences `json:"regionPreferences,omitempty"` // SizingOptimizationStrategy: Sizing optimization strategy specifies // the preferred strategy used when extrapolating usage data to // calculate insights and recommendations for a virtual machine. If you // are unsure which value to set, a moderate sizing optimization // strategy is often a good value to start with. // // Possible values: // "SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED" - Unspecified (default // value). // "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE" - No optimization // applied. Virtual machine sizing matches as closely as possible the // machine shape on the source site, not considering any actual // performance data. // "SIZING_OPTIMIZATION_STRATEGY_MODERATE" - Virtual machine sizing // will match the reported usage and shape, with some slack. This a good // value to start with. // "SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE" - Virtual machine sizing // will match the reported usage, with little slack. Using this option // can help reduce costs. SizingOptimizationStrategy string `json:"sizingOptimizationStrategy,omitempty"` // SoleTenancyPreferences: Preferences concerning Sole Tenant nodes and // virtual machines. SoleTenancyPreferences *SoleTenancyPreferences `json:"soleTenancyPreferences,omitempty"` // TargetProduct: Target product for assets using this preference set. // Specify either target product or business goal, but not both. // // Possible values: // "COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED" - Unspecified // (default value). // "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE" - Prefer to // migrate to Google Cloud Compute Engine. // "COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE" - Prefer to // migrate to Google Cloud VMware Engine. // "COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY" - Prefer to migrate // to Google Cloud Sole Tenant Nodes. TargetProduct string `json:"targetProduct,omitempty"` // VmwareEnginePreferences: Preferences concerning insights and // recommendations for Google Cloud VMware Engine. VmwareEnginePreferences *VmwareEnginePreferences `json:"vmwareEnginePreferences,omitempty"` // ForceSendFields is a list of field names (e.g. "CommitmentPlan") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CommitmentPlan") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
VirtualMachinePreferences: VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets.
func (*VirtualMachinePreferences) MarshalJSON ¶
func (s *VirtualMachinePreferences) MarshalJSON() ([]byte, error)
type VmwareDiskConfig ¶
type VmwareDiskConfig struct { // BackingType: VMDK backing type. // // Possible values: // "BACKING_TYPE_UNSPECIFIED" - Default value. // "BACKING_TYPE_FLAT_V1" - Flat v1. // "BACKING_TYPE_FLAT_V2" - Flat v2. // "BACKING_TYPE_PMEM" - Persistent memory, also known as Non-Volatile // Memory (NVM). // "BACKING_TYPE_RDM_V1" - Raw Disk Memory v1. // "BACKING_TYPE_RDM_V2" - Raw Disk Memory v2. // "BACKING_TYPE_SESPARSE" - SEsparse is a snapshot format introduced // in vSphere 5.5 for large disks. // "BACKING_TYPE_SESPARSE_V1" - SEsparse v1. // "BACKING_TYPE_SESPARSE_V2" - SEsparse v1. BackingType string `json:"backingType,omitempty"` // RdmCompatibility: RDM compatibility mode. // // Possible values: // "RDM_COMPATIBILITY_UNSPECIFIED" - Compatibility mode unspecified or // unknown. // "PHYSICAL_COMPATIBILITY" - Physical compatibility mode. // "VIRTUAL_COMPATIBILITY" - Virtual compatibility mode. RdmCompatibility string `json:"rdmCompatibility,omitempty"` Shared bool `json:"shared,omitempty"` // VmdkMode: VMDK disk mode. // // Possible values: // "VMDK_MODE_UNSPECIFIED" - VMDK disk mode unspecified or unknown. // "DEPENDENT" - Dependent disk mode. // "INDEPENDENT_PERSISTENT" - Independent - Persistent disk mode. // "INDEPENDENT_NONPERSISTENT" - Independent - Nonpersistent disk // mode. VmdkMode string `json:"vmdkMode,omitempty"` // ForceSendFields is a list of field names (e.g. "BackingType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BackingType") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
VmwareDiskConfig: VMware disk config details.
func (*VmwareDiskConfig) MarshalJSON ¶
func (s *VmwareDiskConfig) MarshalJSON() ([]byte, error)
type VmwareEnginePreferences ¶
type VmwareEnginePreferences struct { // CommitmentPlan: Commitment plan to consider when calculating costs // for virtual machine insights and recommendations. If you are unsure // which value to set, a 3 year commitment plan is often a good value to // start with. // // Possible values: // "COMMITMENT_PLAN_UNSPECIFIED" - Unspecified commitment plan. // "ON_DEMAND" - No commitment plan (on-demand usage). // "COMMITMENT_1_YEAR_MONTHLY_PAYMENTS" - 1 year commitment (monthly // payments). // "COMMITMENT_3_YEAR_MONTHLY_PAYMENTS" - 3 year commitment (monthly // payments). // "COMMITMENT_1_YEAR_UPFRONT_PAYMENT" - 1 year commitment (upfront // payment). // "COMMITMENT_3_YEAR_UPFRONT_PAYMENT" - 3 years commitment (upfront // payment). CommitmentPlan string `json:"commitmentPlan,omitempty"` // CpuOvercommitRatio: CPU overcommit ratio. Acceptable values are // between 1.0 and 8.0, with 0.1 increment. CpuOvercommitRatio float64 `json:"cpuOvercommitRatio,omitempty"` // MemoryOvercommitRatio: Memory overcommit ratio. Acceptable values are // 1.0, 1.25, 1.5, 1.75 and 2.0. MemoryOvercommitRatio float64 `json:"memoryOvercommitRatio,omitempty"` // StorageDeduplicationCompressionRatio: The Deduplication and // Compression ratio is based on the logical (Used Before) space // required to store data before applying deduplication and compression, // in relation to the physical (Used After) space required after // applying deduplication and compression. Specifically, the ratio is // the Used Before space divided by the Used After space. For example, // if the Used Before space is 3 GB, but the physical Used After space // is 1 GB, the deduplication and compression ratio is 3x. Acceptable // values are between 1.0 and 4.0. StorageDeduplicationCompressionRatio float64 `json:"storageDeduplicationCompressionRatio,omitempty"` // ForceSendFields is a list of field names (e.g. "CommitmentPlan") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CommitmentPlan") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
VmwareEnginePreferences: The user preferences relating to Google Cloud VMware Engine target platform.
func (*VmwareEnginePreferences) MarshalJSON ¶
func (s *VmwareEnginePreferences) MarshalJSON() ([]byte, error)
func (*VmwareEnginePreferences) UnmarshalJSON ¶
func (s *VmwareEnginePreferences) UnmarshalJSON(data []byte) error
type VmwarePlatformDetails ¶
type VmwarePlatformDetails struct { // EsxVersion: ESX version. EsxVersion string `json:"esxVersion,omitempty"` // Osid: VMware os enum - // https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html. Osid string `json:"osid,omitempty"` // VcenterFolder: Folder name in vCenter where asset resides. VcenterFolder string `json:"vcenterFolder,omitempty"` // VcenterUri: vCenter URI used in collection. VcenterUri string `json:"vcenterUri,omitempty"` // VcenterVersion: vCenter version. VcenterVersion string `json:"vcenterVersion,omitempty"` // VcenterVmId: vCenter VM ID. VcenterVmId string `json:"vcenterVmId,omitempty"` // ForceSendFields is a list of field names (e.g. "EsxVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EsxVersion") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
VmwarePlatformDetails: VMware specific details.
func (*VmwarePlatformDetails) MarshalJSON ¶
func (s *VmwarePlatformDetails) MarshalJSON() ([]byte, error)