Movatterモバイル変換


[0]ホーム

URL:


migrationcenter

package
v0.257.0Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:18Imported by:0

Details

Repository

github.com/googleapis/google-api-go-client

Links

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, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.

When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/migrationcenter/v1"...ctx := context.Background()migrationcenterService, err := migrationcenter.NewService(ctx)

In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:

migrationcenterService, err := migrationcenter.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)migrationcenterService, err := migrationcenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

Seegoogle.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAddAssetsToGroupRequest

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`.AllowExistingbool `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 2000.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).RequestIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowExisting") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AddAssetsToGroupRequest: A request to add assets to a group.

func (AddAssetsToGroupRequest)MarshalJSON

func (sAddAssetsToGroupRequest) MarshalJSON() ([]byte,error)

typeAggregateAssetsValuesRequest

type AggregateAssetsValuesRequest struct {// Aggregations: Array of aggregations to perform. Up to 25 aggregations can be// defined.Aggregations []*Aggregation `json:"aggregations,omitempty"`// Filter: Optional. The aggregation will be performed on assets that match the// provided filter.Filterstring `json:"filter,omitempty"`// ShowHidden: Optional. When this value is set to 'true,' the response will// include all assets, including those that are hidden.ShowHiddenbool `json:"showHidden,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Aggregations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregateAssetsValuesRequest: A request to aggregate one or more values.

func (AggregateAssetsValuesRequest)MarshalJSON

func (sAggregateAssetsValuesRequest) MarshalJSON() ([]byte,error)

typeAggregateAssetsValuesResponse

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Results") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregateAssetsValuesResponse: A response to a request to aggregated assetsvalues.

func (AggregateAssetsValuesResponse)MarshalJSON

func (sAggregateAssetsValuesResponse) MarshalJSON() ([]byte,error)

typeAggregation

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.Fieldstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Count") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Aggregation: Message describing an aggregation. The message includes theaggregation type, parameters, and the field on which to perform theaggregation.

func (Aggregation)MarshalJSON

func (sAggregation) MarshalJSON() ([]byte,error)

typeAggregationCount

type AggregationCount struct {}

AggregationCount: Object count.

typeAggregationFrequency

type AggregationFrequency struct {}

AggregationFrequency: Frequency distribution of all field values.

typeAggregationHistogram

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LowerBounds") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregationHistogram: Histogram of bucketed assets counts by field value.

func (AggregationHistogram)MarshalJSON

func (sAggregationHistogram) MarshalJSON() ([]byte,error)

func (*AggregationHistogram)UnmarshalJSON

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

typeAggregationResult

type AggregationResult struct {Count     *AggregationResultCount     `json:"count,omitempty"`Fieldstring                      `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Count") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregationResult: Message describing a result of an aggregation.

func (AggregationResult)MarshalJSON

func (sAggregationResult) MarshalJSON() ([]byte,error)

typeAggregationResultCount

type AggregationResultCount struct {Valueint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Value") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregationResultCount: The result of a count aggregation.

func (AggregationResultCount)MarshalJSON

func (sAggregationResultCount) MarshalJSON() ([]byte,error)

typeAggregationResultFrequency

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Values") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregationResultFrequency: The result of a frequency distributionaggregation.

func (AggregationResultFrequency)MarshalJSON

func (sAggregationResultFrequency) MarshalJSON() ([]byte,error)

typeAggregationResultHistogram

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Buckets") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregationResultHistogram: The result of a bucketed histogram aggregation.

func (AggregationResultHistogram)MarshalJSON

func (sAggregationResultHistogram) MarshalJSON() ([]byte,error)

typeAggregationResultHistogramBucket

type AggregationResultHistogramBucket struct {// Count: Count of items in the bucket.Countint64 `json:"count,omitempty,string"`// LowerBound: Lower bound - inclusive.LowerBoundfloat64 `json:"lowerBound,omitempty"`// UpperBound: Upper bound - exclusive.UpperBoundfloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Count") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregationResultHistogramBucket: A histogram bucket with a lower and upperbound, and a count of items with a field value between those bounds. Thelower bound is inclusive and the upper bound is exclusive. Lower bound maybe -infinity and upper bound may be infinity.

func (AggregationResultHistogramBucket)MarshalJSON

func (sAggregationResultHistogramBucket) MarshalJSON() ([]byte,error)

func (*AggregationResultHistogramBucket)UnmarshalJSON

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

typeAggregationResultSum

type AggregationResultSum struct {Valuefloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Value") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AggregationResultSum: The result of a sum aggregation.

func (AggregationResultSum)MarshalJSON

func (sAggregationResultSum) MarshalJSON() ([]byte,error)

func (*AggregationResultSum)UnmarshalJSON

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

typeAggregationSum

type AggregationSum struct {}

AggregationSum: Sum of field values.

typeAsset

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.CreateTimestring `json:"createTime,omitempty"`// DatabaseDeploymentDetails: Output only. Asset information specific for// database deployments.DatabaseDeploymentDetails *DatabaseDeploymentDetails `json:"databaseDeploymentDetails,omitempty"`// DatabaseDetails: Output only. Asset information specific for logical// databases.DatabaseDetails *DatabaseDetails `json:"databaseDetails,omitempty"`// Hidden: Optional. Indicates if the asset is hidden.Hiddenbool `json:"hidden,omitempty"`// HideReason: Optional. An optional reason for marking this asset as hidden.HideReasonstring `json:"hideReason,omitempty"`// HideTime: Output only. The timestamp when the asset was marked as hidden.HideTimestring `json:"hideTime,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.Namestring `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"`// Title: Output only. Server generated human readable name of the asset.Titlestring `json:"title,omitempty"`// UpdateTime: Output only. The timestamp when the asset was last updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AssignedGroups") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedGroups") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Asset: An asset represents a resource in your environment. Asset typesinclude virtual machines and databases.

func (Asset)MarshalJSON

func (sAsset) MarshalJSON() ([]byte,error)

typeAssetFrame

type AssetFrame struct {// Attributes: Generic asset attributes.Attributes map[string]string `json:"attributes,omitempty"`// CollectionType: Optional. Frame collection type, if not specified the// collection type will be based on the source type of the source the frame was// reported on.//// 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.//   "SOURCE_TYPE_DISCOVERY_CLIENT" - Discovery clientsCollectionTypestring `json:"collectionType,omitempty"`// DatabaseDeploymentDetails: Asset information specific for database// deployments.DatabaseDeploymentDetails *DatabaseDeploymentDetails `json:"databaseDeploymentDetails,omitempty"`// DatabaseDetails: Asset information specific for logical databases.DatabaseDetails *DatabaseDetails `json:"databaseDetails,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.ReportTimestring `json:"reportTime,omitempty"`// TraceToken: Optional. Trace token is optionally provided to assist with// debugging and traceability.TraceTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Attributes") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AssetFrame: Contains data reported from an inventory source on an asset.

func (AssetFrame)MarshalJSON

func (sAssetFrame) MarshalJSON() ([]byte,error)

typeAssetList

type AssetList struct {// AssetIds: Required. A list of asset IDsAssetIds []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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssetIds") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AssetList: Lists the asset IDs of all assets.

func (AssetList)MarshalJSON

func (sAssetList) MarshalJSON() ([]byte,error)

typeAssetPerformanceData

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DailyResourceUsageAggregations")// to include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AssetPerformanceData: Performance data for an asset.

func (AssetPerformanceData)MarshalJSON

func (sAssetPerformanceData) MarshalJSON() ([]byte,error)

typeAwsEc2PlatformDetails

type AwsEc2PlatformDetails struct {// Hyperthreading: Optional. Whether the machine is hyperthreaded.//// Possible values://   "HYPERTHREADING_STATUS_UNSPECIFIED" - Simultaneous Multithreading status// unknown.//   "HYPERTHREADING_STATUS_DISABLED" - Simultaneous Multithreading is disabled// or unavailable.//   "HYPERTHREADING_STATUS_ENABLED" - Simultaneous Multithreading is enabled.Hyperthreadingstring `json:"hyperthreading,omitempty"`// Location: The location of the machine in the AWS format.Locationstring `json:"location,omitempty"`// MachineTypeLabel: AWS platform's machine type label.MachineTypeLabelstring `json:"machineTypeLabel,omitempty"`// ForceSendFields is a list of field names (e.g. "Hyperthreading") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hyperthreading") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AwsEc2PlatformDetails: AWS EC2 specific details.

func (AwsEc2PlatformDetails)MarshalJSON

func (sAwsEc2PlatformDetails) MarshalJSON() ([]byte,error)

typeAwsRdsadded inv0.222.0

type AwsRds struct {}

AwsRds: Specific details for an AWS RDS database deployment.

typeAzureVmPlatformDetails

type AzureVmPlatformDetails struct {// Hyperthreading: Whether the machine is hyperthreaded.//// Possible values://   "HYPERTHREADING_STATUS_UNSPECIFIED" - Simultaneous Multithreading status// unknown.//   "HYPERTHREADING_STATUS_DISABLED" - Simultaneous Multithreading is disabled// or unavailable.//   "HYPERTHREADING_STATUS_ENABLED" - Simultaneous Multithreading is enabled.Hyperthreadingstring `json:"hyperthreading,omitempty"`// Location: The location of the machine in the Azure format.Locationstring `json:"location,omitempty"`// MachineTypeLabel: Azure platform's machine type label.MachineTypeLabelstring `json:"machineTypeLabel,omitempty"`// ProvisioningState: Azure platform's provisioning state.ProvisioningStatestring `json:"provisioningState,omitempty"`// ForceSendFields is a list of field names (e.g. "Hyperthreading") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hyperthreading") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AzureVmPlatformDetails: Azure VM specific details.

func (AzureVmPlatformDetails)MarshalJSON

func (sAzureVmPlatformDetails) MarshalJSON() ([]byte,error)

typeBatchDeleteAssetsRequest

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`.AllowMissingbool `json:"allowMissing,omitempty"`// CascadingRules: Optional. Optional cascading rules for deleting related// assets.CascadingRules []*CascadingRule `json:"cascadingRules,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowMissing") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

BatchDeleteAssetsRequest: A request to delete a list of asset.

func (BatchDeleteAssetsRequest)MarshalJSON

func (sBatchDeleteAssetsRequest) MarshalJSON() ([]byte,error)

typeBatchUpdateAssetsRequest

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Requests") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

BatchUpdateAssetsRequest: A request to update a list of assets.

func (BatchUpdateAssetsRequest)MarshalJSON

func (sBatchUpdateAssetsRequest) MarshalJSON() ([]byte,error)

typeBatchUpdateAssetsResponse

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Assets") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

BatchUpdateAssetsResponse: Response for updating a list of assets.

func (BatchUpdateAssetsResponse)MarshalJSON

func (sBatchUpdateAssetsResponse) MarshalJSON() ([]byte,error)

typeBiosDetails

type BiosDetails struct {// BiosName: BIOS name. This fields is deprecated. Please use the `id` field// instead.BiosNamestring `json:"biosName,omitempty"`// Id: BIOS ID.Idstring `json:"id,omitempty"`// Manufacturer: BIOS manufacturer.Manufacturerstring `json:"manufacturer,omitempty"`// ReleaseDate: BIOS release date.ReleaseDate *Date `json:"releaseDate,omitempty"`// SmbiosUuid: SMBIOS UUID.SmbiosUuidstring `json:"smbiosUuid,omitempty"`// Version: BIOS version.Versionstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BiosName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

BiosDetails: Details about the BIOS.

func (BiosDetails)MarshalJSON

func (sBiosDetails) MarshalJSON() ([]byte,error)

typeCancelOperationRequest

type CancelOperationRequest struct {}

CancelOperationRequest: The request message for Operations.CancelOperation.

typeCascadeLogicalDBsRuleadded inv0.233.0

type CascadeLogicalDBsRule struct {}

CascadeLogicalDBsRule: Cascading rule for related logical DBs.

typeCascadingRuleadded inv0.233.0

type CascadingRule struct {// CascadeLogicalDbs: Cascading rule for related logical DBs.CascadeLogicalDbs *CascadeLogicalDBsRule `json:"cascadeLogicalDbs,omitempty"`// ForceSendFields is a list of field names (e.g. "CascadeLogicalDbs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CascadeLogicalDbs") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CascadingRule: Specifies cascading rules for traversing relations.

func (CascadingRule)MarshalJSONadded inv0.233.0

func (sCascadingRule) MarshalJSON() ([]byte,error)

typeComputeEngineMigrationTarget

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Shape") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ComputeEngineMigrationTarget: Compute engine migration target.

func (ComputeEngineMigrationTarget)MarshalJSON

func (sComputeEngineMigrationTarget) MarshalJSON() ([]byte,error)

typeComputeEnginePreferences

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.LicenseTypestring `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. Fallback to default// value based on context.//   "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk.//   "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk.//   "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk.PersistentDiskTypestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LicenseType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ComputeEnginePreferences: The user preferences relating to Compute Enginetarget platform.

func (ComputeEnginePreferences)MarshalJSON

func (sComputeEnginePreferences) MarshalJSON() ([]byte,error)

typeComputeEngineShapeDescriptor

type ComputeEngineShapeDescriptor struct {// LogicalCoreCount: Output only. Number of logical cores.LogicalCoreCountint64 `json:"logicalCoreCount,omitempty"`// MachineType: Output only. Compute Engine machine type.MachineTypestring `json:"machineType,omitempty"`// MemoryMb: Memory in mebibytes.MemoryMbint64 `json:"memoryMb,omitempty"`// PhysicalCoreCount: Number of physical cores.PhysicalCoreCountint64 `json:"physicalCoreCount,omitempty"`// Series: Output only. Compute Engine machine series.Seriesstring `json:"series,omitempty"`// Storage: Output only. 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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LogicalCoreCount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ComputeEngineShapeDescriptor: Compute Engine target shape descriptor.

func (ComputeEngineShapeDescriptor)MarshalJSON

func (sComputeEngineShapeDescriptor) MarshalJSON() ([]byte,error)

typeComputeStorageDescriptor

type ComputeStorageDescriptor struct {// SizeGb: Output only. Disk size in GiB.SizeGbint64 `json:"sizeGb,omitempty"`// Type: Output only. Disk type backing the storage.//// Possible values://   "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified. Fallback to default// value based on context.//   "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk.//   "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk.//   "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SizeGb") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ComputeStorageDescriptor: Compute Engine storage option descriptor.

func (ComputeStorageDescriptor)MarshalJSON

func (sComputeStorageDescriptor) MarshalJSON() ([]byte,error)

typeCpuUsageSample

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.UtilizedPercentagefloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "UtilizedPercentage") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CpuUsageSample: CPU usage sample.

func (CpuUsageSample)MarshalJSON

func (sCpuUsageSample) MarshalJSON() ([]byte,error)

func (*CpuUsageSample)UnmarshalJSON

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

typeDailyResourceUsageAggregation

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Cpu") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DailyResourceUsageAggregation: Usage data aggregation for a single day.

func (DailyResourceUsageAggregation)MarshalJSON

func (sDailyResourceUsageAggregation) MarshalJSON() ([]byte,error)

typeDailyResourceUsageAggregationCPU

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "UtilizationPercentage") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DailyResourceUsageAggregationCPU: Statistical aggregation of CPU usage.

func (DailyResourceUsageAggregationCPU)MarshalJSON

func (sDailyResourceUsageAggregationCPU) MarshalJSON() ([]byte,error)

typeDailyResourceUsageAggregationDisk

type DailyResourceUsageAggregationDisk struct {// Iops: Optional. Disk I/O operations per second.Iops *DailyResourceUsageAggregationStats `json:"iops,omitempty"`// ReadIops: Optional. Disk read I/O operations per second.ReadIops *DailyResourceUsageAggregationStats `json:"readIops,omitempty"`// WriteIops: Optional. Disk write I/O operations per second.WriteIops *DailyResourceUsageAggregationStats `json:"writeIops,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Iops") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DailyResourceUsageAggregationDisk: Statistical aggregation of disk usage.

func (DailyResourceUsageAggregationDisk)MarshalJSON

func (sDailyResourceUsageAggregationDisk) MarshalJSON() ([]byte,error)

typeDailyResourceUsageAggregationMemory

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "UtilizationPercentage") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DailyResourceUsageAggregationMemory: Statistical aggregation of memoryusage.

func (DailyResourceUsageAggregationMemory)MarshalJSON

typeDailyResourceUsageAggregationNetwork

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EgressBps") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DailyResourceUsageAggregationNetwork: Statistical aggregation of networkusage.

func (DailyResourceUsageAggregationNetwork)MarshalJSON

typeDailyResourceUsageAggregationStats

type DailyResourceUsageAggregationStats struct {// Average: Average usage value.Averagefloat64 `json:"average,omitempty"`// Median: Median usage value.Medianfloat64 `json:"median,omitempty"`// NinteyFifthPercentile: 95th percentile usage value.NinteyFifthPercentilefloat64 `json:"ninteyFifthPercentile,omitempty"`// Peak: Peak usage value.Peakfloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Average") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DailyResourceUsageAggregationStats: Statistical aggregation of samples for asingle resource usage.

func (DailyResourceUsageAggregationStats)MarshalJSON

func (*DailyResourceUsageAggregationStats)UnmarshalJSON

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

typeDatabaseDeploymentDetailsadded inv0.210.0

type DatabaseDeploymentDetails struct {// AggregatedStats: Output only. Aggregated stats for the database deployment.AggregatedStats *DatabaseDeploymentDetailsAggregatedStats `json:"aggregatedStats,omitempty"`// AwsRds: Optional. Details of an AWS RDS instance.AwsRds *AwsRds `json:"awsRds,omitempty"`// Edition: Optional. The database deployment edition.Editionstring `json:"edition,omitempty"`// GeneratedId: Optional. The database deployment generated ID.GeneratedIdstring `json:"generatedId,omitempty"`// ManualUniqueId: Optional. A manual unique ID set by the user.ManualUniqueIdstring `json:"manualUniqueId,omitempty"`// Mysql: Optional. Details of a MYSQL database deployment.Mysql *MysqlDatabaseDeployment `json:"mysql,omitempty"`// Postgresql: Optional. Details of a PostgreSQL database deployment.Postgresql *PostgreSqlDatabaseDeployment `json:"postgresql,omitempty"`// SqlServer: Optional. Details of a Microsoft SQL Server database deployment.SqlServer *SqlServerDatabaseDeployment `json:"sqlServer,omitempty"`// Topology: Optional. Details of the database deployment topology.Topology *DatabaseDeploymentTopology `json:"topology,omitempty"`// Version: Optional. The database deployment version.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "AggregatedStats") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AggregatedStats") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseDeploymentDetails: The details of a database deployment asset.

func (DatabaseDeploymentDetails)MarshalJSONadded inv0.210.0

func (sDatabaseDeploymentDetails) MarshalJSON() ([]byte,error)

typeDatabaseDeploymentDetailsAggregatedStatsadded inv0.210.0

type DatabaseDeploymentDetailsAggregatedStats struct {// DatabaseCount: Output only. The number of databases in the deployment.DatabaseCountint64 `json:"databaseCount,omitempty"`// ForceSendFields is a list of field names (e.g. "DatabaseCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DatabaseCount") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseDeploymentDetailsAggregatedStats: Aggregated stats for the databasedeployment.

func (DatabaseDeploymentDetailsAggregatedStats)MarshalJSONadded inv0.210.0

typeDatabaseDeploymentTopologyadded inv0.210.0

type DatabaseDeploymentTopology struct {// CoreCount: Optional. Number of total logical cores.CoreCountint64 `json:"coreCount,omitempty"`// CoreLimit: Optional. Number of total logical cores limited by db deployment.CoreLimitint64 `json:"coreLimit,omitempty"`// DiskAllocatedBytes: Optional. Disk allocated in bytes.DiskAllocatedBytesint64 `json:"diskAllocatedBytes,omitempty,string"`// DiskUsedBytes: Optional. Disk used in bytes.DiskUsedBytesint64 `json:"diskUsedBytes,omitempty,string"`// Instances: Optional. List of database instances.Instances []*DatabaseInstance `json:"instances,omitempty"`// MemoryBytes: Optional. Total memory in bytes.MemoryBytesint64 `json:"memoryBytes,omitempty,string"`// MemoryLimitBytes: Optional. Total memory in bytes limited by db deployment.MemoryLimitBytesint64 `json:"memoryLimitBytes,omitempty,string"`// PhysicalCoreCount: Optional. Number of total physical cores.PhysicalCoreCountint64 `json:"physicalCoreCount,omitempty"`// PhysicalCoreLimit: Optional. Number of total physical cores limited by db// deployment.PhysicalCoreLimitint64 `json:"physicalCoreLimit,omitempty"`// ForceSendFields is a list of field names (e.g. "CoreCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CoreCount") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseDeploymentTopology: Details of database deployment's topology.

func (DatabaseDeploymentTopology)MarshalJSONadded inv0.210.0

func (sDatabaseDeploymentTopology) MarshalJSON() ([]byte,error)

typeDatabaseDetailsadded inv0.210.0

type DatabaseDetails struct {// AllocatedStorageBytes: Optional. The allocated storage for the database in// bytes.AllocatedStorageBytesint64 `json:"allocatedStorageBytes,omitempty,string"`// DatabaseName: Required. The name of the database.DatabaseNamestring `json:"databaseName,omitempty"`// ParentDatabaseDeployment: Required. The parent database deployment that// contains the logical database.ParentDatabaseDeployment *DatabaseDetailsParentDatabaseDeployment `json:"parentDatabaseDeployment,omitempty"`// Schemas: Optional. The database schemas.Schemas []*DatabaseSchema `json:"schemas,omitempty"`// ForceSendFields is a list of field names (e.g. "AllocatedStorageBytes") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedStorageBytes") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseDetails: Details of a logical database.

func (DatabaseDetails)MarshalJSONadded inv0.210.0

func (sDatabaseDetails) MarshalJSON() ([]byte,error)

typeDatabaseDetailsParentDatabaseDeploymentadded inv0.210.0

type DatabaseDetailsParentDatabaseDeployment struct {// GeneratedId: Optional. The parent database deployment generated ID.GeneratedIdstring `json:"generatedId,omitempty"`// ManualUniqueId: Optional. The parent database deployment optional manual// unique ID set by the user.ManualUniqueIdstring `json:"manualUniqueId,omitempty"`// ForceSendFields is a list of field names (e.g. "GeneratedId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GeneratedId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseDetailsParentDatabaseDeployment: The identifiers of the parentdatabase deployment.

func (DatabaseDetailsParentDatabaseDeployment)MarshalJSONadded inv0.210.0

typeDatabaseInstanceadded inv0.210.0

type DatabaseInstance struct {// InstanceName: Optional. The instance's name.InstanceNamestring `json:"instanceName,omitempty"`// Network: Optional. Networking details.Network *DatabaseInstanceNetwork `json:"network,omitempty"`// Role: Optional. The instance role in the database engine.//// Possible values://   "ROLE_UNSPECIFIED" - Unspecified.//   "PRIMARY" - Primary.//   "SECONDARY" - Secondary.//   "ARBITER" - Arbiter.Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "InstanceName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InstanceName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseInstance: Details of a database instance.

func (DatabaseInstance)MarshalJSONadded inv0.210.0

func (sDatabaseInstance) MarshalJSON() ([]byte,error)

typeDatabaseInstanceNetworkadded inv0.210.0

type DatabaseInstanceNetwork struct {// HostNames: Optional. The instance's host names.HostNames []string `json:"hostNames,omitempty"`// IpAddresses: Optional. The instance's IP addresses.IpAddresses []string `json:"ipAddresses,omitempty"`// PrimaryMacAddress: Optional. The instance's primary MAC address.PrimaryMacAddressstring `json:"primaryMacAddress,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HostNames") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseInstanceNetwork: Network details of a database instance.

func (DatabaseInstanceNetwork)MarshalJSONadded inv0.210.0

func (sDatabaseInstanceNetwork) MarshalJSON() ([]byte,error)

typeDatabaseObjectsadded inv0.210.0

type DatabaseObjects struct {// Category: Optional. The category of the objects.//// Possible values://   "CATEGORY_UNSPECIFIED" - Unspecified type.//   "TABLE" - Table.//   "INDEX" - Index.//   "CONSTRAINTS" - Constraints.//   "VIEWS" - Views.//   "SOURCE_CODE" - Source code, e.g. procedures.//   "OTHER" - Uncategorized objects.Categorystring `json:"category,omitempty"`// Count: Optional. The number of objects.Countint64 `json:"count,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Category") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Category") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseObjects: Details of a group of database objects.

func (DatabaseObjects)MarshalJSONadded inv0.210.0

func (sDatabaseObjects) MarshalJSON() ([]byte,error)

typeDatabaseSchemaadded inv0.210.0

type DatabaseSchema struct {// Mysql: Optional. Details of a Mysql schema.Mysql *MySqlSchemaDetails `json:"mysql,omitempty"`// Objects: Optional. List of details of objects by category.Objects []*DatabaseObjects `json:"objects,omitempty"`// Postgresql: Optional. Details of a PostgreSql schema.Postgresql *PostgreSqlSchemaDetails `json:"postgresql,omitempty"`// SchemaName: Required. The name of the schema.SchemaNamestring `json:"schemaName,omitempty"`// SqlServer: Optional. Details of a SqlServer schema.SqlServer *SqlServerSchemaDetails `json:"sqlServer,omitempty"`// TablesSizeBytes: Optional. The total size of tables in bytes.TablesSizeBytesint64 `json:"tablesSizeBytes,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Mysql") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Mysql") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DatabaseSchema: Details of a database schema.

func (DatabaseSchema)MarshalJSONadded inv0.210.0

func (sDatabaseSchema) MarshalJSON() ([]byte,error)

typeDate

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.Dayint64 `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.Monthint64 `json:"month,omitempty"`// Year: Year of the date. Must be from 1 to 9999, or 0 to specify a date// without a year.Yearint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Day") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Date: Represents a whole or partial calendar date, such as a birthday. Thetime of day and time zone are either specified elsewhere or areinsignificant. The date is relative to the Gregorian Calendar. This canrepresent 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, ananniversary). * A year on its own, with a zero month and a zero day. * Ayear and month, with a zero day (for example, a credit card expirationdate). Related types: * google.type.TimeOfDay * google.type.DateTime *google.protobuf.Timestamp

func (Date)MarshalJSON

func (sDate) MarshalJSON() ([]byte,error)

typeDiscoveryClientadded inv0.173.0

type DiscoveryClient struct {// CreateTime: Output only. Time when the discovery client was first created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. Free text description. Maximum length is 1000// characters.Descriptionstring `json:"description,omitempty"`// DisplayName: Optional. Free text display name. Maximum length is 63// characters.DisplayNamestring `json:"displayName,omitempty"`// Errors: Output only. Errors affecting client functionality.Errors []*Status `json:"errors,omitempty"`// ExpireTime: Optional. Client expiration time in UTC. If specified, the// backend will not accept new frames after this time.ExpireTimestring `json:"expireTime,omitempty"`// HeartbeatTime: Output only. Last heartbeat time. Healthy clients are// expected to send heartbeats regularly (normally every few minutes).HeartbeatTimestring `json:"heartbeatTime,omitempty"`// Labels: Optional. Labels as key value pairs.Labels map[string]string `json:"labels,omitempty"`// Name: Output only. Identifier. Full name of this discovery client.Namestring `json:"name,omitempty"`// ServiceAccount: Required. Service account used by the discovery client for// various operation.ServiceAccountstring `json:"serviceAccount,omitempty"`// SignalsEndpoint: Output only. This field is intended for internal use.SignalsEndpointstring `json:"signalsEndpoint,omitempty"`// Source: Required. Immutable. Full name of the source object associated with// this discovery client.Sourcestring `json:"source,omitempty"`// State: Output only. Current state of the discovery client.//// Possible values://   "STATE_UNSPECIFIED" - Client state is unspecified.//   "ACTIVE" - Client is active.//   "OFFLINE" - Client is offline.//   "DEGRADED" - Client is in a degraded state. See the `errors` field for// details.//   "EXPIRED" - Client has expired. See the expire_time field for the expire// time.Statestring `json:"state,omitempty"`// Ttl: Optional. Input only. Client time-to-live. If specified, the backend// will not accept new frames after this time. This field is input only. The// derived expiration time is provided as output through the `expire_time`// field.Ttlstring `json:"ttl,omitempty"`// UpdateTime: Output only. Time when the discovery client was last updated.// This value is not updated by heartbeats, to view the last heartbeat time// please refer to the `heartbeat_time` field.UpdateTimestring `json:"updateTime,omitempty"`// Version: Output only. Client version, as reported in recent heartbeat.Versionstring `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DiscoveryClient: Represents an installed Migration Center Discovery Clientinstance.

func (DiscoveryClient)MarshalJSONadded inv0.173.0

func (sDiscoveryClient) MarshalJSON() ([]byte,error)

typeDiskEntry

type DiskEntry struct {// CapacityBytes: Disk capacity.CapacityBytesint64 `json:"capacityBytes,omitempty,string"`// DiskLabel: Disk label.DiskLabelstring `json:"diskLabel,omitempty"`// DiskLabelType: Disk label type (e.g. BIOS/GPT)DiskLabelTypestring `json:"diskLabelType,omitempty"`// FreeBytes: Disk free space.FreeBytesint64 `json:"freeBytes,omitempty,string"`// HwAddress: Disk hardware address (e.g. 0:1 for SCSI).HwAddressstring `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.InterfaceTypestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CapacityBytes") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DiskEntry: Single disk entry.

func (DiskEntry)MarshalJSON

func (sDiskEntry) MarshalJSON() ([]byte,error)

typeDiskEntryList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DiskEntryList: VM disks.

func (DiskEntryList)MarshalJSON

func (sDiskEntryList) MarshalJSON() ([]byte,error)

typeDiskPartition

type DiskPartition struct {// CapacityBytes: Partition capacity.CapacityBytesint64 `json:"capacityBytes,omitempty,string"`// FileSystem: Partition file system.FileSystemstring `json:"fileSystem,omitempty"`// FreeBytes: Partition free space.FreeBytesint64 `json:"freeBytes,omitempty,string"`// MountPoint: Mount point (Linux/Windows) or drive letter (Windows).MountPointstring `json:"mountPoint,omitempty"`// SubPartitions: Sub-partitions.SubPartitions *DiskPartitionList `json:"subPartitions,omitempty"`// Type: Partition type.Typestring `json:"type,omitempty"`// Uuid: Partition UUID.Uuidstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CapacityBytes") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DiskPartition: Disk Partition details.

func (DiskPartition)MarshalJSON

func (sDiskPartition) MarshalJSON() ([]byte,error)

typeDiskPartitionDetailsadded inv0.222.0

type DiskPartitionDetails struct {// FreeSpaceBytes: Output only. Total free space of all partitions.FreeSpaceBytesint64 `json:"freeSpaceBytes,omitempty,string"`// Partitions: Optional. List of partitions.Partitions *DiskPartitionList `json:"partitions,omitempty"`// TotalCapacityBytes: Output only. Total capacity of all partitions.TotalCapacityBytesint64 `json:"totalCapacityBytes,omitempty,string"`// ForceSendFields is a list of field names (e.g. "FreeSpaceBytes") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FreeSpaceBytes") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DiskPartitionDetails: Disk partition details.

func (DiskPartitionDetails)MarshalJSONadded inv0.222.0

func (sDiskPartitionDetails) MarshalJSON() ([]byte,error)

typeDiskPartitionList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DiskPartitionList: Disk partition list.

func (DiskPartitionList)MarshalJSON

func (sDiskPartitionList) MarshalJSON() ([]byte,error)

typeDiskUsageSample

type DiskUsageSample struct {// AverageIops: Optional. Average IOPS sampled over a short window. Must be// non-negative. If read or write are set, the sum of read and write will// override the value of the average_iops.AverageIopsfloat64 `json:"averageIops,omitempty"`// AverageReadIops: Optional. Average read IOPS sampled over a short window.// Must be non-negative. If both read and write are zero they are ignored.AverageReadIopsfloat64 `json:"averageReadIops,omitempty"`// AverageWriteIops: Optional. Average write IOPS sampled over a short window.// Must be non-negative. If both read and write are zero they are ignored.AverageWriteIopsfloat64 `json:"averageWriteIops,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AverageIops") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DiskUsageSample: Disk usage sample. Values are across all disks.

func (DiskUsageSample)MarshalJSON

func (sDiskUsageSample) MarshalJSON() ([]byte,error)

func (*DiskUsageSample)UnmarshalJSON

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

typeEmpty

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 definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

typeErrorFrame

type ErrorFrame struct {// IngestionTime: Output only. Frame ingestion time.IngestionTimestring `json:"ingestionTime,omitempty"`// Name: Output only. The identifier of the ErrorFrame.Namestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IngestionTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ErrorFrame: Message representing a frame which failed to be processed due toan error.

func (ErrorFrame)MarshalJSON

func (sErrorFrame) MarshalJSON() ([]byte,error)

typeExecutionReport

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.FramesReportedint64 `json:"framesReported,omitempty"`// TotalRowsCount: Output only. Total number of rows in the import job.TotalRowsCountint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExecutionErrors") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ExecutionReport: A resource that reports result of the import job execution.

func (ExecutionReport)MarshalJSON

func (sExecutionReport) MarshalJSON() ([]byte,error)

typeFileValidationReport

type FileValidationReport struct {// FileErrors: List of file level errors.FileErrors []*ImportError `json:"fileErrors,omitempty"`// FileName: The name of the file.FileNamestring `json:"fileName,omitempty"`// PartialReport: Flag indicating that processing was aborted due to maximum// number of errors.PartialReportbool `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FileErrors") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

FileValidationReport: A resource that aggregates the validation errors foundin an import job file.

func (FileValidationReport)MarshalJSON

func (sFileValidationReport) MarshalJSON() ([]byte,error)

typeFitDescriptor

type FitDescriptor struct {// FitLevel: Output only. Fit level.//// Possible values://   "FIT_LEVEL_UNSPECIFIED" - Not enough information.//   "FIT" - Fit.//   "NO_FIT" - No Fit.//   "REQUIRES_EFFORT" - Fit with effort.FitLevelstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FitLevel") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

FitDescriptor: Describes the fit level of an asset for migration to aspecific target.

func (FitDescriptor)MarshalJSON

func (sFitDescriptor) MarshalJSON() ([]byte,error)

typeFrameViolationEntry

type FrameViolationEntry struct {// Field: The field of the original frame where the violation occurred.Fieldstring `json:"field,omitempty"`// Violation: A message describing the violation.Violationstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Field") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

FrameViolationEntry: A resource that contains a single violation of areported `AssetFrame` resource.

func (FrameViolationEntry)MarshalJSON

func (sFrameViolationEntry) MarshalJSON() ([]byte,error)

typeFrames

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FramesData") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Frames: Collection of frame data.

func (Frames)MarshalJSON

func (sFrames) MarshalJSON() ([]byte,error)

typeFstabEntry

type FstabEntry struct {// File: The mount point for the filesystem.Filestring `json:"file,omitempty"`// Freq: Used by dump to determine which filesystems need to be dumped.Freqint64 `json:"freq,omitempty"`// Mntops: Mount options associated with the filesystem.Mntopsstring `json:"mntops,omitempty"`// Passno: Used by the fsck(8) program to determine the order in which// filesystem checks are done at reboot time.Passnoint64 `json:"passno,omitempty"`// Spec: The block special device or remote filesystem to be mounted.Specstring `json:"spec,omitempty"`// Vfstype: The type of the filesystem.Vfstypestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "File") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

FstabEntry: Single fstab entry.

func (FstabEntry)MarshalJSON

func (sFstabEntry) MarshalJSON() ([]byte,error)

typeFstabEntryList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

FstabEntryList: Fstab content.

func (FstabEntryList)MarshalJSON

func (sFstabEntryList) MarshalJSON() ([]byte,error)

typeGenerateReportArtifactLinkRequestadded inv0.257.0

type GenerateReportArtifactLinkRequest struct {// ArtifactType: Required. Type of the artifact requested.//// Possible values://   "ARTIFACT_TYPE_UNSPECIFIED" - Unspecified (default value).//   "PRESENTATION" - Google Slides presentation.//   "SPREADSHEET" - Google Sheets document.//   "CSV" - Comma Separated Value Text File.ArtifactTypestring `json:"artifactType,omitempty"`// ForceSendFields is a list of field names (e.g. "ArtifactType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ArtifactType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GenerateReportArtifactLinkRequest: A request to generate a link to anartifact for a Report.

func (GenerateReportArtifactLinkRequest)MarshalJSONadded inv0.257.0

func (sGenerateReportArtifactLinkRequest) MarshalJSON() ([]byte,error)

typeGenericInsightadded inv0.137.0

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.DefaultMessagestring `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.MessageIdint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdditionalInformation") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GenericInsight: A generic insight about an asset.

func (GenericInsight)MarshalJSONadded inv0.137.0

func (sGenericInsight) MarshalJSON() ([]byte,error)

typeGenericPlatformDetails

type GenericPlatformDetails struct {// Hyperthreading: Whether the machine is hyperthreaded.//// Possible values://   "HYPERTHREADING_STATUS_UNSPECIFIED" - Simultaneous Multithreading status// unknown.//   "HYPERTHREADING_STATUS_DISABLED" - Simultaneous Multithreading is disabled// or unavailable.//   "HYPERTHREADING_STATUS_ENABLED" - Simultaneous Multithreading is enabled.Hyperthreadingstring `json:"hyperthreading,omitempty"`// 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.Locationstring `json:"location,omitempty"`// ForceSendFields is a list of field names (e.g. "Hyperthreading") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hyperthreading") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GenericPlatformDetails: Generic platform details.

func (GenericPlatformDetails)MarshalJSON

func (sGenericPlatformDetails) MarshalJSON() ([]byte,error)

typeGroup

type Group struct {// CreateTime: Output only. The timestamp when the group was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. The description of the group.Descriptionstring `json:"description,omitempty"`// DisplayName: Optional. User-friendly display name.DisplayNamestring `json:"displayName,omitempty"`// Labels: Labels as key value pairs.Labels map[string]string `json:"labels,omitempty"`// Name: Output only. The name of the group.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the group was last updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Group: A resource that represents an asset group. The purpose of an assetgroup is to bundle a set of assets that have something in common, whileallowing users to add annotations to the group. An asset can belong tomultiple groups.

func (Group)MarshalJSON

func (sGroup) MarshalJSON() ([]byte,error)

typeGuestConfigDetails

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).Issuestring `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.SelinuxModestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Fstab") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GuestConfigDetails: Guest OS config information.

func (GuestConfigDetails)MarshalJSON

func (sGuestConfigDetails) MarshalJSON() ([]byte,error)

typeGuestInstalledApplication

type GuestInstalledApplication struct {// ApplicationName: Installed application name.ApplicationNamestring `json:"applicationName,omitempty"`// InstallTime: The time when the application was installed.InstallTimestring `json:"installTime,omitempty"`// Licenses: License strings associated with the installed application.Licenses []string `json:"licenses,omitempty"`// Path: Source path.Pathstring `json:"path,omitempty"`// Vendor: Installed application vendor.Vendorstring `json:"vendor,omitempty"`// Version: Installed application version.Versionstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApplicationName") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GuestInstalledApplication: Guest installed application information.

func (GuestInstalledApplication)MarshalJSON

func (sGuestInstalledApplication) MarshalJSON() ([]byte,error)

typeGuestInstalledApplicationList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GuestInstalledApplicationList: Guest installed application list.

func (GuestInstalledApplicationList)MarshalJSON

func (sGuestInstalledApplicationList) MarshalJSON() ([]byte,error)

typeGuestOsDetails

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.Familystring `json:"family,omitempty"`// OsName: The name of the operating system.OsNamestring `json:"osName,omitempty"`// Runtime: Runtime information.Runtime *GuestRuntimeDetails `json:"runtime,omitempty"`// Version: The version of the operating system.Versionstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Config") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GuestOsDetails: Information from Guest-level collections.

func (GuestOsDetails)MarshalJSON

func (sGuestOsDetails) MarshalJSON() ([]byte,error)

typeGuestRuntimeDetails

type GuestRuntimeDetails struct {// Domain: Domain, e.g. c.stratozone-development.internal.Domainstring `json:"domain,omitempty"`// InstalledApps: Installed applications information.InstalledApps *GuestInstalledApplicationList `json:"installedApps,omitempty"`// LastBootTime: Last time the OS was booted.LastBootTimestring `json:"lastBootTime,omitempty"`// MachineName: Machine name.MachineNamestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Domain") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GuestRuntimeDetails: Guest OS runtime information.

func (GuestRuntimeDetails)MarshalJSON

func (sGuestRuntimeDetails) MarshalJSON() ([]byte,error)

typeHostsEntry

type HostsEntry struct {// HostNames: List of host names / aliases.HostNames []string `json:"hostNames,omitempty"`// Ip: IP (raw, IPv4/6 agnostic).Ipstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HostNames") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

HostsEntry: Single /etc/hosts entry.

func (HostsEntry)MarshalJSON

func (sHostsEntry) MarshalJSON() ([]byte,error)

typeHostsEntryList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

HostsEntryList: Hosts content.

func (HostsEntryList)MarshalJSON

func (sHostsEntryList) MarshalJSON() ([]byte,error)

typeImportDataFile

type ImportDataFile struct {// CreateTime: Output only. The timestamp when the file was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: User-friendly display name. Maximum length is 63 characters.DisplayNamestring `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.//   "IMPORT_JOB_FORMAT_DATABASE_ZIP" - ZIP file with nested CSV files// generated by a database collector.Formatstring `json:"format,omitempty"`// Name: Output only. The name of the file.Namestring `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.Statestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImportDataFile: A resource that represents a payload file in an import job.

func (ImportDataFile)MarshalJSON

func (sImportDataFile) MarshalJSON() ([]byte,error)

typeImportError

type ImportError struct {// ErrorDetails: The error information.ErrorDetailsstring `json:"errorDetails,omitempty"`// Severity: The severity of the error.//// Possible values://   "SEVERITY_UNSPECIFIED"//   "ERROR"//   "WARNING"//   "INFO"Severitystring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ErrorDetails") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImportError: A resource that reports the errors encountered while processingan import job.

func (ImportError)MarshalJSON

func (sImportError) MarshalJSON() ([]byte,error)

typeImportJob

type ImportJob struct {// AssetSource: Required. Reference to a source.AssetSourcestring `json:"assetSource,omitempty"`// CompleteTime: Output only. The timestamp when the import job was completed.CompleteTimestring `json:"completeTime,omitempty"`// CreateTime: Output only. The timestamp when the import job was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. User-friendly display name. Maximum length is 256// characters.DisplayNamestring `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.Namestring `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.Statestring `json:"state,omitempty"`// UpdateTime: Output only. The timestamp when the import job was last updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssetSource") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImportJob: A resource that represents the background job that imports assetframes.

func (ImportJob)MarshalJSON

func (sImportJob) MarshalJSON() ([]byte,error)

typeImportRowError

type ImportRowError struct {// ArchiveError: Error details for an archive file.ArchiveError *ImportRowErrorArchiveErrorDetails `json:"archiveError,omitempty"`// AssetTitle: Output only. The asset title.AssetTitlestring `json:"assetTitle,omitempty"`// CsvError: Error details for a CSV file.CsvError *ImportRowErrorCsvErrorDetails `json:"csvError,omitempty"`// Errors: The list of errors detected in the row.Errors []*ImportError `json:"errors,omitempty"`// RowNumber: The row number where the error was detected.RowNumberint64 `json:"rowNumber,omitempty"`// VmName: The name of the VM in the row.VmNamestring `json:"vmName,omitempty"`// VmUuid: The VM UUID.VmUuidstring `json:"vmUuid,omitempty"`// XlsxError: Error details for an XLSX file.XlsxError *ImportRowErrorXlsxErrorDetails `json:"xlsxError,omitempty"`// ForceSendFields is a list of field names (e.g. "ArchiveError") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ArchiveError") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImportRowError: A resource that reports the import job errors at row level.

func (ImportRowError)MarshalJSON

func (sImportRowError) MarshalJSON() ([]byte,error)

typeImportRowErrorArchiveErrorDetailsadded inv0.210.0

type ImportRowErrorArchiveErrorDetails struct {// CsvError: Error details for a CSV file.CsvError *ImportRowErrorCsvErrorDetails `json:"csvError,omitempty"`// FilePath: Output only. The file path inside the archive where the error was// detected.FilePathstring `json:"filePath,omitempty"`// ForceSendFields is a list of field names (e.g. "CsvError") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CsvError") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImportRowErrorArchiveErrorDetails: Error details for an archive file.

func (ImportRowErrorArchiveErrorDetails)MarshalJSONadded inv0.210.0

func (sImportRowErrorArchiveErrorDetails) MarshalJSON() ([]byte,error)

typeImportRowErrorCsvErrorDetailsadded inv0.196.0

type ImportRowErrorCsvErrorDetails struct {// RowNumber: The row number where the error was detected.RowNumberint64 `json:"rowNumber,omitempty"`// ForceSendFields is a list of field names (e.g. "RowNumber") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RowNumber") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImportRowErrorCsvErrorDetails: Error details for a CSV file.

func (ImportRowErrorCsvErrorDetails)MarshalJSONadded inv0.196.0

func (sImportRowErrorCsvErrorDetails) MarshalJSON() ([]byte,error)

typeImportRowErrorXlsxErrorDetailsadded inv0.196.0

type ImportRowErrorXlsxErrorDetails struct {// RowNumber: The row number where the error was detected.RowNumberint64 `json:"rowNumber,omitempty"`// Sheet: The name of the sheet where the error was detected.Sheetstring `json:"sheet,omitempty"`// ForceSendFields is a list of field names (e.g. "RowNumber") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RowNumber") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImportRowErrorXlsxErrorDetails: Error details for an XLSX file.

func (ImportRowErrorXlsxErrorDetails)MarshalJSONadded inv0.196.0

func (sImportRowErrorXlsxErrorDetails) MarshalJSON() ([]byte,error)

typeInsight

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GenericInsight") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Insight: An insight about an asset.

func (Insight)MarshalJSON

func (sInsight) MarshalJSON() ([]byte,error)

typeInsightList

type InsightList struct {// Insights: Output only. Insights of the list.Insights []*Insight `json:"insights,omitempty"`// UpdateTime: Output only. Update timestamp.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Insights") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

InsightList: Message containing insights list.

func (InsightList)MarshalJSON

func (sInsightList) MarshalJSON() ([]byte,error)

typeListAssetsResponse

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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Assets") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Assets") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListAssetsResponse: Response message for listing assets.

func (ListAssetsResponse)MarshalJSON

func (sListAssetsResponse) MarshalJSON() ([]byte,error)

typeListDiscoveryClientsResponseadded inv0.173.0

type ListDiscoveryClientsResponse struct {// DiscoveryClients: List of discovery clients.DiscoveryClients []*DiscoveryClient `json:"discoveryClients,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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DiscoveryClients") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DiscoveryClients") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListDiscoveryClientsResponse: Response message for listing discoveryclients.

func (ListDiscoveryClientsResponse)MarshalJSONadded inv0.173.0

func (sListDiscoveryClientsResponse) MarshalJSON() ([]byte,error)

typeListErrorFramesResponse

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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ErrorFrames") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ErrorFrames") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListErrorFramesResponse: A response for listing error frames.

func (ListErrorFramesResponse)MarshalJSON

func (sListErrorFramesResponse) MarshalJSON() ([]byte,error)

typeListGroupsResponse

type ListGroupsResponse struct {// Groups: The list of GroupGroups []*Group `json:"groups,omitempty"`// NextPageToken: A token identifying a page of results the server should// return.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Groups") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Groups") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListGroupsResponse: A response for listing groups.

func (ListGroupsResponse)MarshalJSON

func (sListGroupsResponse) MarshalJSON() ([]byte,error)

typeListImportDataFilesResponse

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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ImportDataFiles") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ImportDataFiles") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListImportDataFilesResponse: Response for listing payload files of an importjob.

func (ListImportDataFilesResponse)MarshalJSON

func (sListImportDataFilesResponse) MarshalJSON() ([]byte,error)

typeListImportJobsResponse

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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ImportJobs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ImportJobs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListImportJobsResponse: A response for listing import jobs.

func (ListImportJobsResponse)MarshalJSON

func (sListImportJobsResponse) MarshalJSON() ([]byte,error)

typeListLocationsResponse

type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListLocationsResponse: The response message for Locations.ListLocations.

func (ListLocationsResponse)MarshalJSON

func (sListLocationsResponse) MarshalJSON() ([]byte,error)

typeListOperationsResponse

type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListOperationsResponse: The response message for Operations.ListOperations.

func (ListOperationsResponse)MarshalJSON

func (sListOperationsResponse) MarshalJSON() ([]byte,error)

typeListPreferenceSetsResponse

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

ListPreferenceSetsResponse: Response message for listing preference sets.

func (ListPreferenceSetsResponse)MarshalJSON

func (sListPreferenceSetsResponse) MarshalJSON() ([]byte,error)

typeListRelationsResponseadded inv0.218.0

type ListRelationsResponse struct {// NextPageToken: A token identifying a page of results the server should// return.NextPageTokenstring `json:"nextPageToken,omitempty"`// Relations: A list of relations.Relations []*Relation `json:"relations,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListRelationsResponse: Response message for listing relations.

func (ListRelationsResponse)MarshalJSONadded inv0.218.0

func (sListRelationsResponse) MarshalJSON() ([]byte,error)

typeListReportConfigsResponse

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

ListReportConfigsResponse: Response message for listing report configs.

func (ListReportConfigsResponse)MarshalJSON

func (sListReportConfigsResponse) MarshalJSON() ([]byte,error)

typeListReportsResponse

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

ListReportsResponse: Response message for listing Reports.

func (ListReportsResponse)MarshalJSON

func (sListReportsResponse) MarshalJSON() ([]byte,error)

typeListSourcesResponse

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

ListSourcesResponse: Response message for listing sources.

func (ListSourcesResponse)MarshalJSON

func (sListSourcesResponse) MarshalJSON() ([]byte,error)

typeLocation

type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Location: A resource that represents a Google Cloud location.

func (Location)MarshalJSON

func (sLocation) MarshalJSON() ([]byte,error)

typeMachineArchitectureDetails

type MachineArchitectureDetails struct {// Bios: BIOS Details.Bios *BiosDetails `json:"bios,omitempty"`// CpuArchitecture: CPU architecture, e.g., "x64-based PC", "x86_64", "i686"// etc.CpuArchitecturestring `json:"cpuArchitecture,omitempty"`// CpuManufacturer: Optional. CPU manufacturer, e.g., "Intel", "AMD".CpuManufacturerstring `json:"cpuManufacturer,omitempty"`// CpuName: CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.CpuNamestring `json:"cpuName,omitempty"`// CpuSocketCount: Number of processor sockets allocated to the machine.CpuSocketCountint64 `json:"cpuSocketCount,omitempty"`// CpuThreadCount: Deprecated: use MachineDetails.core_count instead. Number of// CPU threads allocated to the machine.CpuThreadCountint64 `json:"cpuThreadCount,omitempty"`// FirmwareType: Firmware type.//// Possible values://   "FIRMWARE_TYPE_UNSPECIFIED" - Unspecified or unknown.//   "BIOS" - BIOS firmware.//   "EFI" - EFI firmware.FirmwareTypestring `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.Hyperthreadingstring `json:"hyperthreading,omitempty"`// Vendor: Hardware vendor.Vendorstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Bios") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MachineArchitectureDetails: Details of the machine architecture.

func (MachineArchitectureDetails)MarshalJSON

func (sMachineArchitectureDetails) MarshalJSON() ([]byte,error)

typeMachineDetails

type MachineDetails struct {// Architecture: Architecture details (vendor, CPU architecture).Architecture *MachineArchitectureDetails `json:"architecture,omitempty"`// CoreCount: Number of logical CPU cores in the machine. Must be non-negative.CoreCountint64 `json:"coreCount,omitempty"`// CreateTime: Machine creation time.CreateTimestring `json:"createTime,omitempty"`// DiskPartitions: Optional. Disk partitions details. Note: Partitions are not// necessarily mounted on local disks and therefore might not have a one-to-one// correspondence with local disks.DiskPartitions *DiskPartitionDetails `json:"diskPartitions,omitempty"`// Disks: Disk details.Disks *MachineDiskDetails `json:"disks,omitempty"`// GuestOs: Guest OS information.GuestOs *GuestOsDetails `json:"guestOs,omitempty"`// MachineName: Machine name.MachineNamestring `json:"machineName,omitempty"`// MemoryMb: The amount of memory in the machine. Must be non-negative.MemoryMbint64 `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.PowerStatestring `json:"powerState,omitempty"`// Uuid: Machine unique identifier.Uuidstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Architecture") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MachineDetails: Details of a machine.

func (MachineDetails)MarshalJSON

func (sMachineDetails) MarshalJSON() ([]byte,error)

typeMachineDiskDetails

type MachineDiskDetails struct {// Disks: List of disks.Disks *DiskEntryList `json:"disks,omitempty"`// TotalCapacityBytes: Disk total Capacity.TotalCapacityBytesint64 `json:"totalCapacityBytes,omitempty,string"`// TotalFreeBytes: Total disk free space.TotalFreeBytesint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Disks") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MachineDiskDetails: Details of machine disks.

func (MachineDiskDetails)MarshalJSON

func (sMachineDiskDetails) MarshalJSON() ([]byte,error)

typeMachineNetworkDetails

type MachineNetworkDetails struct {// Adapters: List of network adapters.Adapters *NetworkAdapterList `json:"adapters,omitempty"`// DefaultGateway: Optional. Default gateway address.DefaultGatewaystring `json:"defaultGateway,omitempty"`// PrimaryIpAddress: The primary IP address of the machine.PrimaryIpAddressstring `json:"primaryIpAddress,omitempty"`// PrimaryMacAddress: MAC address of the machine. This property is used to// uniqly identify the machine.PrimaryMacAddressstring `json:"primaryMacAddress,omitempty"`// PublicIpAddress: The public IP address of the machine.PublicIpAddressstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Adapters") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MachineNetworkDetails: Details of network adapters and settings.

func (MachineNetworkDetails)MarshalJSON

func (sMachineNetworkDetails) MarshalJSON() ([]byte,error)

typeMachinePreferences

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowedMachineSeries") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MachinePreferences: The type of machines to consider when calculatingvirtual machine migration insights and recommendations. Not all machinetypes are available in all zones and regions.

func (MachinePreferences)MarshalJSON

func (sMachinePreferences) MarshalJSON() ([]byte,error)

typeMachineSeries

type MachineSeries struct {// Code: Code to identify a machine series. Consult this for more details on// the available series for Compute Engine://https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison// Consult this for more details on the available series for Google Cloud// VMware Engine:https://cloud.google.com/vmware-engine/pricingCodestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MachineSeries: A machine series, for a target product (e.g. Compute Engine,Google Cloud VMware Engine).

func (MachineSeries)MarshalJSON

func (sMachineSeries) MarshalJSON() ([]byte,error)

typeMemoryUsageSample

type MemoryUsageSample struct {// UtilizedPercentage: Percentage of system memory utilized. Must be in the// interval [0, 100].UtilizedPercentagefloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "UtilizedPercentage") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MemoryUsageSample: Memory usage sample.

func (MemoryUsageSample)MarshalJSON

func (sMemoryUsageSample) MarshalJSON() ([]byte,error)

func (*MemoryUsageSample)UnmarshalJSON

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

typeMigrationInsight

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ComputeEngineTarget") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MigrationInsight: An insight about potential migrations for an asset.

func (MigrationInsight)MarshalJSON

func (sMigrationInsight) MarshalJSON() ([]byte,error)

typeMoney

type Money struct {// CurrencyCode: The three-letter currency code defined in ISO 4217.CurrencyCodestring `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.Nanosint64 `json:"nanos,omitempty"`// Units: The whole units of the amount. For example if `currencyCode` is// "USD", then 1 unit is one US dollar.Unitsint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrencyCode") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Money: Represents an amount of money with its currency type.

func (Money)MarshalJSON

func (sMoney) MarshalJSON() ([]byte,error)

typeMySqlPluginadded inv0.210.0

type MySqlPlugin struct {// Enabled: Required. The plugin is active.Enabledbool `json:"enabled,omitempty"`// Plugin: Required. The plugin name.Pluginstring `json:"plugin,omitempty"`// Version: Required. The plugin version.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MySqlPlugin: MySql plugin.

func (MySqlPlugin)MarshalJSONadded inv0.210.0

func (sMySqlPlugin) MarshalJSON() ([]byte,error)

typeMySqlPropertyadded inv0.210.0

type MySqlProperty struct {// Enabled: Required. The property is enabled.Enabledbool `json:"enabled,omitempty"`// NumericValue: Required. The property numeric value.NumericValueint64 `json:"numericValue,omitempty,string"`// Property: Required. The property name.Propertystring `json:"property,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MySqlProperty: MySql property.

func (MySqlProperty)MarshalJSONadded inv0.210.0

func (sMySqlProperty) MarshalJSON() ([]byte,error)

typeMySqlSchemaDetailsadded inv0.210.0

type MySqlSchemaDetails struct {// StorageEngines: Optional. Mysql storage engine tables.StorageEngines []*MySqlStorageEngineDetails `json:"storageEngines,omitempty"`// ForceSendFields is a list of field names (e.g. "StorageEngines") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "StorageEngines") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MySqlSchemaDetails: Specific details for a Mysql database.

func (MySqlSchemaDetails)MarshalJSONadded inv0.210.0

func (sMySqlSchemaDetails) MarshalJSON() ([]byte,error)

typeMySqlStorageEngineDetailsadded inv0.210.0

type MySqlStorageEngineDetails struct {// EncryptedTableCount: Optional. The number of encrypted tables.EncryptedTableCountint64 `json:"encryptedTableCount,omitempty"`// Engine: Required. The storage engine.//// Possible values://   "ENGINE_UNSPECIFIED" - Unspecified storage engine.//   "INNODB" - InnoDB.//   "MYISAM" - MyISAM.//   "MEMORY" - Memory.//   "CSV" - CSV.//   "ARCHIVE" - Archive.//   "BLACKHOLE" - Blackhole.//   "NDB" - NDB.//   "MERGE" - Merge.//   "FEDERATED" - Federated.//   "EXAMPLE" - Example.//   "OTHER" - Other.Enginestring `json:"engine,omitempty"`// TableCount: Optional. The number of tables.TableCountint64 `json:"tableCount,omitempty"`// ForceSendFields is a list of field names (e.g. "EncryptedTableCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EncryptedTableCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MySqlStorageEngineDetails: Mysql storage engine tables.

func (MySqlStorageEngineDetails)MarshalJSONadded inv0.210.0

func (sMySqlStorageEngineDetails) MarshalJSON() ([]byte,error)

typeMySqlVariableadded inv0.210.0

type MySqlVariable struct {// Category: Required. The variable category.Categorystring `json:"category,omitempty"`// Value: Required. The variable value.Valuestring `json:"value,omitempty"`// Variable: Required. The variable name.Variablestring `json:"variable,omitempty"`// ForceSendFields is a list of field names (e.g. "Category") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Category") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MySqlVariable: MySql variable.

func (MySqlVariable)MarshalJSONadded inv0.210.0

func (sMySqlVariable) MarshalJSON() ([]byte,error)

typeMysqlDatabaseDeploymentadded inv0.210.0

type MysqlDatabaseDeployment struct {// Plugins: Optional. List of MySql plugins.Plugins []*MySqlPlugin `json:"plugins,omitempty"`// Properties: Optional. List of MySql properties.Properties []*MySqlProperty `json:"properties,omitempty"`// ResourceGroupsCount: Optional. Number of resource groups.ResourceGroupsCountint64 `json:"resourceGroupsCount,omitempty"`// Variables: Optional. List of MySql variables.Variables []*MySqlVariable `json:"variables,omitempty"`// ForceSendFields is a list of field names (e.g. "Plugins") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Plugins") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MysqlDatabaseDeployment: Specific details for a Mysql database deployment.

func (MysqlDatabaseDeployment)MarshalJSONadded inv0.210.0

func (sMysqlDatabaseDeployment) MarshalJSON() ([]byte,error)

typeNetworkAdapterDetails

type NetworkAdapterDetails struct {// AdapterType: Network adapter type (e.g. VMXNET3).AdapterTypestring `json:"adapterType,omitempty"`// Addresses: NetworkAddressListAddresses *NetworkAddressList `json:"addresses,omitempty"`// MacAddress: MAC address.MacAddressstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdapterType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NetworkAdapterDetails: Details of network adapter.

func (NetworkAdapterDetails)MarshalJSON

func (sNetworkAdapterDetails) MarshalJSON() ([]byte,error)

typeNetworkAdapterList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NetworkAdapterList: List of network adapters.

func (NetworkAdapterList)MarshalJSON

func (sNetworkAdapterList) MarshalJSON() ([]byte,error)

typeNetworkAddress

type NetworkAddress struct {// Assignment: Whether DHCP is used to assign addresses.//// Possible values://   "ADDRESS_ASSIGNMENT_UNSPECIFIED" - Unknown (default value).//   "ADDRESS_ASSIGNMENT_STATIC" - Statically assigned IP.//   "ADDRESS_ASSIGNMENT_DHCP" - Dynamically assigned IP (DHCP).Assignmentstring `json:"assignment,omitempty"`// Bcast: Broadcast address.Bcaststring `json:"bcast,omitempty"`// Fqdn: Fully qualified domain name.Fqdnstring `json:"fqdn,omitempty"`// IpAddress: Assigned or configured IP Address.IpAddressstring `json:"ipAddress,omitempty"`// SubnetMask: Subnet mask.SubnetMaskstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Assignment") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NetworkAddress: Details of network address.

func (NetworkAddress)MarshalJSON

func (sNetworkAddress) MarshalJSON() ([]byte,error)

typeNetworkAddressList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NetworkAddressList: List of allocated/assigned network addresses.

func (NetworkAddressList)MarshalJSON

func (sNetworkAddressList) MarshalJSON() ([]byte,error)

typeNetworkConnection

type NetworkConnection struct {// LocalIpAddress: Local IP address.LocalIpAddressstring `json:"localIpAddress,omitempty"`// LocalPort: Local port.LocalPortint64 `json:"localPort,omitempty"`// Pid: Process ID.Pidint64 `json:"pid,omitempty,string"`// ProcessName: Process or service name.ProcessNamestring `json:"processName,omitempty"`// Protocol: Connection protocol (e.g. TCP/UDP).Protocolstring `json:"protocol,omitempty"`// RemoteIpAddress: Remote IP address.RemoteIpAddressstring `json:"remoteIpAddress,omitempty"`// RemotePort: Remote port.RemotePortint64 `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.Statestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LocalIpAddress") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

func (NetworkConnection)MarshalJSON

func (sNetworkConnection) MarshalJSON() ([]byte,error)

typeNetworkConnectionList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NetworkConnectionList: Network connection list.

func (NetworkConnectionList)MarshalJSON

func (sNetworkConnectionList) MarshalJSON() ([]byte,error)

typeNetworkUsageSample

type NetworkUsageSample struct {// AverageEgressBps: Average network egress in B/s sampled over a short window.// Must be non-negative.AverageEgressBpsfloat64 `json:"averageEgressBps,omitempty"`// AverageIngressBps: Average network ingress in B/s sampled over a short// window. Must be non-negative.AverageIngressBpsfloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AverageEgressBps") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NetworkUsageSample: Network usage sample. Values are across all networkinterfaces.

func (NetworkUsageSample)MarshalJSON

func (sNetworkUsageSample) MarshalJSON() ([]byte,error)

func (*NetworkUsageSample)UnmarshalJSON

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

typeNfsExport

type NfsExport struct {// ExportDirectory: The directory being exported.ExportDirectorystring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExportDirectory") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NfsExport: NFS export.

func (NfsExport)MarshalJSON

func (sNfsExport) MarshalJSON() ([]byte,error)

typeNfsExportList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NfsExportList: NFS exports.

func (NfsExportList)MarshalJSON

func (sNfsExportList) MarshalJSON() ([]byte,error)

typeOpenFileDetails

type OpenFileDetails struct {// Command: Opened file command.Commandstring `json:"command,omitempty"`// FilePath: Opened file file path.FilePathstring `json:"filePath,omitempty"`// FileType: Opened file file type.FileTypestring `json:"fileType,omitempty"`// User: Opened file user.Userstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Command") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OpenFileDetails: Open file Information.

func (OpenFileDetails)MarshalJSON

func (sOpenFileDetails) MarshalJSON() ([]byte,error)

typeOpenFileList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OpenFileList: Open file list.

func (OpenFileList)MarshalJSON

func (sOpenFileList) MarshalJSON() ([]byte,error)

typeOperation

type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Operation: This resource represents a long-running operation that is theresult of a network API call.

func (Operation)MarshalJSON

func (sOperation) MarshalJSON() ([]byte,error)

typeOperationMetadata

type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have been cancelled// successfully have Operation.error value with a google.rpc.Status.code of 1,// corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OperationMetadata: Represents the metadata of the long-running operation.

func (OperationMetadata)MarshalJSON

func (sOperationMetadata) MarshalJSON() ([]byte,error)

typePerformanceSample

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.SampleTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Cpu") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PerformanceSample: Performance data sample.

func (PerformanceSample)MarshalJSON

func (sPerformanceSample) MarshalJSON() ([]byte,error)

typePhysicalPlatformDetails

type PhysicalPlatformDetails struct {// Hyperthreading: Whether the machine is hyperthreaded.//// Possible values://   "HYPERTHREADING_STATUS_UNSPECIFIED" - Simultaneous Multithreading status// unknown.//   "HYPERTHREADING_STATUS_DISABLED" - Simultaneous Multithreading is disabled// or unavailable.//   "HYPERTHREADING_STATUS_ENABLED" - Simultaneous Multithreading is enabled.Hyperthreadingstring `json:"hyperthreading,omitempty"`// 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.Locationstring `json:"location,omitempty"`// ForceSendFields is a list of field names (e.g. "Hyperthreading") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hyperthreading") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PhysicalPlatformDetails: Platform specific details for Physical Machines.

func (PhysicalPlatformDetails)MarshalJSON

func (sPhysicalPlatformDetails) MarshalJSON() ([]byte,error)

typePlatformDetails

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AwsEc2Details") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PlatformDetails: Information about the platform.

func (PlatformDetails)MarshalJSON

func (sPlatformDetails) MarshalJSON() ([]byte,error)

typePostgreSqlDatabaseDeploymentadded inv0.210.0

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

PostgreSqlDatabaseDeployment: Specific details for a PostgreSQL databasedeployment.

func (PostgreSqlDatabaseDeployment)MarshalJSONadded inv0.210.0

func (sPostgreSqlDatabaseDeployment) MarshalJSON() ([]byte,error)

typePostgreSqlExtensionadded inv0.210.0

type PostgreSqlExtension struct {// Extension: Required. The extension name.Extensionstring `json:"extension,omitempty"`// Version: Required. The extension version.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Extension") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Extension") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PostgreSqlExtension: PostgreSql extension.

func (PostgreSqlExtension)MarshalJSONadded inv0.210.0

func (sPostgreSqlExtension) MarshalJSON() ([]byte,error)

typePostgreSqlPropertyadded inv0.210.0

type PostgreSqlProperty struct {// Enabled: Required. The property is enabled.Enabledbool `json:"enabled,omitempty"`// NumericValue: Required. The property numeric value.NumericValueint64 `json:"numericValue,omitempty,string"`// Property: Required. The property name.Propertystring `json:"property,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PostgreSqlProperty: PostgreSql property.

func (PostgreSqlProperty)MarshalJSONadded inv0.210.0

func (sPostgreSqlProperty) MarshalJSON() ([]byte,error)

typePostgreSqlSchemaDetailsadded inv0.210.0

type PostgreSqlSchemaDetails struct {// ForeignTablesCount: Optional. PostgreSql foreign tables.ForeignTablesCountint64 `json:"foreignTablesCount,omitempty"`// PostgresqlExtensions: Optional. PostgreSql extensions.PostgresqlExtensions []*PostgreSqlExtension `json:"postgresqlExtensions,omitempty"`// ForceSendFields is a list of field names (e.g. "ForeignTablesCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ForeignTablesCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PostgreSqlSchemaDetails: Specific details for a PostgreSql schema.

func (PostgreSqlSchemaDetails)MarshalJSONadded inv0.210.0

func (sPostgreSqlSchemaDetails) MarshalJSON() ([]byte,error)

typePostgreSqlSettingadded inv0.210.0

type PostgreSqlSetting struct {// BoolValue: Required. The setting boolean value.BoolValuebool `json:"boolValue,omitempty"`// IntValue: Required. The setting int value.IntValueint64 `json:"intValue,omitempty,string"`// RealValue: Required. The setting real value.RealValuefloat64 `json:"realValue,omitempty"`// Setting: Required. The setting name.Settingstring `json:"setting,omitempty"`// Source: Required. The setting source.Sourcestring `json:"source,omitempty"`// StringValue: Required. The setting string value. Notice that enum values are// stored as strings.StringValuestring `json:"stringValue,omitempty"`// Unit: Optional. The setting unit.Unitstring `json:"unit,omitempty"`// ForceSendFields is a list of field names (e.g. "BoolValue") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BoolValue") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PostgreSqlSetting: PostgreSql setting.

func (PostgreSqlSetting)MarshalJSONadded inv0.210.0

func (sPostgreSqlSetting) MarshalJSON() ([]byte,error)

func (*PostgreSqlSetting)UnmarshalJSONadded inv0.210.0

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

typePreferenceSet

type PreferenceSet struct {// CreateTime: Output only. The timestamp when the preference set was created.CreateTimestring `json:"createTime,omitempty"`// Description: A description of the preference set.Descriptionstring `json:"description,omitempty"`// DisplayName: User-friendly display name. Maximum length is 63 characters.DisplayNamestring `json:"displayName,omitempty"`// Name: Output only. Name of the preference set.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the preference set was last// updated.UpdateTimestring `json:"updateTime,omitempty"`// VirtualMachinePreferences: Optional. 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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PreferenceSet: The preferences that apply to all assets in a given context.

func (PreferenceSet)MarshalJSON

func (sPreferenceSet) MarshalJSON() ([]byte,error)

typeProjectsLocationsAssetsAggregateValuesCall

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

func (*ProjectsLocationsAssetsAggregateValuesCall)Context

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

func (*ProjectsLocationsAssetsAggregateValuesCall)Do

Do executes the "migrationcenter.projects.locations.assets.aggregateValues" call.Any non-2xx status code is an error. Response headers are in either*AggregateAssetsValuesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAssetsAggregateValuesCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsAggregateValuesCall)Header

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

typeProjectsLocationsAssetsBatchDeleteCall

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

func (*ProjectsLocationsAssetsBatchDeleteCall)Context

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

func (*ProjectsLocationsAssetsBatchDeleteCall)Do

Do executes the "migrationcenter.projects.locations.assets.batchDelete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsBatchDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsBatchDeleteCall)Header

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

typeProjectsLocationsAssetsBatchUpdateCall

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

func (*ProjectsLocationsAssetsBatchUpdateCall)Context

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

func (*ProjectsLocationsAssetsBatchUpdateCall)Do

Do executes the "migrationcenter.projects.locations.assets.batchUpdate" call.Any non-2xx status code is an error. Response headers are in either*BatchUpdateAssetsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAssetsBatchUpdateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsBatchUpdateCall)Header

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

typeProjectsLocationsAssetsDeleteCall

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

func (*ProjectsLocationsAssetsDeleteCall)Context

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

func (*ProjectsLocationsAssetsDeleteCall)Do

Do executes the "migrationcenter.projects.locations.assets.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsDeleteCall)Header

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

func (*ProjectsLocationsAssetsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsAssetsGetCall

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

func (*ProjectsLocationsAssetsGetCall)Context

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

func (*ProjectsLocationsAssetsGetCall)Do

Do executes the "migrationcenter.projects.locations.assets.get" call.Any non-2xx status code is an error. Response headers are in either*Asset.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsGetCall)Header

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

func (*ProjectsLocationsAssetsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAssetsGetCall)View

View sets the optional parameter "view": View of the assets. Defaults toBASIC.

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.

"ASSET_VIEW_STANDARD" - The asset view includes the standard metadata of

an asset.

"ASSET_VIEW_UI" - The asset view includes fields needed by UI."ASSET_VIEW_LABELS" - The asset view includes asset name and labels.

typeProjectsLocationsAssetsListCall

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

func (*ProjectsLocationsAssetsListCall)Context

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

func (*ProjectsLocationsAssetsListCall)Do

Do executes the "migrationcenter.projects.locations.assets.list" call.Any non-2xx status code is an error. Response headers are in either*ListAssetsResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsAssetsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsAssetsListCall)Header

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

func (*ProjectsLocationsAssetsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAssetsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsAssetsListCall)PageSize

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

func (*ProjectsLocationsAssetsListCall)PageToken

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

func (*ProjectsLocationsAssetsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsAssetsListCall)ShowHiddenadded inv0.232.0

ShowHidden sets the optional parameter "showHidden": When this value is setto 'true,' the response will include all assets, including those that arehidden.

func (*ProjectsLocationsAssetsListCall)View

View sets the optional parameter "view": View of the assets. Defaults toBASIC.

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.

"ASSET_VIEW_STANDARD" - The asset view includes the standard metadata of

an asset.

"ASSET_VIEW_UI" - The asset view includes fields needed by UI."ASSET_VIEW_LABELS" - The asset view includes asset name and labels.

typeProjectsLocationsAssetsPatchCall

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

func (*ProjectsLocationsAssetsPatchCall)Context

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

func (*ProjectsLocationsAssetsPatchCall)Do

Do executes the "migrationcenter.projects.locations.assets.patch" call.Any non-2xx status code is an error. Response headers are in either*Asset.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsPatchCall)Header

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

func (*ProjectsLocationsAssetsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAssetsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Asset` resource by theupdate. The values specified in the `update_mask` field are relative to theresource, not the full request. A field will be overwritten if it is in themask. A single * value in the mask lets you to overwrite all fields.

typeProjectsLocationsAssetsReportAssetFramesCall

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

func (*ProjectsLocationsAssetsReportAssetFramesCall)Context

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

func (*ProjectsLocationsAssetsReportAssetFramesCall)Do

Do executes the "migrationcenter.projects.locations.assets.reportAssetFrames" call.Any non-2xx status code is an error. Response headers are in either*ReportAssetFramesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAssetsReportAssetFramesCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAssetsReportAssetFramesCall)Header

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

func (*ProjectsLocationsAssetsReportAssetFramesCall)Source

Source sets the optional parameter "source": Required. Reference to asource.

typeProjectsLocationsAssetsService

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

funcNewProjectsLocationsAssetsService

func NewProjectsLocationsAssetsService(s *Service) *ProjectsLocationsAssetsService

func (*ProjectsLocationsAssetsService)AggregateValues

AggregateValues: Aggregates the requested fields based on provided function.

- parent: Parent value for `AggregateAssetsValuesRequest`.

func (*ProjectsLocationsAssetsService)BatchDelete

BatchDelete: Deletes list of Assets.

- parent: Parent value for batch asset delete.

func (*ProjectsLocationsAssetsService)BatchUpdate

BatchUpdate: Updates the parameters of a list of assets.

- parent: Parent value for batch asset update.

func (*ProjectsLocationsAssetsService)Delete

Delete: Deletes an asset.

- name: Name of the resource.

func (*ProjectsLocationsAssetsService)Get

Get: Gets the details of an asset.

- name: Name of the resource.

func (*ProjectsLocationsAssetsService)List

List: Lists all the assets in a given project and location.

- parent: Parent value for `ListAssetsRequest`.

func (*ProjectsLocationsAssetsService)Patch

Patch: Updates the parameters of an asset.

- name: Output only. The full name of the asset.

func (*ProjectsLocationsAssetsService)ReportAssetFrames

ReportAssetFrames: Reports a set of frames.

- parent: Parent of the resource.

typeProjectsLocationsDiscoveryClientsCreateCalladded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsCreateCall)Contextadded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsCreateCall)DiscoveryClientIdadded inv0.173.0

DiscoveryClientId sets the optional parameter "discoveryClientId": Required.User specified ID for the discovery client. It will become the lastcomponent of the discovery client name. The ID must be unique within theproject, is restricted to lower-cased letters and has a maximum length of 63characters. The ID must match the regular expression:`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

func (*ProjectsLocationsDiscoveryClientsCreateCall)Doadded inv0.173.0

Do executes the "migrationcenter.projects.locations.discoveryClients.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDiscoveryClientsCreateCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDiscoveryClientsCreateCall)Headeradded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsCreateCall)RequestIdadded inv0.173.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsDiscoveryClientsDeleteCalladded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsDeleteCall)Contextadded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsDeleteCall)Doadded inv0.173.0

Do executes the "migrationcenter.projects.locations.discoveryClients.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDiscoveryClientsDeleteCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDiscoveryClientsDeleteCall)Headeradded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsDeleteCall)RequestIdadded inv0.173.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsDiscoveryClientsGetCalladded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsGetCall)Contextadded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsGetCall)Doadded inv0.173.0

Do executes the "migrationcenter.projects.locations.discoveryClients.get" call.Any non-2xx status code is an error. Response headers are in either*DiscoveryClient.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDiscoveryClientsGetCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDiscoveryClientsGetCall)Headeradded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsGetCall)IfNoneMatchadded inv0.173.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDiscoveryClientsListCalladded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsListCall)Contextadded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsListCall)Doadded inv0.173.0

Do executes the "migrationcenter.projects.locations.discoveryClients.list" call.Any non-2xx status code is an error. Response headers are in either*ListDiscoveryClientsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDiscoveryClientsListCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDiscoveryClientsListCall)Filteradded inv0.173.0

Filter sets the optional parameter "filter": Filter expression to filterresults by.

func (*ProjectsLocationsDiscoveryClientsListCall)Headeradded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsListCall)IfNoneMatchadded inv0.173.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDiscoveryClientsListCall)OrderByadded inv0.173.0

OrderBy sets the optional parameter "orderBy": Field to sort by.

func (*ProjectsLocationsDiscoveryClientsListCall)PageSizeadded inv0.173.0

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. The server may return fewer items than requested. If unspecified,the server will pick an appropriate default value.

func (*ProjectsLocationsDiscoveryClientsListCall)PageTokenadded inv0.173.0

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListDiscoveryClients` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListDiscoveryClients` must match the call that provided the page token.

func (*ProjectsLocationsDiscoveryClientsListCall)Pagesadded inv0.173.0

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.

typeProjectsLocationsDiscoveryClientsPatchCalladded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsPatchCall)Contextadded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsPatchCall)Doadded inv0.173.0

Do executes the "migrationcenter.projects.locations.discoveryClients.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDiscoveryClientsPatchCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDiscoveryClientsPatchCall)Headeradded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsPatchCall)RequestIdadded inv0.173.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDiscoveryClientsPatchCall)UpdateMaskadded inv0.173.0

UpdateMask sets the optional parameter "updateMask": Required. Update maskis used to specify the fields to be overwritten in the `DiscoveryClient`resource by the update. The values specified in the `update_mask` field arerelative to the resource, not the full request. A field will be overwrittenif it is in the mask. A single * value in the mask lets you to overwrite allfields.

typeProjectsLocationsDiscoveryClientsSendHeartbeatCalladded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsSendHeartbeatCall)Contextadded inv0.173.0

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

func (*ProjectsLocationsDiscoveryClientsSendHeartbeatCall)Doadded inv0.173.0

Do executes the "migrationcenter.projects.locations.discoveryClients.sendHeartbeat" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDiscoveryClientsSendHeartbeatCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDiscoveryClientsSendHeartbeatCall)Headeradded inv0.173.0

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

typeProjectsLocationsDiscoveryClientsServiceadded inv0.173.0

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

funcNewProjectsLocationsDiscoveryClientsServiceadded inv0.173.0

func NewProjectsLocationsDiscoveryClientsService(s *Service) *ProjectsLocationsDiscoveryClientsService

func (*ProjectsLocationsDiscoveryClientsService)Createadded inv0.173.0

Create: Creates a new discovery client.

- parent: Parent resource.

func (*ProjectsLocationsDiscoveryClientsService)Deleteadded inv0.173.0

Delete: Deletes a discovery client.

- name: The discovery client name.

func (*ProjectsLocationsDiscoveryClientsService)Getadded inv0.173.0

Get: Gets the details of a discovery client.

- name: The discovery client name.

func (*ProjectsLocationsDiscoveryClientsService)Listadded inv0.173.0

List: Lists all the discovery clients in a given project and location.

- parent: Parent resource.

func (*ProjectsLocationsDiscoveryClientsService)Patchadded inv0.173.0

Patch: Updates a discovery client.

- name: Output only. Identifier. Full name of this discovery client.

func (*ProjectsLocationsDiscoveryClientsService)SendHeartbeatadded inv0.173.0

SendHeartbeat: Sends a discovery client heartbeat. Healthy clients areexpected to send heartbeats regularly (normally every few minutes).

- name: The discovery client name.

typeProjectsLocationsGetCall

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

func (*ProjectsLocationsGetCall)Context

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

func (*ProjectsLocationsGetCall)Do

Do executes the "migrationcenter.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetCall)Header

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

func (*ProjectsLocationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsGetSettingsCall

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

func (*ProjectsLocationsGetSettingsCall)Context

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

func (*ProjectsLocationsGetSettingsCall)Do

Do executes the "migrationcenter.projects.locations.getSettings" call.Any non-2xx status code is an error. Response headers are in either*Settings.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetSettingsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetSettingsCall)Header

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

func (*ProjectsLocationsGetSettingsCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsGroupsAddAssetsCall

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

func (*ProjectsLocationsGroupsAddAssetsCall)Context

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

func (*ProjectsLocationsGroupsAddAssetsCall)Do

Do executes the "migrationcenter.projects.locations.groups.addAssets" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsAddAssetsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGroupsAddAssetsCall)Header

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

typeProjectsLocationsGroupsCreateCall

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

func (*ProjectsLocationsGroupsCreateCall)Context

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

func (*ProjectsLocationsGroupsCreateCall)Do

Do executes the "migrationcenter.projects.locations.groups.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGroupsCreateCall)GroupId

GroupId sets the optional parameter "groupId": Required. User specified IDfor the group. It will become the last component of the group name. The IDmust be unique within the project, must conform with RFC-1034, is restrictedto lower-cased letters, and has a maximum length of 63 characters. The IDmust match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

func (*ProjectsLocationsGroupsCreateCall)Header

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

func (*ProjectsLocationsGroupsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsGroupsDeleteCall

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

func (*ProjectsLocationsGroupsDeleteCall)Context

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

func (*ProjectsLocationsGroupsDeleteCall)Do

Do executes the "migrationcenter.projects.locations.groups.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGroupsDeleteCall)Header

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

func (*ProjectsLocationsGroupsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsGroupsGetCall

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

func (*ProjectsLocationsGroupsGetCall)Context

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

func (*ProjectsLocationsGroupsGetCall)Do

Do executes the "migrationcenter.projects.locations.groups.get" call.Any non-2xx status code is an error. Response headers are in either*Group.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGroupsGetCall)Header

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

func (*ProjectsLocationsGroupsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsGroupsListCall

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

func (*ProjectsLocationsGroupsListCall)Context

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

func (*ProjectsLocationsGroupsListCall)Do

Do executes the "migrationcenter.projects.locations.groups.list" call.Any non-2xx status code is an error. Response headers are in either*ListGroupsResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsGroupsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGroupsListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsGroupsListCall)Header

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

func (*ProjectsLocationsGroupsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsGroupsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsGroupsListCall)PageSize

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

func (*ProjectsLocationsGroupsListCall)PageToken

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

func (*ProjectsLocationsGroupsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsGroupsPatchCall

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

func (*ProjectsLocationsGroupsPatchCall)Context

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

func (*ProjectsLocationsGroupsPatchCall)Do

Do executes the "migrationcenter.projects.locations.groups.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGroupsPatchCall)Header

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

func (*ProjectsLocationsGroupsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsGroupsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Group` resource by theupdate. The values specified in the `update_mask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. A single * value in the mask lets you to overwrite all fields.

typeProjectsLocationsGroupsRemoveAssetsCall

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

func (*ProjectsLocationsGroupsRemoveAssetsCall)Context

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

func (*ProjectsLocationsGroupsRemoveAssetsCall)Do

Do executes the "migrationcenter.projects.locations.groups.removeAssets" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsRemoveAssetsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGroupsRemoveAssetsCall)Header

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

typeProjectsLocationsGroupsService

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

funcNewProjectsLocationsGroupsService

func NewProjectsLocationsGroupsService(s *Service) *ProjectsLocationsGroupsService

func (*ProjectsLocationsGroupsService)AddAssets

AddAssets: Adds assets to a group.

- group: Group reference.

func (*ProjectsLocationsGroupsService)Create

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

- parent: Value for parent.

func (*ProjectsLocationsGroupsService)Delete

Delete: Deletes a group.

- name: Name of the group resource.

func (*ProjectsLocationsGroupsService)Get

Get: Gets the details of a group.

- name: Name of the resource.

func (*ProjectsLocationsGroupsService)List

List: Lists all groups in a given project and location.

- parent: Parent value for `ListGroupsRequest`.

func (*ProjectsLocationsGroupsService)Patch

Patch: Updates the parameters of a group.

- name: Output only. The name of the group.

func (*ProjectsLocationsGroupsService)RemoveAssets

RemoveAssets: Removes assets from a group.

- group: Group reference.

typeProjectsLocationsImportJobsCreateCall

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

func (*ProjectsLocationsImportJobsCreateCall)Context

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

func (*ProjectsLocationsImportJobsCreateCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsCreateCall)Header

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

func (*ProjectsLocationsImportJobsCreateCall)ImportJobId

ImportJobId sets the optional parameter "importJobId": Required. ID of theimport job.

func (*ProjectsLocationsImportJobsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsImportJobsDeleteCall

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

func (*ProjectsLocationsImportJobsDeleteCall)Context

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

func (*ProjectsLocationsImportJobsDeleteCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsDeleteCall)Force

Force sets the optional parameter "force": If set to `true`, any`ImportDataFiles` of this job will also be deleted If set to `false`, therequest only works if the job has no data files.

func (*ProjectsLocationsImportJobsDeleteCall)Header

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

func (*ProjectsLocationsImportJobsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsImportJobsGetCall

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

func (*ProjectsLocationsImportJobsGetCall)Context

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

func (*ProjectsLocationsImportJobsGetCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.get" call.Any non-2xx status code is an error. Response headers are in either*ImportJob.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsGetCall)Header

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

func (*ProjectsLocationsImportJobsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsImportJobsGetCall)View

View sets the optional parameter "view": The level of details of the importjob. 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.

typeProjectsLocationsImportJobsImportDataFilesCreateCall

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

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall)Context

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

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall)Header

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

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall)ImportDataFileId

ImportDataFileId sets the optional parameter "importDataFileId": Required.The ID of the new data file.

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsImportJobsImportDataFilesDeleteCall

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

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall)Context

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

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall)Header

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

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsImportJobsImportDataFilesGetCall

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

func (*ProjectsLocationsImportJobsImportDataFilesGetCall)Context

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

func (*ProjectsLocationsImportJobsImportDataFilesGetCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.get" call.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 checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsImportDataFilesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsImportDataFilesGetCall)Header

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

func (*ProjectsLocationsImportJobsImportDataFilesGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsImportJobsImportDataFilesListCall

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall)Context

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.list" call.Any non-2xx status code is an error. Response headers are in either*ListImportDataFilesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsImportDataFilesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsImportDataFilesListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsImportJobsImportDataFilesListCall)Header

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsImportJobsImportDataFilesListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsImportJobsImportDataFilesListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of datafiles to return. The service may return fewer than this value. Ifunspecified, at most 500 data files will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsImportJobsImportDataFilesListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListImportDataFiles` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListImportDataFiles` must match the call that provided the page token.

func (*ProjectsLocationsImportJobsImportDataFilesListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsImportJobsImportDataFilesService

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

func (*ProjectsLocationsImportJobsImportDataFilesService)Create

Create: Creates an import data file.

- parent: Name of the parent of the ImportDataFile.

func (*ProjectsLocationsImportJobsImportDataFilesService)Delete

Delete: Delete an import data file.

- name: Name of the ImportDataFile to delete.

func (*ProjectsLocationsImportJobsImportDataFilesService)Get

Get: Gets an import data file.

- name: Name of the ImportDataFile.

func (*ProjectsLocationsImportJobsImportDataFilesService)List

List: List import data files.

- parent: Name of the parent of the `ImportDataFiles` resource.

typeProjectsLocationsImportJobsListCall

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

func (*ProjectsLocationsImportJobsListCall)Context

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

func (*ProjectsLocationsImportJobsListCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.list" call.Any non-2xx status code is an error. Response headers are in either*ListImportJobsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsImportJobsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsImportJobsListCall)Header

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

func (*ProjectsLocationsImportJobsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsImportJobsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsImportJobsListCall)PageSize

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

func (*ProjectsLocationsImportJobsListCall)PageToken

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

func (*ProjectsLocationsImportJobsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsImportJobsListCall)View

View sets the optional parameter "view": The level of details of each importjob. 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.

typeProjectsLocationsImportJobsPatchCall

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

func (*ProjectsLocationsImportJobsPatchCall)Context

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

func (*ProjectsLocationsImportJobsPatchCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsPatchCall)Header

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

func (*ProjectsLocationsImportJobsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsImportJobsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Asset` resource by theupdate. The values specified in the `update_mask` field are relative to theresource, not the full request. A field will be overwritten if it is in themask. A single * value in the mask lets you to overwrite all fields.

typeProjectsLocationsImportJobsRunCall

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

func (*ProjectsLocationsImportJobsRunCall)Context

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

func (*ProjectsLocationsImportJobsRunCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.run" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsRunCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsRunCall)Header

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

typeProjectsLocationsImportJobsService

type ProjectsLocationsImportJobsService struct {ImportDataFiles *ProjectsLocationsImportJobsImportDataFilesService// contains filtered or unexported fields}

func (*ProjectsLocationsImportJobsService)Create

Create: Creates an import job.

- parent: Value for parent.

func (*ProjectsLocationsImportJobsService)Delete

Delete: Deletes an import job.

- name: Name of the resource.

func (*ProjectsLocationsImportJobsService)Get

Get: Gets the details of an import job.

- name: Name of the resource.

func (*ProjectsLocationsImportJobsService)List

List: Lists all import jobs.

- parent: Parent value for `ListImportJobsRequest`.

func (*ProjectsLocationsImportJobsService)Patch

Patch: Updates an import job.

- name: Output only. The full name of the import job.

func (*ProjectsLocationsImportJobsService)Run

Run: Runs an import job.

- name: The name of the import job to run.

func (*ProjectsLocationsImportJobsService)Validate

Validate: Validates an import job.

- name: The name of the import job to validate.

typeProjectsLocationsImportJobsValidateCall

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

func (*ProjectsLocationsImportJobsValidateCall)Context

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

func (*ProjectsLocationsImportJobsValidateCall)Do

Do executes the "migrationcenter.projects.locations.importJobs.validate" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsValidateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsImportJobsValidateCall)Header

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

typeProjectsLocationsListCall

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

func (*ProjectsLocationsListCall)Context

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

func (*ProjectsLocationsListCall)Do

Do executes the "migrationcenter.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsListCall)ExtraLocationTypesadded inv0.229.0

func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall

ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.

func (*ProjectsLocationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsListCall)Filter

Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).

func (*ProjectsLocationsListCall)Header

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

func (*ProjectsLocationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.

func (*ProjectsLocationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsOperationsCancelCall

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

func (*ProjectsLocationsOperationsCancelCall)Context

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

func (*ProjectsLocationsOperationsCancelCall)Do

Do executes the "migrationcenter.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsCancelCall)Header

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

typeProjectsLocationsOperationsDeleteCall

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

func (*ProjectsLocationsOperationsDeleteCall)Context

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

func (*ProjectsLocationsOperationsDeleteCall)Do

Do executes the "migrationcenter.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsDeleteCall)Header

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

typeProjectsLocationsOperationsGetCall

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

func (*ProjectsLocationsOperationsGetCall)Context

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

func (*ProjectsLocationsOperationsGetCall)Do

Do executes the "migrationcenter.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsGetCall)Header

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

func (*ProjectsLocationsOperationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall)Context

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

func (*ProjectsLocationsOperationsListCall)Do

Do executes the "migrationcenter.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsOperationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall)Header

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

func (*ProjectsLocationsOperationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsOperationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccessadded inv0.251.0

func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall

ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.

typeProjectsLocationsOperationsService

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

func (*ProjectsLocationsOperationsService)Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.

- name: The name of the operation resource to be cancelled.

func (*ProjectsLocationsOperationsService)Delete

Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.

- name: The name of the operation resource to be deleted.

func (*ProjectsLocationsOperationsService)Get

Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService)List

List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

typeProjectsLocationsPreferenceSetsCreateCall

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

func (*ProjectsLocationsPreferenceSetsCreateCall)Context

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

func (*ProjectsLocationsPreferenceSetsCreateCall)Do

Do executes the "migrationcenter.projects.locations.preferenceSets.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsPreferenceSetsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsPreferenceSetsCreateCall)Header

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

func (*ProjectsLocationsPreferenceSetsCreateCall)PreferenceSetId

PreferenceSetId sets the optional parameter "preferenceSetId": Required.User specified ID for the preference set. It will become the last componentof the preference set name. The ID must be unique within the project, mustconform with RFC-1034, is restricted to lower-cased letters, and has amaximum length of 63 characters. The ID must match the regular expression`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

func (*ProjectsLocationsPreferenceSetsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsPreferenceSetsDeleteCall

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

func (*ProjectsLocationsPreferenceSetsDeleteCall)Context

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

func (*ProjectsLocationsPreferenceSetsDeleteCall)Do

Do executes the "migrationcenter.projects.locations.preferenceSets.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsPreferenceSetsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsPreferenceSetsDeleteCall)Header

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

func (*ProjectsLocationsPreferenceSetsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsPreferenceSetsGetCall

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

func (*ProjectsLocationsPreferenceSetsGetCall)Context

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

func (*ProjectsLocationsPreferenceSetsGetCall)Do

Do executes the "migrationcenter.projects.locations.preferenceSets.get" call.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 checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsPreferenceSetsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsPreferenceSetsGetCall)Header

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

func (*ProjectsLocationsPreferenceSetsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsPreferenceSetsListCall

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

func (*ProjectsLocationsPreferenceSetsListCall)Context

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

func (*ProjectsLocationsPreferenceSetsListCall)Do

Do executes the "migrationcenter.projects.locations.preferenceSets.list" call.Any non-2xx status code is an error. Response headers are in either*ListPreferenceSetsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsPreferenceSetsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsPreferenceSetsListCall)Header

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

func (*ProjectsLocationsPreferenceSetsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsPreferenceSetsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsPreferenceSetsListCall)PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, at most 500preference sets will be returned. The maximum value is 1000; values above1000 will be coerced to 1000.

func (*ProjectsLocationsPreferenceSetsListCall)PageToken

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

func (*ProjectsLocationsPreferenceSetsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsPreferenceSetsPatchCall

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

func (*ProjectsLocationsPreferenceSetsPatchCall)Context

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

func (*ProjectsLocationsPreferenceSetsPatchCall)Do

Do executes the "migrationcenter.projects.locations.preferenceSets.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsPreferenceSetsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsPreferenceSetsPatchCall)Header

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

func (*ProjectsLocationsPreferenceSetsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsPreferenceSetsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `PreferenceSet` resourceby the update. The values specified in the `update_mask` field are relativeto the resource, not the full request. A field will be overwritten if it isin the mask. A single * value in the mask lets you to overwrite all fields.

typeProjectsLocationsPreferenceSetsService

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

func (*ProjectsLocationsPreferenceSetsService)Create

Create: Creates a new preference set in a given project and location.

- parent: Value for parent.

func (*ProjectsLocationsPreferenceSetsService)Delete

Delete: Deletes a preference set.

- name: Name of the group resource.

func (*ProjectsLocationsPreferenceSetsService)Get

Get: Gets the details of a preference set.

- name: Name of the resource.

func (*ProjectsLocationsPreferenceSetsService)List

List: Lists all the preference sets in a given project and location.

- parent: Parent value for `ListPreferenceSetsRequest`.

func (*ProjectsLocationsPreferenceSetsService)Patch

Patch: Updates the parameters of a preference set.

- name: Output only. Name of the preference set.

typeProjectsLocationsRelationsGetCalladded inv0.218.0

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

func (*ProjectsLocationsRelationsGetCall)Contextadded inv0.218.0

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

func (*ProjectsLocationsRelationsGetCall)Doadded inv0.218.0

Do executes the "migrationcenter.projects.locations.relations.get" call.Any non-2xx status code is an error. Response headers are in either*Relation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsRelationsGetCall)Fieldsadded inv0.218.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsRelationsGetCall)Headeradded inv0.218.0

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

func (*ProjectsLocationsRelationsGetCall)IfNoneMatchadded inv0.218.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsRelationsListCalladded inv0.218.0

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

func (*ProjectsLocationsRelationsListCall)Contextadded inv0.218.0

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

func (*ProjectsLocationsRelationsListCall)Doadded inv0.218.0

Do executes the "migrationcenter.projects.locations.relations.list" call.Any non-2xx status code is an error. Response headers are in either*ListRelationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsRelationsListCall)Fieldsadded inv0.218.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsRelationsListCall)Filteradded inv0.218.0

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsRelationsListCall)Headeradded inv0.218.0

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

func (*ProjectsLocationsRelationsListCall)IfNoneMatchadded inv0.218.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsRelationsListCall)OrderByadded inv0.218.0

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsRelationsListCall)PageSizeadded inv0.218.0

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

func (*ProjectsLocationsRelationsListCall)PageTokenadded inv0.218.0

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

func (*ProjectsLocationsRelationsListCall)Pagesadded inv0.218.0

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.

typeProjectsLocationsRelationsServiceadded inv0.218.0

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

funcNewProjectsLocationsRelationsServiceadded inv0.218.0

func NewProjectsLocationsRelationsService(s *Service) *ProjectsLocationsRelationsService

func (*ProjectsLocationsRelationsService)Getadded inv0.218.0

Get: Gets the details of an relation.

- name: Name of the resource.

func (*ProjectsLocationsRelationsService)Listadded inv0.218.0

List: Lists all the relations in a given project and location.

- parent: Parent value for `ListRelationsRequest`.

typeProjectsLocationsReportConfigsCreateCall

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

func (*ProjectsLocationsReportConfigsCreateCall)Context

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

func (*ProjectsLocationsReportConfigsCreateCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsCreateCall)Header

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

func (*ProjectsLocationsReportConfigsCreateCall)ReportConfigId

ReportConfigId sets the optional parameter "reportConfigId": Required. Userspecified ID for the report config. It will become the last component of thereport config name. The ID must be unique within the project, must conformwith RFC-1034, is restricted to lower-cased letters, and has a maximumlength of 63 characters. The ID must match the regular expression: a-z([a-z0-9-]{0,61}[a-z0-9])?.

func (*ProjectsLocationsReportConfigsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsReportConfigsDeleteCall

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

func (*ProjectsLocationsReportConfigsDeleteCall)Context

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

func (*ProjectsLocationsReportConfigsDeleteCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsDeleteCall)Force

Force sets the optional parameter "force": If set to `true`, any child`Reports` of this entity will also be deleted. If set to `false`, therequest only works if the resource has no children.

func (*ProjectsLocationsReportConfigsDeleteCall)Header

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

func (*ProjectsLocationsReportConfigsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsReportConfigsGetCall

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

func (*ProjectsLocationsReportConfigsGetCall)Context

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

func (*ProjectsLocationsReportConfigsGetCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.get" call.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 checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsGetCall)Header

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

func (*ProjectsLocationsReportConfigsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsReportConfigsListCall

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

func (*ProjectsLocationsReportConfigsListCall)Context

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

func (*ProjectsLocationsReportConfigsListCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.list" call.Any non-2xx status code is an error. Response headers are in either*ListReportConfigsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsReportConfigsListCall)Header

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

func (*ProjectsLocationsReportConfigsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsReportConfigsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsReportConfigsListCall)PageSize

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

func (*ProjectsLocationsReportConfigsListCall)PageToken

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

func (*ProjectsLocationsReportConfigsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsReportConfigsReportsArtifactLinkCalladded inv0.257.0

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

func (*ProjectsLocationsReportConfigsReportsArtifactLinkCall)Contextadded inv0.257.0

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

func (*ProjectsLocationsReportConfigsReportsArtifactLinkCall)Doadded inv0.257.0

Do executes the "migrationcenter.projects.locations.reportConfigs.reports.artifactLink" call.Any non-2xx status code is an error. Response headers are in either*ReportArtifactLink.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsReportConfigsReportsArtifactLinkCall)Fieldsadded inv0.257.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsReportsArtifactLinkCall)Headeradded inv0.257.0

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

typeProjectsLocationsReportConfigsReportsCreateCall

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

func (*ProjectsLocationsReportConfigsReportsCreateCall)Context

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

func (*ProjectsLocationsReportConfigsReportsCreateCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.reports.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsReportsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsReportsCreateCall)Header

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

func (*ProjectsLocationsReportConfigsReportsCreateCall)ReportId

ReportId sets the optional parameter "reportId": Required. User specified idfor the report. It will become the last component of the report name. The idmust be unique within the project, must conform with RFC-1034, is restrictedto lower-cased letters, and has a maximum length of 63 characters. The idmust match the regular expression: a-z ([a-z0-9-]{0,61}[a-z0-9])?.

func (*ProjectsLocationsReportConfigsReportsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsReportConfigsReportsDeleteCall

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

func (*ProjectsLocationsReportConfigsReportsDeleteCall)Context

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

func (*ProjectsLocationsReportConfigsReportsDeleteCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.reports.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsReportsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsReportsDeleteCall)Header

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

func (*ProjectsLocationsReportConfigsReportsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsReportConfigsReportsGetCall

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

func (*ProjectsLocationsReportConfigsReportsGetCall)Context

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

func (*ProjectsLocationsReportConfigsReportsGetCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.reports.get" call.Any non-2xx status code is an error. Response headers are in either*Report.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsReportsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsReportsGetCall)Header

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

func (*ProjectsLocationsReportConfigsReportsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsReportConfigsReportsGetCall)View

View sets the optional parameter "view": Determines what information toretrieve 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.

typeProjectsLocationsReportConfigsReportsListCall

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

func (*ProjectsLocationsReportConfigsReportsListCall)Context

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

func (*ProjectsLocationsReportConfigsReportsListCall)Do

Do executes the "migrationcenter.projects.locations.reportConfigs.reports.list" call.Any non-2xx status code is an error. Response headers are in either*ListReportsResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsReportConfigsReportsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsReportConfigsReportsListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsReportConfigsReportsListCall)Header

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

func (*ProjectsLocationsReportConfigsReportsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsReportConfigsReportsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsReportConfigsReportsListCall)PageSize

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

func (*ProjectsLocationsReportConfigsReportsListCall)PageToken

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

func (*ProjectsLocationsReportConfigsReportsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsReportConfigsReportsListCall)View

View sets the optional parameter "view": Determines what information toretrieve 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.

typeProjectsLocationsReportConfigsReportsService

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

func (*ProjectsLocationsReportConfigsReportsService)ArtifactLinkadded inv0.257.0

ArtifactLink: Gets the link to the generated artifact of a given type for aReport.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsReportsService)Create

Create: Creates a report.

- parent: Value for parent.

func (*ProjectsLocationsReportConfigsReportsService)Delete

Delete: Deletes a Report.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsReportsService)Get

Get: Gets details of a single Report.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsReportsService)List

List: Lists Reports in a given ReportConfig.

- parent: Parent value for `ListReportsRequest`.

typeProjectsLocationsReportConfigsService

type ProjectsLocationsReportConfigsService struct {Reports *ProjectsLocationsReportConfigsReportsService// contains filtered or unexported fields}

func (*ProjectsLocationsReportConfigsService)Create

Create: Creates a report configuration.

- parent: Value for parent.

func (*ProjectsLocationsReportConfigsService)Delete

Delete: Deletes a ReportConfig.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsService)Get

Get: Gets details of a single ReportConfig.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsService)List

List: Lists ReportConfigs in a given project and location.

- parent: Parent value for `ListReportConfigsRequest`.

typeProjectsLocationsService

funcNewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService)Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService)GetSettings

GetSettings: Gets the details of regional settings.

- name: Name of the resource.

func (*ProjectsLocationsService)List

List: Lists information about the supported locations for this service.

- name: The resource that owns the locations collection, if applicable.

func (*ProjectsLocationsService)UpdateSettings

UpdateSettings: Updates the regional-level project settings.

- name: Output only. The name of the resource.

typeProjectsLocationsSourcesCreateCall

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

func (*ProjectsLocationsSourcesCreateCall)Context

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

func (*ProjectsLocationsSourcesCreateCall)Do

Do executes the "migrationcenter.projects.locations.sources.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSourcesCreateCall)Header

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

func (*ProjectsLocationsSourcesCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSourcesCreateCall)SourceId

SourceId sets the optional parameter "sourceId": Required. User specified IDfor the source. It will become the last component of the source name. The IDmust be unique within the project, must conform with RFC-1034, is restrictedto lower-cased letters, and has a maximum length of 63 characters. The IDmust match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

typeProjectsLocationsSourcesDeleteCall

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

func (*ProjectsLocationsSourcesDeleteCall)Context

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

func (*ProjectsLocationsSourcesDeleteCall)Do

Do executes the "migrationcenter.projects.locations.sources.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSourcesDeleteCall)Header

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

func (*ProjectsLocationsSourcesDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeProjectsLocationsSourcesErrorFramesGetCall

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

func (*ProjectsLocationsSourcesErrorFramesGetCall)Context

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

func (*ProjectsLocationsSourcesErrorFramesGetCall)Do

Do executes the "migrationcenter.projects.locations.sources.errorFrames.get" call.Any non-2xx status code is an error. Response headers are in either*ErrorFrame.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesErrorFramesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSourcesErrorFramesGetCall)Header

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

func (*ProjectsLocationsSourcesErrorFramesGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsSourcesErrorFramesGetCall)View

View sets the optional parameter "view": An optional view mode to controlthe 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.

typeProjectsLocationsSourcesErrorFramesListCall

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

func (*ProjectsLocationsSourcesErrorFramesListCall)Context

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

func (*ProjectsLocationsSourcesErrorFramesListCall)Do

Do executes the "migrationcenter.projects.locations.sources.errorFrames.list" call.Any non-2xx status code is an error. Response headers are in either*ListErrorFramesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSourcesErrorFramesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSourcesErrorFramesListCall)Header

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

func (*ProjectsLocationsSourcesErrorFramesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsSourcesErrorFramesListCall)PageSize

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

func (*ProjectsLocationsSourcesErrorFramesListCall)PageToken

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

func (*ProjectsLocationsSourcesErrorFramesListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsSourcesErrorFramesListCall)View

View sets the optional parameter "view": An optional view mode to controlthe 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.

typeProjectsLocationsSourcesErrorFramesService

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

func (*ProjectsLocationsSourcesErrorFramesService)Get

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

List: Lists all error frames in a given source and location.

- parent: Parent value (the source) for `ListErrorFramesRequest`.

typeProjectsLocationsSourcesGetCall

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

func (*ProjectsLocationsSourcesGetCall)Context

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

func (*ProjectsLocationsSourcesGetCall)Do

Do executes the "migrationcenter.projects.locations.sources.get" call.Any non-2xx status code is an error. Response headers are in either*Source.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSourcesGetCall)Header

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

func (*ProjectsLocationsSourcesGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsSourcesListCall

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

func (*ProjectsLocationsSourcesListCall)Context

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

func (*ProjectsLocationsSourcesListCall)Do

Do executes the "migrationcenter.projects.locations.sources.list" call.Any non-2xx status code is an error. Response headers are in either*ListSourcesResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsSourcesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSourcesListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsSourcesListCall)Header

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

func (*ProjectsLocationsSourcesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsSourcesListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsSourcesListCall)PageSize

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

func (*ProjectsLocationsSourcesListCall)PageToken

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

func (*ProjectsLocationsSourcesListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsSourcesPatchCall

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

func (*ProjectsLocationsSourcesPatchCall)Context

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

func (*ProjectsLocationsSourcesPatchCall)Do

Do executes the "migrationcenter.projects.locations.sources.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSourcesPatchCall)Header

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

func (*ProjectsLocationsSourcesPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSourcesPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Source` resource by theupdate. The values specified in the `update_mask` field are relative to theresource, not the full request. A field will be overwritten if it is in themask. A single * value in the mask lets you to overwrite all fields.

typeProjectsLocationsSourcesService

type ProjectsLocationsSourcesService struct {ErrorFrames *ProjectsLocationsSourcesErrorFramesService// contains filtered or unexported fields}

funcNewProjectsLocationsSourcesService

func NewProjectsLocationsSourcesService(s *Service) *ProjectsLocationsSourcesService

func (*ProjectsLocationsSourcesService)Create

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

- parent: Value for parent.

func (*ProjectsLocationsSourcesService)Delete

Delete: Deletes a source.

- name: Name of the resource.

func (*ProjectsLocationsSourcesService)Get

Get: Gets the details of a source.

- name: Name of the resource.

func (*ProjectsLocationsSourcesService)List

List: Lists all the sources in a given project and location.

- parent: Parent value for `ListSourcesRequest`.

func (*ProjectsLocationsSourcesService)Patch

Patch: Updates the parameters of a source.

- name: Output only. The full name of the source.

typeProjectsLocationsUpdateSettingsCall

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

func (*ProjectsLocationsUpdateSettingsCall)Context

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

func (*ProjectsLocationsUpdateSettingsCall)Do

Do executes the "migrationcenter.projects.locations.updateSettings" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsUpdateSettingsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsUpdateSettingsCall)Header

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

func (*ProjectsLocationsUpdateSettingsCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsUpdateSettingsCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Settings` resource bythe update. The values specified in the `update_mask` field are relative tothe resource, not the full request. A field will be overwritten if it is inthe mask. A single * value in the mask lets you to overwrite all fields.

typeProjectsService

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

funcNewProjectsService

func NewProjectsService(s *Service) *ProjectsService

typeRegionPreferences

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PreferredRegions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RegionPreferences: The user preferences relating to target regions.

func (RegionPreferences)MarshalJSON

func (sRegionPreferences) MarshalJSON() ([]byte,error)

typeRelationadded inv0.218.0

type Relation struct {// CreateTime: Output only. The timestamp when the relation was created.CreateTimestring `json:"createTime,omitempty"`// DstAsset: Output only. The destination asset name in the relation.DstAssetstring `json:"dstAsset,omitempty"`// Name: Output only. Identifier. The identifier of the relation.Namestring `json:"name,omitempty"`// SrcAsset: Output only. The source asset name in the relation.SrcAssetstring `json:"srcAsset,omitempty"`// Type: Optional. The type of the relation.//// Possible values://   "TYPE_UNSPECIFIED" - Default value.//   "LOGICAL_DATABASE" - DBDeployment -> Database//   "DATABASE_DEPLOYMENT_HOSTING_SERVER" - A relation between a machine/VM and// the database deployment it hosts.Typestring `json:"type,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Relation: Message representing a relation between 2 resource.

func (Relation)MarshalJSONadded inv0.218.0

func (sRelation) MarshalJSON() ([]byte,error)

typeRemoveAssetsFromGroupRequest

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`.AllowMissingbool `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).RequestIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowMissing") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RemoveAssetsFromGroupRequest: A request to remove assets from a group.

func (RemoveAssetsFromGroupRequest)MarshalJSON

func (sRemoveAssetsFromGroupRequest) MarshalJSON() ([]byte,error)

typeReport

type Report struct {// CreateTime: Output only. Creation timestamp.CreateTimestring `json:"createTime,omitempty"`// Description: Free-text description.Descriptionstring `json:"description,omitempty"`// DisplayName: User-friendly display name. Maximum length is 63 characters.DisplayNamestring `json:"displayName,omitempty"`// Name: Output only. Name of resource.Namestring `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.Statestring `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.Typestring `json:"type,omitempty"`// UpdateTime: Output only. Last update timestamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Report: Report represents a point-in-time rendering of the ReportConfigresults.

func (Report)MarshalJSON

func (sReport) MarshalJSON() ([]byte,error)

typeReportArtifactLinkadded inv0.257.0

type ReportArtifactLink struct {// Uri: Output only. URI of the artifact.Uristring `json:"uri,omitempty"`// UriExpirationTime: Output only. Expiration time of the URI.UriExpirationTimestring `json:"uriExpirationTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Uri") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportArtifactLink: Describes a link to a generated artifact of the report.

func (ReportArtifactLink)MarshalJSONadded inv0.257.0

func (sReportArtifactLink) MarshalJSON() ([]byte,error)

typeReportAssetFramesResponse

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`.

typeReportConfig

type ReportConfig struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Free-text description.Descriptionstring `json:"description,omitempty"`// DisplayName: User-friendly display name. Maximum length is 63 characters.DisplayNamestring `json:"displayName,omitempty"`// GroupPreferencesetAssignments: Required. Collection of combinations of// groups and preference sets.GroupPreferencesetAssignments []*ReportConfigGroupPreferenceSetAssignment `json:"groupPreferencesetAssignments,omitempty"`// Name: Output only. Name of resource.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportConfig: The groups and associated preference sets on which we cangenerate reports.

func (ReportConfig)MarshalJSON

func (sReportConfig) MarshalJSON() ([]byte,error)

typeReportConfigGroupPreferenceSetAssignment

type ReportConfigGroupPreferenceSetAssignment struct {// Group: Required. Name of the group.Groupstring `json:"group,omitempty"`// PreferenceSet: Required. Name of the Preference Set.PreferenceSetstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Group") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportConfigGroupPreferenceSetAssignment: Represents a combination of agroup with a preference set.

func (ReportConfigGroupPreferenceSetAssignment)MarshalJSON

typeReportSummary

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllAssetsStats") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummary: Describes the Summary view of a Report, which containsaggregated values for all the groups and preference sets included in thisReport.

func (ReportSummary)MarshalJSON

func (sReportSummary) MarshalJSON() ([]byte,error)

typeReportSummaryAssetAggregateStats

type ReportSummaryAssetAggregateStats struct {// CoreCountHistogram: Histogram showing a distribution of logical 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.TotalAssetsint64 `json:"totalAssets,omitempty,string"`// TotalCores: Sum of the CPU core count of all the assets in this collection.TotalCoresint64 `json:"totalCores,omitempty,string"`// TotalMemoryBytes: Sum of the memory in bytes of all the assets in this// collection.TotalMemoryBytesint64 `json:"totalMemoryBytes,omitempty,string"`// TotalStorageBytes: Sum of persistent storage in bytes of all the assets in// this collection.TotalStorageBytesint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CoreCountHistogram") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryAssetAggregateStats: Aggregate statistics for a collection ofassets.

func (ReportSummaryAssetAggregateStats)MarshalJSON

func (sReportSummaryAssetAggregateStats) MarshalJSON() ([]byte,error)

typeReportSummaryChartData

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DataPoints") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryChartData: Describes a collection of data points rendered as aChart.

func (ReportSummaryChartData)MarshalJSON

func (sReportSummaryChartData) MarshalJSON() ([]byte,error)

typeReportSummaryChartDataDataPoint

type ReportSummaryChartDataDataPoint struct {// Label: The X-axis label for this data point.Labelstring `json:"label,omitempty"`// Value: The Y-axis value for this data point.Valuefloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Label") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryChartDataDataPoint: Describes a single data point in the Chart.

func (ReportSummaryChartDataDataPoint)MarshalJSON

func (sReportSummaryChartDataDataPoint) MarshalJSON() ([]byte,error)

func (*ReportSummaryChartDataDataPoint)UnmarshalJSON

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

typeReportSummaryComputeEngineFinding

type ReportSummaryComputeEngineFinding struct {// AllocatedAssetCount: Count of assets which were allocated.AllocatedAssetCountint64 `json:"allocatedAssetCount,omitempty,string"`// AllocatedDiskTypes: Set of disk types allocated to assets.//// Possible values://   "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified. Fallback to default// value based on context.//   "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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedAssetCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryComputeEngineFinding: A set of findings that applies to assetsdestined for Compute Engine.

func (ReportSummaryComputeEngineFinding)MarshalJSON

func (sReportSummaryComputeEngineFinding) MarshalJSON() ([]byte,error)

typeReportSummaryGroupFinding

type ReportSummaryGroupFinding struct {// AssetAggregateStats: Summary statistics for all the assets in this group.AssetAggregateStats *ReportSummaryAssetAggregateStats `json:"assetAggregateStats,omitempty"`// Description: Description for the Group.Descriptionstring `json:"description,omitempty"`// DisplayName: Display Name for the Group.DisplayNamestring `json:"displayName,omitempty"`// OverlappingAssetCount: This field is deprecated, do not rely on it having a// value.OverlappingAssetCountint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssetAggregateStats") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryGroupFinding: Summary Findings for a specific Group.

func (ReportSummaryGroupFinding)MarshalJSON

func (sReportSummaryGroupFinding) MarshalJSON() ([]byte,error)

typeReportSummaryGroupPreferenceSetFinding

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.Descriptionstring `json:"description,omitempty"`// DisplayName: Display Name of the Preference SetDisplayNamestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ComputeEngineFinding") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryGroupPreferenceSetFinding: Summary Findings for a specificGroup/PreferenceSet combination.

func (ReportSummaryGroupPreferenceSetFinding)MarshalJSON

typeReportSummaryHistogramChartData

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Buckets") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryHistogramChartData: A Histogram Chart shows a distribution ofvalues into buckets, showing a count of values which fall into a bucket.

func (ReportSummaryHistogramChartData)MarshalJSON

func (sReportSummaryHistogramChartData) MarshalJSON() ([]byte,error)

typeReportSummaryHistogramChartDataBucket

type ReportSummaryHistogramChartDataBucket struct {// Count: Count of items in the bucket.Countint64 `json:"count,omitempty,string"`// LowerBound: Lower bound - inclusive.LowerBoundint64 `json:"lowerBound,omitempty,string"`// UpperBound: Upper bound - exclusive.UpperBoundint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Count") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryHistogramChartDataBucket: A histogram bucket with a lower andupper 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 boundmay be -infinity and upper bound may be infinity.

func (ReportSummaryHistogramChartDataBucket)MarshalJSON

typeReportSummaryMachineSeriesAllocation

type ReportSummaryMachineSeriesAllocation struct {// AllocatedAssetCount: Count of assets allocated to this machine series.AllocatedAssetCountint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedAssetCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryMachineSeriesAllocation: Represents a data point tracking thecount of assets allocated for a specific Machine Series.

func (ReportSummaryMachineSeriesAllocation)MarshalJSON

typeReportSummarySoleTenantFinding

type ReportSummarySoleTenantFinding struct {// AllocatedAssetCount: Count of assets which are allocatedAllocatedAssetCountint64 `json:"allocatedAssetCount,omitempty,string"`// AllocatedRegions: Set of regions in which the assets are allocatedAllocatedRegions []string `json:"allocatedRegions,omitempty"`// NodeAllocations: Set of per-nodetype allocation recordsNodeAllocations []*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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedAssetCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummarySoleTenantFinding: A set of findings that applies to assetsdestined for Sole-Tenant nodes.

func (ReportSummarySoleTenantFinding)MarshalJSON

func (sReportSummarySoleTenantFinding) MarshalJSON() ([]byte,error)

typeReportSummarySoleTenantNodeAllocation

type ReportSummarySoleTenantNodeAllocation struct {// AllocatedAssetCount: Count of assets allocated to these nodesAllocatedAssetCountint64 `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 provisionedNodeCountint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedAssetCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummarySoleTenantNodeAllocation: Represents the assets allocated to aspecific Sole-Tenant node type.

func (ReportSummarySoleTenantNodeAllocation)MarshalJSON

typeReportSummaryUtilizationChartData

type ReportSummaryUtilizationChartData struct {// Free: Aggregate value which falls into the "Free" bucket.Freeint64 `json:"free,omitempty,string"`// Used: Aggregate value which falls into the "Used" bucket.Usedint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Free") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryUtilizationChartData: Utilization Chart is a specific type ofvisualization which displays a metric classified into "Used" and "Free"buckets.

func (ReportSummaryUtilizationChartData)MarshalJSON

func (sReportSummaryUtilizationChartData) MarshalJSON() ([]byte,error)

typeReportSummaryVmwareEngineFinding

type ReportSummaryVmwareEngineFinding struct {// AllocatedAssetCount: Count of assets which are allocatedAllocatedAssetCountint64 `json:"allocatedAssetCount,omitempty,string"`// AllocatedRegions: Set of regions in which the assets were allocatedAllocatedRegions []string `json:"allocatedRegions,omitempty"`// NodeAllocations: Set of per-nodetype allocation recordsNodeAllocations []*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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedAssetCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryVmwareEngineFinding: A set of findings that applies to assetsdestined for VMWare Engine.

func (ReportSummaryVmwareEngineFinding)MarshalJSON

func (sReportSummaryVmwareEngineFinding) MarshalJSON() ([]byte,error)

typeReportSummaryVmwareNode

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.locations.node// TypesCodestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryVmwareNode: A VMWare Engine Node

func (ReportSummaryVmwareNode)MarshalJSON

func (sReportSummaryVmwareNode) MarshalJSON() ([]byte,error)

typeReportSummaryVmwareNodeAllocation

type ReportSummaryVmwareNodeAllocation struct {// AllocatedAssetCount: Count of assets allocated to these nodesAllocatedAssetCountint64 `json:"allocatedAssetCount,omitempty,string"`// NodeCount: Count of this node type to be provisionedNodeCountint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedAssetCount") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportSummaryVmwareNodeAllocation: Represents assets allocated to a specificVMWare Node type.

func (ReportSummaryVmwareNodeAllocation)MarshalJSON

func (sReportSummaryVmwareNodeAllocation) MarshalJSON() ([]byte,error)

typeRunImportJobRequest

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).RequestIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RunImportJobRequest: A request to run an import job.

func (RunImportJobRequest)MarshalJSON

func (sRunImportJobRequest) MarshalJSON() ([]byte,error)

typeRunningProcess

type RunningProcess struct {// Attributes: Process extended attributes.Attributes map[string]string `json:"attributes,omitempty"`// Cmdline: Process full command line.Cmdlinestring `json:"cmdline,omitempty"`// ExePath: Process binary path.ExePathstring `json:"exePath,omitempty"`// Pid: Process ID.Pidint64 `json:"pid,omitempty,string"`// User: User running the process.Userstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Attributes") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RunningProcess: Guest OS running process details.

func (RunningProcess)MarshalJSON

func (sRunningProcess) MarshalJSON() ([]byte,error)

typeRunningProcessList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RunningProcessList: List of running guest OS processes.

func (RunningProcessList)MarshalJSON

func (sRunningProcessList) MarshalJSON() ([]byte,error)

typeRunningService

type RunningService struct {// Cmdline: Service command line.Cmdlinestring `json:"cmdline,omitempty"`// ExePath: Service binary path.ExePathstring `json:"exePath,omitempty"`// Pid: Service pid.Pidint64 `json:"pid,omitempty,string"`// ServiceName: Service name.ServiceNamestring `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.StartModestring `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.Statestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Cmdline") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RunningService: Guest OS running service details.

func (RunningService)MarshalJSON

func (sRunningService) MarshalJSON() ([]byte,error)

typeRunningServiceList

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Entries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RunningServiceList: List of running guest OS services.

func (RunningServiceList)MarshalJSON

func (sRunningServiceList) MarshalJSON() ([]byte,error)

typeRuntimeNetworkInfo

type RuntimeNetworkInfo struct {// Connections: Network connections.Connections *NetworkConnectionList `json:"connections,omitempty"`// ScanTime: Time of the last network scan.ScanTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Connections") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RuntimeNetworkInfo: Runtime networking information.

func (RuntimeNetworkInfo)MarshalJSON

func (sRuntimeNetworkInfo) MarshalJSON() ([]byte,error)

typeSendDiscoveryClientHeartbeatRequestadded inv0.173.0

type SendDiscoveryClientHeartbeatRequest struct {// Errors: Optional. Errors affecting client functionality.Errors []*Status `json:"errors,omitempty"`// Version: Optional. Client application version.Versionstring `json:"version,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Errors") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SendDiscoveryClientHeartbeatRequest: A request to send a discovery clientheartbeat.

func (SendDiscoveryClientHeartbeatRequest)MarshalJSONadded inv0.173.0

typeService

type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields}

funcNewdeprecated

func New(client *http.Client) (*Service,error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

funcNewService

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*Service,error)

NewService creates a new Service.

typeSettings

type Settings struct {// DisableCloudLogging: Disable Cloud Logging for the Migration Center API.// Users are billed for the logs.DisableCloudLoggingbool `json:"disableCloudLogging,omitempty"`// Name: Output only. The name of the resource.Namestring `json:"name,omitempty"`// PreferenceSet: The preference set used by default for a project.PreferenceSetstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisableCloudLogging") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Settings: Describes the Migration Center settings related to the project.

func (Settings)MarshalJSON

func (sSettings) MarshalJSON() ([]byte,error)

typeSoleTenancyPreferences

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.CommitmentPlanstring `json:"commitmentPlan,omitempty"`// CpuOvercommitRatio: CPU overcommit ratio. Acceptable values are between 1.0// and 2.0 inclusive.CpuOvercommitRatiofloat64 `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.HostMaintenancePolicystring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CommitmentPlan") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SoleTenancyPreferences: Preferences concerning Sole Tenancy nodes and VMs.

func (SoleTenancyPreferences)MarshalJSON

func (sSoleTenancyPreferences) MarshalJSON() ([]byte,error)

func (*SoleTenancyPreferences)UnmarshalJSON

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

typeSoleTenantNodeType

type SoleTenantNodeType struct {// NodeName: Name of the Sole Tenant node. Consult//https://cloud.google.com/compute/docs/nodes/sole-tenant-nodesNodeNamestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodeName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SoleTenantNodeType: A Sole Tenant node type.

func (SoleTenantNodeType)MarshalJSON

func (sSoleTenantNodeType) MarshalJSON() ([]byte,error)

typeSource

type Source struct {// CreateTime: Output only. The timestamp when the source was created.CreateTimestring `json:"createTime,omitempty"`// Description: Free-text description.Descriptionstring `json:"description,omitempty"`// DisplayName: User-friendly display name.DisplayNamestring `json:"displayName,omitempty"`// ErrorFrameCount: Output only. The number of frames that were reported by the// source and contained errors.ErrorFrameCountint64 `json:"errorFrameCount,omitempty"`// Managed: If `true`, the source is managed by other service(s).Managedbool `json:"managed,omitempty"`// Name: Output only. The full name of the source.Namestring `json:"name,omitempty"`// PendingFrameCount: Output only. Number of frames that are still being// processed.PendingFrameCountint64 `json:"pendingFrameCount,omitempty"`// Priority: The information confidence of the source. The higher the value,// the higher the confidence.Priorityint64 `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.Statestring `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.//   "SOURCE_TYPE_DISCOVERY_CLIENT" - Discovery clientsTypestring `json:"type,omitempty"`// UpdateTime: Output only. The timestamp when the source was last updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Source: Source represents an object from which asset information is streamedto Migration Center.

func (Source)MarshalJSON

func (sSource) MarshalJSON() ([]byte,error)

typeSqlServerDatabaseDeploymentadded inv0.210.0

type SqlServerDatabaseDeployment struct {// Features: Optional. List of SQL Server features.Features []*SqlServerFeature `json:"features,omitempty"`// ServerFlags: Optional. List of SQL Server server flags.ServerFlags []*SqlServerServerFlag `json:"serverFlags,omitempty"`// TraceFlags: Optional. List of SQL Server trace flags.TraceFlags []*SqlServerTraceFlag `json:"traceFlags,omitempty"`// ForceSendFields is a list of field names (e.g. "Features") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Features") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SqlServerDatabaseDeployment: Specific details for a Microsoft SQL Serverdatabase deployment.

func (SqlServerDatabaseDeployment)MarshalJSONadded inv0.210.0

func (sSqlServerDatabaseDeployment) MarshalJSON() ([]byte,error)

typeSqlServerFeatureadded inv0.210.0

type SqlServerFeature struct {// Enabled: Required. Field enabled is set when a feature is used on the source// deployment.Enabledbool `json:"enabled,omitempty"`// FeatureName: Required. The feature name.FeatureNamestring `json:"featureName,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enabled") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SqlServerFeature: SQL Server feature details.

func (SqlServerFeature)MarshalJSONadded inv0.210.0

func (sSqlServerFeature) MarshalJSON() ([]byte,error)

typeSqlServerSchemaDetailsadded inv0.210.0

type SqlServerSchemaDetails struct {// ClrObjectCount: Optional. SqlServer number of CLR objects.ClrObjectCountint64 `json:"clrObjectCount,omitempty"`// ForceSendFields is a list of field names (e.g. "ClrObjectCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ClrObjectCount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SqlServerSchemaDetails: Specific details for a SqlServer database.

func (SqlServerSchemaDetails)MarshalJSONadded inv0.210.0

func (sSqlServerSchemaDetails) MarshalJSON() ([]byte,error)

typeSqlServerServerFlagadded inv0.210.0

type SqlServerServerFlag struct {// ServerFlagName: Required. The server flag name.ServerFlagNamestring `json:"serverFlagName,omitempty"`// Value: Required. The server flag value set by the user.Valuestring `json:"value,omitempty"`// ValueInUse: Required. The server flag actual value. If `value_in_use` is// different from `value` it means that either the configuration change was not// applied or it is an expected behavior. See SQL Server documentation for more// details.ValueInUsestring `json:"valueInUse,omitempty"`// ForceSendFields is a list of field names (e.g. "ServerFlagName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ServerFlagName") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SqlServerServerFlag: SQL Server server flag details.

func (SqlServerServerFlag)MarshalJSONadded inv0.210.0

func (sSqlServerServerFlag) MarshalJSON() ([]byte,error)

typeSqlServerTraceFlagadded inv0.210.0

type SqlServerTraceFlag struct {// Scope: Required. The trace flag scope.//// Possible values://   "SCOPE_UNSPECIFIED" - Unspecified.//   "OFF" - Off.//   "GLOBAL" - Global.//   "SESSION" - Session.Scopestring `json:"scope,omitempty"`// TraceFlagName: Required. The trace flag name.TraceFlagNamestring `json:"traceFlagName,omitempty"`// ForceSendFields is a list of field names (e.g. "Scope") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Scope") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SqlServerTraceFlag: SQL Server trace flag details.

func (SqlServerTraceFlag)MarshalJSONadded inv0.210.0

func (sSqlServerTraceFlag) MarshalJSON() ([]byte,error)

typeStatus

type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).

func (Status)MarshalJSON

func (sStatus) MarshalJSON() ([]byte,error)

typeUpdateAssetRequest

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).RequestIdstring `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.UpdateMaskstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Asset") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UpdateAssetRequest: A request to update an asset.

func (UpdateAssetRequest)MarshalJSON

func (sUpdateAssetRequest) MarshalJSON() ([]byte,error)

typeUploadFileInfo

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.SignedUristring `json:"signedUri,omitempty"`// UriExpirationTime: Output only. Expiration time of the upload URI.UriExpirationTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Headers") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UploadFileInfo: A resource that contains a URI to which a data file can beuploaded.

func (UploadFileInfo)MarshalJSON

func (sUploadFileInfo) MarshalJSON() ([]byte,error)

typeValidateImportJobRequest

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).RequestIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ValidateImportJobRequest: A request to validate an import job.

func (ValidateImportJobRequest)MarshalJSON

func (sValidateImportJobRequest) MarshalJSON() ([]byte,error)

typeValidationReport

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FileValidations") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ValidationReport: A resource that aggregates errors across import job files.

func (ValidationReport)MarshalJSON

func (sValidationReport) MarshalJSON() ([]byte,error)

typeVirtualMachinePreferences

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.CommitmentPlanstring `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.SizingOptimizationStrategystring `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.6278//   "COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY" - Prefer to migrate to// Google Cloud Sole Tenant Nodes.TargetProductstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CommitmentPlan") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

VirtualMachinePreferences: VirtualMachinePreferences enables you to createsets of assumptions, for example, a geographical location and pricing track,for your migrated virtual machines. The set of preferences influencerecommendations for migrating virtual machine assets.

func (VirtualMachinePreferences)MarshalJSON

func (sVirtualMachinePreferences) MarshalJSON() ([]byte,error)

typeVmwareDiskConfig

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.BackingTypestring `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.RdmCompatibilitystring `json:"rdmCompatibility,omitempty"`// Shared: Is VMDK shared with other VMs.Sharedbool `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.VmdkModestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BackingType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

VmwareDiskConfig: VMware disk config details.

func (VmwareDiskConfig)MarshalJSON

func (sVmwareDiskConfig) MarshalJSON() ([]byte,error)

typeVmwareEnginePreferences

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).CommitmentPlanstring `json:"commitmentPlan,omitempty"`// CpuOvercommitRatio: CPU overcommit ratio. Acceptable values are between 1.0// and 8.0, with 0.1 increment.CpuOvercommitRatiofloat64 `json:"cpuOvercommitRatio,omitempty"`// MemoryOvercommitRatio: Memory overcommit ratio. Acceptable values are 1.0,// 1.25, 1.5, 1.75 and 2.0.MemoryOvercommitRatiofloat64 `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.StorageDeduplicationCompressionRatiofloat64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CommitmentPlan") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

VmwareEnginePreferences: The user preferences relating to Google CloudVMware Engine target platform.

func (VmwareEnginePreferences)MarshalJSON

func (sVmwareEnginePreferences) MarshalJSON() ([]byte,error)

func (*VmwareEnginePreferences)UnmarshalJSON

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

typeVmwarePlatformDetails

type VmwarePlatformDetails struct {// EsxHyperthreading: Whether the ESX is hyperthreaded.//// Possible values://   "HYPERTHREADING_STATUS_UNSPECIFIED" - Simultaneous Multithreading status// unknown.//   "HYPERTHREADING_STATUS_DISABLED" - Simultaneous Multithreading is disabled// or unavailable.//   "HYPERTHREADING_STATUS_ENABLED" - Simultaneous Multithreading is enabled.EsxHyperthreadingstring `json:"esxHyperthreading,omitempty"`// EsxVersion: ESX version.EsxVersionstring `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.Osidstring `json:"osid,omitempty"`// VcenterFolder: Folder name in vCenter where asset resides.VcenterFolderstring `json:"vcenterFolder,omitempty"`// VcenterUri: vCenter URI used in collection.VcenterUristring `json:"vcenterUri,omitempty"`// VcenterVersion: vCenter version.VcenterVersionstring `json:"vcenterVersion,omitempty"`// VcenterVmId: vCenter VM ID.VcenterVmIdstring `json:"vcenterVmId,omitempty"`// ForceSendFields is a list of field names (e.g. "EsxHyperthreading") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EsxHyperthreading") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

VmwarePlatformDetails: VMware specific details.

func (VmwarePlatformDetails)MarshalJSON

func (sVmwarePlatformDetails) MarshalJSON() ([]byte,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp