migrationcenter

package
v0.131.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package migrationcenter provides access to the Migration Center API.

For product documentation, see: https://cloud.google.com/migration-center

Creating a client

Usage example:

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

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

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

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

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

See https://godoc.org/google.golang.org/api/option/ 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

type AddAssetsToGroupRequest added in v0.115.0

type AddAssetsToGroupRequest struct {
	// AllowExisting: Optional. When this value is set to `false` and one of
	// the given assets is already an existing member of the group, the
	// operation fails with an `Already Exists` error. When set to `true`
	// this situation is silently ignored by the server. Default value is
	// `false`.
	AllowExisting bool `json:"allowExisting,omitempty"`

	// Assets: Required. List of assets to be added. The maximum number of
	// assets that can be added in a single request is 1000.
	Assets *AssetList `json:"assets,omitempty"`

	// RequestId: Optional. An optional request ID to identify requests.
	// Specify a unique request ID so that if you must retry your request,
	// the server will know to ignore the request if it has already been
	// completed. The server will guarantee that for at least 60 minutes
	// after the first request. For example, consider a situation where you
	// make an initial request and the request times out. If you make the
	// request again with the same request ID, the server can check if
	// original operation with the same request ID was received, and if so,
	// will ignore the second request. This prevents clients from
	// accidentally creating duplicate commitments. The request ID must be a
	// valid UUID with the exception that zero UUID is not supported
	// (00000000-0000-0000-0000-000000000000).
	RequestId string `json:"requestId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllowExisting") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllowExisting") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AddAssetsToGroupRequest: A request to add assets to a group.

func (*AddAssetsToGroupRequest) MarshalJSON added in v0.115.0

func (s *AddAssetsToGroupRequest) MarshalJSON() ([]byte, error)

type AggregateAssetsValuesRequest

type AggregateAssetsValuesRequest struct {
	// Aggregations: Array of aggregations to perform. Up to 25 aggregations
	// can be defined.
	Aggregations []*Aggregation `json:"aggregations,omitempty"`

	// Filter: The aggregation will be performed on assets that match the
	// provided filter.
	Filter string `json:"filter,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Aggregations") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Aggregations") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregateAssetsValuesRequest: A request to aggregate one or more values.

func (*AggregateAssetsValuesRequest) MarshalJSON

func (s *AggregateAssetsValuesRequest) MarshalJSON() ([]byte, error)

type AggregateAssetsValuesResponse

type AggregateAssetsValuesResponse struct {
	// Results: The aggregation results.
	Results []*AggregationResult `json:"results,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Results") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Results") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregateAssetsValuesResponse: A response to a request to aggregated assets values.

func (*AggregateAssetsValuesResponse) MarshalJSON

func (s *AggregateAssetsValuesResponse) MarshalJSON() ([]byte, error)

type Aggregation

type Aggregation struct {
	// Count: Count the number of matching objects.
	Count *AggregationCount `json:"count,omitempty"`

	// Field: The name of the field on which to aggregate.
	Field string `json:"field,omitempty"`

	// Frequency: Creates a frequency distribution of all field values.
	Frequency *AggregationFrequency `json:"frequency,omitempty"`

	// Histogram: Creates a bucketed histogram of field values.
	Histogram *AggregationHistogram `json:"histogram,omitempty"`

	// Sum: Sum over a numeric field.
	Sum *AggregationSum `json:"sum,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Count") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Count") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*Aggregation) MarshalJSON

func (s *Aggregation) MarshalJSON() ([]byte, error)

type AggregationCount

type AggregationCount struct {
}

AggregationCount: Object count.

type AggregationFrequency

type AggregationFrequency struct {
}

AggregationFrequency: Frequency distribution of all field values.

type AggregationHistogram

type AggregationHistogram struct {
	// LowerBounds: Lower bounds of buckets. The response will contain `n+1`
	// buckets for `n` bounds. The first bucket will count all assets for
	// which the field value is smaller than the first bound. Subsequent
	// buckets will count assets for which the field value is greater or
	// equal to a lower bound and smaller than the next one. The last bucket
	// will count assets for which the field value is greater or equal to
	// the final lower bound. You can define up to 20 lower bounds.
	LowerBounds []float64 `json:"lowerBounds,omitempty"`

	// ForceSendFields is a list of field names (e.g. "LowerBounds") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "LowerBounds") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregationHistogram: Histogram of bucketed assets counts by field value.

func (*AggregationHistogram) MarshalJSON

func (s *AggregationHistogram) MarshalJSON() ([]byte, error)

func (*AggregationHistogram) UnmarshalJSON added in v0.122.0

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

type AggregationResult

type AggregationResult struct {
	Count *AggregationResultCount `json:"count,omitempty"`

	Field string `json:"field,omitempty"`

	Frequency *AggregationResultFrequency `json:"frequency,omitempty"`

	Histogram *AggregationResultHistogram `json:"histogram,omitempty"`

	Sum *AggregationResultSum `json:"sum,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Count") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Count") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregationResult: Message describing a result of an aggregation.

func (*AggregationResult) MarshalJSON

func (s *AggregationResult) MarshalJSON() ([]byte, error)

type AggregationResultCount

type AggregationResultCount struct {
	Value int64 `json:"value,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "Value") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Value") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregationResultCount: The result of a count aggregation.

func (*AggregationResultCount) MarshalJSON

func (s *AggregationResultCount) MarshalJSON() ([]byte, error)

type AggregationResultFrequency

type AggregationResultFrequency struct {
	Values map[string]string `json:"values,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Values") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Values") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregationResultFrequency: The result of a frequency distribution aggregation.

func (*AggregationResultFrequency) MarshalJSON

func (s *AggregationResultFrequency) MarshalJSON() ([]byte, error)

type AggregationResultHistogram

type AggregationResultHistogram struct {
	// Buckets: Buckets in the histogram. There will be `n+1` buckets
	// matching `n` lower bounds in the request. The first bucket will be
	// from -infinity to the first bound. Subsequent buckets will be between
	// one bound and the next. The final bucket will be from the final bound
	// to infinity.
	Buckets []*AggregationResultHistogramBucket `json:"buckets,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Buckets") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Buckets") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregationResultHistogram: The result of a bucketed histogram aggregation.

func (*AggregationResultHistogram) MarshalJSON

func (s *AggregationResultHistogram) MarshalJSON() ([]byte, error)

type AggregationResultHistogramBucket

type AggregationResultHistogramBucket struct {
	// Count: Count of items in the bucket.
	Count int64 `json:"count,omitempty,string"`

	// LowerBound: Lower bound - inclusive.
	LowerBound float64 `json:"lowerBound,omitempty"`

	// UpperBound: Upper bound - exclusive.
	UpperBound float64 `json:"upperBound,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Count") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Count") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*AggregationResultHistogramBucket) MarshalJSON

func (s *AggregationResultHistogramBucket) MarshalJSON() ([]byte, error)

func (*AggregationResultHistogramBucket) UnmarshalJSON

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

type AggregationResultSum

type AggregationResultSum struct {
	Value float64 `json:"value,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Value") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Value") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AggregationResultSum: The result of a sum aggregation.

func (*AggregationResultSum) MarshalJSON

func (s *AggregationResultSum) MarshalJSON() ([]byte, error)

func (*AggregationResultSum) UnmarshalJSON

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

type AggregationSum

type AggregationSum struct {
}

AggregationSum: Sum of field values.

type Asset

type Asset struct {
	// AssignedGroups: Output only. The list of groups that the asset is
	// assigned to.
	AssignedGroups []string `json:"assignedGroups,omitempty"`

	// Attributes: Generic asset attributes.
	Attributes map[string]string `json:"attributes,omitempty"`

	// CreateTime: Output only. The timestamp when the asset was created.
	CreateTime string `json:"createTime,omitempty"`

	// InsightList: Output only. The list of insights associated with the
	// asset.
	InsightList *InsightList `json:"insightList,omitempty"`

	// Labels: Labels as key value pairs.
	Labels map[string]string `json:"labels,omitempty"`

	// Name: Output only. The full name of the asset.
	Name string `json:"name,omitempty"`

	// PerformanceData: Output only. Performance data for the asset.
	PerformanceData *AssetPerformanceData `json:"performanceData,omitempty"`

	// Sources: Output only. The list of sources contributing to the asset.
	Sources []string `json:"sources,omitempty"`

	// UpdateTime: Output only. The timestamp when the asset was last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// VirtualMachineDetails: Output only. Asset information specific for
	// virtual machines.
	VirtualMachineDetails *VirtualMachineDetails `json:"virtualMachineDetails,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "AssignedGroups") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AssignedGroups") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

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

func (*Asset) MarshalJSON

func (s *Asset) MarshalJSON() ([]byte, error)

type AssetFrame

type AssetFrame struct {
	// Attributes: Generic asset attributes.
	Attributes map[string]string `json:"attributes,omitempty"`

	// Labels: Labels as key value pairs.
	Labels map[string]string `json:"labels,omitempty"`

	// PerformanceSamples: Asset performance data samples. Samples that are
	// older than 40 days are ignored.
	PerformanceSamples []*PerformanceSample `json:"performanceSamples,omitempty"`

	// ReportTime: The time the data was reported.
	ReportTime string `json:"reportTime,omitempty"`

	// TraceToken: Optional. Trace token is optionally provided to assist
	// with debugging and traceability.
	TraceToken string `json:"traceToken,omitempty"`

	// VirtualMachineDetails: Asset information specific for virtual
	// machines.
	VirtualMachineDetails *VirtualMachineDetails `json:"virtualMachineDetails,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Attributes") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Attributes") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*AssetFrame) MarshalJSON

func (s *AssetFrame) MarshalJSON() ([]byte, error)

type AssetList added in v0.115.0

type AssetList struct {
	// AssetIds: Required. A list of asset IDs
	AssetIds []string `json:"assetIds,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AssetIds") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AssetIds") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AssetList: Lists the asset IDs of all assets.

func (*AssetList) MarshalJSON added in v0.115.0

func (s *AssetList) MarshalJSON() ([]byte, error)

type AssetPerformanceData added in v0.115.0

type AssetPerformanceData struct {
	// DailyResourceUsageAggregations: Daily resource usage aggregations.
	// Contains all of the data available for an asset, up to the last 420
	// days. Aggregations are sorted from oldest to most recent.
	DailyResourceUsageAggregations []*DailyResourceUsageAggregation `json:"dailyResourceUsageAggregations,omitempty"`

	// ForceSendFields is a list of field names (e.g.
	// "DailyResourceUsageAggregations") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "DailyResourceUsageAggregations") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

AssetPerformanceData: Performance data for an asset.

func (*AssetPerformanceData) MarshalJSON added in v0.115.0

func (s *AssetPerformanceData) MarshalJSON() ([]byte, error)

type AwsEc2PlatformDetails added in v0.115.0

type AwsEc2PlatformDetails struct {
	// Location: The location of the machine in the AWS format.
	Location string `json:"location,omitempty"`

	// MachineTypeLabel: AWS platform's machine type label.
	MachineTypeLabel string `json:"machineTypeLabel,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Location") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Location") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AwsEc2PlatformDetails: AWS EC2 specific details.

func (*AwsEc2PlatformDetails) MarshalJSON added in v0.115.0

func (s *AwsEc2PlatformDetails) MarshalJSON() ([]byte, error)

type AzureVmPlatformDetails added in v0.115.0

type AzureVmPlatformDetails struct {
	// Location: The location of the machine in the Azure format.
	Location string `json:"location,omitempty"`

	// MachineTypeLabel: Azure platform's machine type label.
	MachineTypeLabel string `json:"machineTypeLabel,omitempty"`

	// ProvisioningState: Azure platform's provisioning state.
	ProvisioningState string `json:"provisioningState,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Location") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Location") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AzureVmPlatformDetails: Azure VM specific details.

func (*AzureVmPlatformDetails) MarshalJSON added in v0.115.0

func (s *AzureVmPlatformDetails) MarshalJSON() ([]byte, error)

type BatchDeleteAssetsRequest added in v0.115.0

type BatchDeleteAssetsRequest struct {
	// AllowMissing: Optional. When this value is set to `true` the request
	// is a no-op for non-existing assets. See
	// https://google.aip.dev/135#delete-if-existing for additional details.
	// Default value is `false`.
	AllowMissing bool `json:"allowMissing,omitempty"`

	// Names: Required. The IDs of the assets to delete. A maximum of 1000
	// assets can be deleted in a batch. Format:
	// projects/{project}/locations/{location}/assets/{name}.
	Names []string `json:"names,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllowMissing") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllowMissing") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

BatchDeleteAssetsRequest: A request to delete a list of asset.

func (*BatchDeleteAssetsRequest) MarshalJSON added in v0.115.0

func (s *BatchDeleteAssetsRequest) MarshalJSON() ([]byte, error)

type BatchUpdateAssetsRequest added in v0.114.0

type BatchUpdateAssetsRequest struct {
	// Requests: Required. The request message specifying the resources to
	// update. A maximum of 1000 assets can be modified in a batch.
	Requests []*UpdateAssetRequest `json:"requests,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Requests") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Requests") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

BatchUpdateAssetsRequest: A request to update a list of assets.

func (*BatchUpdateAssetsRequest) MarshalJSON added in v0.114.0

func (s *BatchUpdateAssetsRequest) MarshalJSON() ([]byte, error)

type BatchUpdateAssetsResponse added in v0.114.0

type BatchUpdateAssetsResponse struct {
	// Assets: Update asset content. The content only includes values after
	// field mask being applied.
	Assets []*Asset `json:"assets,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Assets") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Assets") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

BatchUpdateAssetsResponse: Response for updating a list of assets.

func (*BatchUpdateAssetsResponse) MarshalJSON added in v0.114.0

func (s *BatchUpdateAssetsResponse) MarshalJSON() ([]byte, error)

type BiosDetails

type BiosDetails struct {
	// BiosManufacturer: BIOS manufacturer.
	BiosManufacturer string `json:"biosManufacturer,omitempty"`

	// BiosName: BIOS name.
	BiosName string `json:"biosName,omitempty"`

	// BiosReleaseDate: BIOS release date.
	BiosReleaseDate string `json:"biosReleaseDate,omitempty"`

	// BiosVersion: BIOS version.
	BiosVersion string `json:"biosVersion,omitempty"`

	// SmbiosUuid: SMBIOS UUID.
	SmbiosUuid string `json:"smbiosUuid,omitempty"`

	// ForceSendFields is a list of field names (e.g. "BiosManufacturer") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "BiosManufacturer") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

BiosDetails: Details about the BIOS.

func (*BiosDetails) MarshalJSON

func (s *BiosDetails) MarshalJSON() ([]byte, error)

type CancelOperationRequest

type CancelOperationRequest struct {
}

CancelOperationRequest: The request message for Operations.CancelOperation.

type ComputeEngineMigrationTarget added in v0.115.0

type ComputeEngineMigrationTarget struct {
	// Shape: Description of the suggested shape for the migration target.
	Shape *ComputeEngineShapeDescriptor `json:"shape,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Shape") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Shape") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ComputeEngineMigrationTarget: Compute engine migration target.

func (*ComputeEngineMigrationTarget) MarshalJSON added in v0.115.0

func (s *ComputeEngineMigrationTarget) MarshalJSON() ([]byte, error)

type ComputeEnginePreferences added in v0.115.0

type ComputeEnginePreferences struct {
	// LicenseType: License type to consider when calculating costs for
	// virtual machine insights and recommendations. If unspecified, costs
	// are calculated based on the default licensing plan.
	//
	// Possible values:
	//   "LICENSE_TYPE_UNSPECIFIED" - Unspecified (default value).
	//   "LICENSE_TYPE_DEFAULT" - Default Google Cloud licensing plan.
	// Licensing is charged per usage. This a good value to start with.
	//   "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE" - Bring-your-own-license
	// (BYOL) plan. User provides the OS license.
	LicenseType string `json:"licenseType,omitempty"`

	// MachinePreferences: Preferences concerning the machine types to
	// consider on Compute Engine.
	MachinePreferences *MachinePreferences `json:"machinePreferences,omitempty"`

	// PersistentDiskType: Persistent disk type to use. If unspecified
	// (default), all types are considered, based on available usage data.
	//
	// Possible values:
	//   "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value).
	// Selecting this value allows the system to use any disk type according
	// to reported usage. This a good value to start with.
	//   "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk.
	//   "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk.
	//   "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk.
	PersistentDiskType string `json:"persistentDiskType,omitempty"`

	// ForceSendFields is a list of field names (e.g. "LicenseType") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "LicenseType") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ComputeEnginePreferences: The user preferences relating to Compute Engine target platform.

func (*ComputeEnginePreferences) MarshalJSON added in v0.115.0

func (s *ComputeEnginePreferences) MarshalJSON() ([]byte, error)

type ComputeEngineShapeDescriptor added in v0.115.0

type ComputeEngineShapeDescriptor struct {
	// LogicalCoreCount: Number of logical cores.
	LogicalCoreCount int64 `json:"logicalCoreCount,omitempty"`

	// MachineType: Compute Engine machine type.
	MachineType string `json:"machineType,omitempty"`

	// MemoryMb: Memory in mebibytes.
	MemoryMb int64 `json:"memoryMb,omitempty"`

	// PhysicalCoreCount: Number of physical cores.
	PhysicalCoreCount int64 `json:"physicalCoreCount,omitempty"`

	// Series: Compute Engine machine series.
	Series string `json:"series,omitempty"`

	// Storage: Compute Engine storage. Never empty.
	Storage []*ComputeStorageDescriptor `json:"storage,omitempty"`

	// ForceSendFields is a list of field names (e.g. "LogicalCoreCount") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "LogicalCoreCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ComputeEngineShapeDescriptor: Compute Engine target shape descriptor.

func (*ComputeEngineShapeDescriptor) MarshalJSON added in v0.115.0

func (s *ComputeEngineShapeDescriptor) MarshalJSON() ([]byte, error)

type ComputeStorageDescriptor added in v0.129.0

type ComputeStorageDescriptor struct {
	// SizeGb: Disk size in GiB.
	SizeGb int64 `json:"sizeGb,omitempty"`

	// Type: Disk type backing the storage.
	//
	// Possible values:
	//   "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value).
	// Selecting this value allows the system to use any disk type according
	// to reported usage. This a good value to start with.
	//   "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk.
	//   "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk.
	//   "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk.
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "SizeGb") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "SizeGb") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ComputeStorageDescriptor: Compute Engine storage option descriptor.

func (*ComputeStorageDescriptor) MarshalJSON added in v0.129.0

func (s *ComputeStorageDescriptor) MarshalJSON() ([]byte, error)

type CpuUsageSample

type CpuUsageSample struct {
	// UtilizedPercentage: Percentage of total CPU capacity utilized. Must
	// be in the interval [0, 100]. On most systems can be calculated using
	// 100 - idle percentage.
	UtilizedPercentage float64 `json:"utilizedPercentage,omitempty"`

	// ForceSendFields is a list of field names (e.g. "UtilizedPercentage")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UtilizedPercentage") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

CpuUsageSample: CPU usage sample.

func (*CpuUsageSample) MarshalJSON

func (s *CpuUsageSample) MarshalJSON() ([]byte, error)

func (*CpuUsageSample) UnmarshalJSON

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

type DailyResourceUsageAggregation added in v0.115.0

type DailyResourceUsageAggregation struct {
	// Cpu: CPU usage.
	Cpu *DailyResourceUsageAggregationCPU `json:"cpu,omitempty"`

	// Date: Aggregation date. Day boundaries are at midnight UTC.
	Date *Date `json:"date,omitempty"`

	// Disk: Disk usage.
	Disk *DailyResourceUsageAggregationDisk `json:"disk,omitempty"`

	// Memory: Memory usage.
	Memory *DailyResourceUsageAggregationMemory `json:"memory,omitempty"`

	// Network: Network usage.
	Network *DailyResourceUsageAggregationNetwork `json:"network,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Cpu") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Cpu") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DailyResourceUsageAggregation: Usage data aggregation for a single day.

func (*DailyResourceUsageAggregation) MarshalJSON added in v0.115.0

func (s *DailyResourceUsageAggregation) MarshalJSON() ([]byte, error)

type DailyResourceUsageAggregationCPU added in v0.115.0

type DailyResourceUsageAggregationCPU struct {
	// UtilizationPercentage: CPU utilization percentage.
	UtilizationPercentage *DailyResourceUsageAggregationStats `json:"utilizationPercentage,omitempty"`

	// ForceSendFields is a list of field names (e.g.
	// "UtilizationPercentage") to unconditionally include in API requests.
	// By default, fields with empty or default values are omitted from API
	// requests. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UtilizationPercentage") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

DailyResourceUsageAggregationCPU: Statistical aggregation of CPU usage.

func (*DailyResourceUsageAggregationCPU) MarshalJSON added in v0.115.0

func (s *DailyResourceUsageAggregationCPU) MarshalJSON() ([]byte, error)

type DailyResourceUsageAggregationDisk added in v0.115.0

type DailyResourceUsageAggregationDisk struct {
	// Iops: Disk I/O operations per second.
	Iops *DailyResourceUsageAggregationStats `json:"iops,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Iops") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Iops") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DailyResourceUsageAggregationDisk: Statistical aggregation of disk usage.

func (*DailyResourceUsageAggregationDisk) MarshalJSON added in v0.115.0

func (s *DailyResourceUsageAggregationDisk) MarshalJSON() ([]byte, error)

type DailyResourceUsageAggregationMemory added in v0.115.0

type DailyResourceUsageAggregationMemory struct {
	// UtilizationPercentage: Memory utilization percentage.
	UtilizationPercentage *DailyResourceUsageAggregationStats `json:"utilizationPercentage,omitempty"`

	// ForceSendFields is a list of field names (e.g.
	// "UtilizationPercentage") to unconditionally include in API requests.
	// By default, fields with empty or default values are omitted from API
	// requests. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UtilizationPercentage") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

DailyResourceUsageAggregationMemory: Statistical aggregation of memory usage.

func (*DailyResourceUsageAggregationMemory) MarshalJSON added in v0.115.0

func (s *DailyResourceUsageAggregationMemory) MarshalJSON() ([]byte, error)

type DailyResourceUsageAggregationNetwork added in v0.115.0

type DailyResourceUsageAggregationNetwork struct {
	// EgressBps: Network egress in B/s.
	EgressBps *DailyResourceUsageAggregationStats `json:"egressBps,omitempty"`

	// IngressBps: Network ingress in B/s.
	IngressBps *DailyResourceUsageAggregationStats `json:"ingressBps,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EgressBps") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "EgressBps") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DailyResourceUsageAggregationNetwork: Statistical aggregation of network usage.

func (*DailyResourceUsageAggregationNetwork) MarshalJSON added in v0.115.0

func (s *DailyResourceUsageAggregationNetwork) MarshalJSON() ([]byte, error)

type DailyResourceUsageAggregationStats added in v0.115.0

type DailyResourceUsageAggregationStats struct {
	// Average: Average usage value.
	Average float64 `json:"average,omitempty"`

	// Median: Median usage value.
	Median float64 `json:"median,omitempty"`

	// NinteyFifthPercentile: 95th percentile usage value.
	NinteyFifthPercentile float64 `json:"ninteyFifthPercentile,omitempty"`

	// Peak: Peak usage value.
	Peak float64 `json:"peak,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Average") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Average") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DailyResourceUsageAggregationStats: Statistical aggregation of samples for a single resource usage.

func (*DailyResourceUsageAggregationStats) MarshalJSON added in v0.115.0

func (s *DailyResourceUsageAggregationStats) MarshalJSON() ([]byte, error)

func (*DailyResourceUsageAggregationStats) UnmarshalJSON added in v0.115.0

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

type Date

type Date struct {
	// Day: Day of a month. Must be from 1 to 31 and valid for the year and
	// month, or 0 to specify a year by itself or a year and month where the
	// day isn't significant.
	Day int64 `json:"day,omitempty"`

	// Month: Month of a year. Must be from 1 to 12, or 0 to specify a year
	// without a month and day.
	Month int64 `json:"month,omitempty"`

	// Year: Year of the date. Must be from 1 to 9999, or 0 to specify a
	// date without a year.
	Year int64 `json:"year,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Day") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Day") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Date: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

func (*Date) MarshalJSON

func (s *Date) MarshalJSON() ([]byte, error)

type DateTime

type DateTime struct {
	// Day: Optional. Day of month. Must be from 1 to 31 and valid for the
	// year and month, or 0 if specifying a datetime without a day.
	Day int64 `json:"day,omitempty"`

	// Hours: Optional. Hours of day in 24 hour format. Should be from 0 to
	// 23, defaults to 0 (midnight). An API may choose to allow the value
	// "24:00:00" for scenarios like business closing time.
	Hours int64 `json:"hours,omitempty"`

	// Minutes: Optional. Minutes of hour of day. Must be from 0 to 59,
	// defaults to 0.
	Minutes int64 `json:"minutes,omitempty"`

	// Month: Optional. Month of year. Must be from 1 to 12, or 0 if
	// specifying a datetime without a month.
	Month int64 `json:"month,omitempty"`

	// Nanos: Optional. Fractions of seconds in nanoseconds. Must be from 0
	// to 999,999,999, defaults to 0.
	Nanos int64 `json:"nanos,omitempty"`

	// Seconds: Optional. Seconds of minutes of the time. Must normally be
	// from 0 to 59, defaults to 0. An API may allow the value 60 if it
	// allows leap-seconds.
	Seconds int64 `json:"seconds,omitempty"`

	// TimeZone: Time zone.
	TimeZone *TimeZone `json:"timeZone,omitempty"`

	// UtcOffset: UTC offset. Must be whole seconds, between -18 hours and
	// +18 hours. For example, a UTC offset of -4:00 would be represented as
	// { seconds: -14400 }.
	UtcOffset string `json:"utcOffset,omitempty"`

	// Year: Optional. Year of date. Must be from 1 to 9999, or 0 if
	// specifying a datetime without a year.
	Year int64 `json:"year,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Day") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Day") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DateTime: Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.

func (*DateTime) MarshalJSON

func (s *DateTime) MarshalJSON() ([]byte, error)

type DiskEntry

type DiskEntry struct {
	// DiskLabel: Disk label.
	DiskLabel string `json:"diskLabel,omitempty"`

	// DiskLabelType: Disk label type (e.g. BIOS/GPT)
	DiskLabelType string `json:"diskLabelType,omitempty"`

	// HwAddress: Disk hardware address (e.g. 0:1 for SCSI).
	HwAddress string `json:"hwAddress,omitempty"`

	// InterfaceType: Disks interface type (e.g. SATA/SCSI)
	InterfaceType string `json:"interfaceType,omitempty"`

	// Partitions: Partition layout.
	Partitions *DiskPartitionList `json:"partitions,omitempty"`

	// Status: Disk status (e.g. online).
	Status string `json:"status,omitempty"`

	// TotalCapacityBytes: Disk capacity.
	TotalCapacityBytes int64 `json:"totalCapacityBytes,omitempty,string"`

	// TotalFreeBytes: Disk free space.
	TotalFreeBytes int64 `json:"totalFreeBytes,omitempty,string"`

	// VmwareConfig: VMware disk details.
	VmwareConfig *VmwareDiskConfig `json:"vmwareConfig,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DiskLabel") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DiskLabel") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DiskEntry: Single disk entry.

func (*DiskEntry) MarshalJSON

func (s *DiskEntry) MarshalJSON() ([]byte, error)

type DiskEntryList

type DiskEntryList struct {
	// Entries: Disk entries.
	Entries []*DiskEntry `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DiskEntryList: VM disks.

func (*DiskEntryList) MarshalJSON

func (s *DiskEntryList) MarshalJSON() ([]byte, error)

type DiskPartition

type DiskPartition struct {
	// CapacityBytes: Partition capacity.
	CapacityBytes int64 `json:"capacityBytes,omitempty,string"`

	// FileSystem: Partition file system.
	FileSystem string `json:"fileSystem,omitempty"`

	// FreeBytes: Partition free space.
	FreeBytes int64 `json:"freeBytes,omitempty,string"`

	// MountPoint: Mount pount (Linux/Windows) or drive letter (Windows).
	MountPoint string `json:"mountPoint,omitempty"`

	// SubPartitions: Sub-partitions.
	SubPartitions *DiskPartitionList `json:"subPartitions,omitempty"`

	// Type: Partition type (e.g. BIOS boot).
	Type string `json:"type,omitempty"`

	// Uuid: Partition UUID.
	Uuid string `json:"uuid,omitempty"`

	// ForceSendFields is a list of field names (e.g. "CapacityBytes") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CapacityBytes") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DiskPartition: Disk Partition details.

func (*DiskPartition) MarshalJSON

func (s *DiskPartition) MarshalJSON() ([]byte, error)

type DiskPartitionList

type DiskPartitionList struct {
	// Entries: Partition entries.
	Entries []*DiskPartition `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

DiskPartitionList: Disk partition list.

func (*DiskPartitionList) MarshalJSON

func (s *DiskPartitionList) MarshalJSON() ([]byte, error)

type DiskUsageSample

type DiskUsageSample struct {
	// AverageIops: Average IOPS sampled over a short window. Must be
	// non-negative.
	AverageIops float64 `json:"averageIops,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AverageIops") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AverageIops") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*DiskUsageSample) MarshalJSON

func (s *DiskUsageSample) MarshalJSON() ([]byte, error)

func (*DiskUsageSample) UnmarshalJSON

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

type Empty

type Empty struct {
	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`
}

Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type ErrorFrame added in v0.122.0

type ErrorFrame struct {
	// IngestionTime: Output only. Frame ingestion time.
	IngestionTime string `json:"ingestionTime,omitempty"`

	// Name: Output only. The identifier of the ErrorFrame.
	Name string `json:"name,omitempty"`

	// OriginalFrame: Output only. The frame that was originally reported.
	OriginalFrame *AssetFrame `json:"originalFrame,omitempty"`

	// Violations: Output only. All the violations that were detected for
	// the frame.
	Violations []*FrameViolationEntry `json:"violations,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "IngestionTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "IngestionTime") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*ErrorFrame) MarshalJSON added in v0.122.0

func (s *ErrorFrame) MarshalJSON() ([]byte, error)

type ExecutionReport

type ExecutionReport struct {
	// ExecutionErrors: Validation errors encountered during the execution
	// of the import job.
	ExecutionErrors *ValidationReport `json:"executionErrors,omitempty"`

	// FramesReported: Total number of asset frames reported for the import
	// job.
	FramesReported int64 `json:"framesReported,omitempty"`

	// JobErrors: List of job-level errors. Deprecated, use the job errors
	// under execution_errors instead.
	JobErrors []*ImportError `json:"jobErrors,omitempty"`

	// TotalRowsCount: Total number of rows in the import job.
	TotalRowsCount int64 `json:"totalRowsCount,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ExecutionErrors") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ExecutionErrors") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

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

func (*ExecutionReport) MarshalJSON

func (s *ExecutionReport) MarshalJSON() ([]byte, error)

type FileValidationReport

type FileValidationReport struct {
	// FileErrors: List of file level errors.
	FileErrors []*ImportError `json:"fileErrors,omitempty"`

	// FileName: The name of the file.
	FileName string `json:"fileName,omitempty"`

	// PartialReport: Flag indicating that processing was aborted due to
	// maximum number of errors.
	PartialReport bool `json:"partialReport,omitempty"`

	// RowErrors: Partial list of rows that encountered validation error.
	RowErrors []*ImportRowError `json:"rowErrors,omitempty"`

	// ForceSendFields is a list of field names (e.g. "FileErrors") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "FileErrors") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*FileValidationReport) MarshalJSON

func (s *FileValidationReport) MarshalJSON() ([]byte, error)

type FitDescriptor added in v0.115.0

type FitDescriptor struct {
	// FitLevel: Fit level.
	//
	// Possible values:
	//   "FIT_LEVEL_UNSPECIFIED" - Not enough information.
	//   "FIT" - Fit.
	//   "NO_FIT" - No Fit.
	//   "REQUIRES_EFFORT" - Fit with effort.
	FitLevel string `json:"fitLevel,omitempty"`

	// ForceSendFields is a list of field names (e.g. "FitLevel") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "FitLevel") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*FitDescriptor) MarshalJSON added in v0.115.0

func (s *FitDescriptor) MarshalJSON() ([]byte, error)

type FrameViolationEntry added in v0.122.0

type FrameViolationEntry struct {
	// Field: The field of the original frame where the violation occurred.
	Field string `json:"field,omitempty"`

	// Violation: A message describing the violation.
	Violation string `json:"violation,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Field") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Field") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*FrameViolationEntry) MarshalJSON added in v0.122.0

func (s *FrameViolationEntry) MarshalJSON() ([]byte, error)

type Frames

type Frames struct {
	// FramesData: A repeated field of asset data.
	FramesData []*AssetFrame `json:"framesData,omitempty"`

	// ForceSendFields is a list of field names (e.g. "FramesData") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "FramesData") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Frames: Collection of frame data.

func (*Frames) MarshalJSON

func (s *Frames) MarshalJSON() ([]byte, error)

type FstabEntry

type FstabEntry struct {
	// File: The mount point for the filesystem.
	File string `json:"file,omitempty"`

	// Freq: Used by dump to determine which filesystems need to be dumped.
	Freq int64 `json:"freq,omitempty"`

	// Mntops: Mount options associated with the filesystem.
	Mntops string `json:"mntops,omitempty"`

	// Passno: Used by the fsck(8) program to determine the order in which
	// filesystem checks are done at reboot time.
	Passno int64 `json:"passno,omitempty"`

	// Spec: The block special device or remote filesystem to be mounted.
	Spec string `json:"spec,omitempty"`

	// Vfstype: The type of the filesystem.
	Vfstype string `json:"vfstype,omitempty"`

	// ForceSendFields is a list of field names (e.g. "File") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "File") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

FstabEntry: Single fstab entry.

func (*FstabEntry) MarshalJSON

func (s *FstabEntry) MarshalJSON() ([]byte, error)

type FstabEntryList

type FstabEntryList struct {
	// Entries: Fstab entries.
	Entries []*FstabEntry `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

FstabEntryList: Fstab content.

func (*FstabEntryList) MarshalJSON

func (s *FstabEntryList) MarshalJSON() ([]byte, error)

type GCSPayloadInfo

type GCSPayloadInfo struct {
	// Format: The import job format.
	//
	// Possible values:
	//   "IMPORT_JOB_FORMAT_UNSPECIFIED" - Default value.
	//   "IMPORT_JOB_FORMAT_CMDB" - Configuration management DB format.
	//   "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_MANUAL_CSV" - CSV format created manually. For
	// more information, see Manually create and upload data tables.
	Format string `json:"format,omitempty"`

	// Path: The payload path in Google Cloud Storage.
	Path string `json:"path,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Format") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Format") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GCSPayloadInfo: A resource that represents a payload hosted on Google Cloud Storage.

func (*GCSPayloadInfo) MarshalJSON

func (s *GCSPayloadInfo) MarshalJSON() ([]byte, error)

type GenericPlatformDetails added in v0.115.0

type GenericPlatformDetails struct {
	// Location: Free text representation of the machine location. The
	// format of this field should not be relied on. Different VMs in the
	// same location may have different string values for this field.
	Location string `json:"location,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Location") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Location") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GenericPlatformDetails: Generic platform details.

func (*GenericPlatformDetails) MarshalJSON added in v0.115.0

func (s *GenericPlatformDetails) MarshalJSON() ([]byte, error)

type GoogleKubernetesEngineMigrationTarget added in v0.115.0

type GoogleKubernetesEngineMigrationTarget struct {
}

GoogleKubernetesEngineMigrationTarget: GKE migration target.

type Group added in v0.115.0

type Group struct {
	// CreateTime: Output only. The timestamp when the group was created.
	CreateTime string `json:"createTime,omitempty"`

	// Description: The description of the resource.
	Description string `json:"description,omitempty"`

	// DisplayName: User-friendly display name.
	DisplayName string `json:"displayName,omitempty"`

	// Labels: Labels as key value pairs.
	Labels map[string]string `json:"labels,omitempty"`

	// Name: Output only. The name of the group.
	Name string `json:"name,omitempty"`

	// UpdateTime: Output only. The timestamp when the group was last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*Group) MarshalJSON added in v0.115.0

func (s *Group) MarshalJSON() ([]byte, error)

type GuestConfigDetails

type GuestConfigDetails struct {
	// Fstab: Mount list (Linux fstab).
	Fstab *FstabEntryList `json:"fstab,omitempty"`

	// Hosts: Hosts file (/etc/hosts).
	Hosts *HostsEntryList `json:"hosts,omitempty"`

	// Issue: OS issue (typically /etc/issue in Linux).
	Issue string `json:"issue,omitempty"`

	// NfsExports: NFS exports.
	NfsExports *NfsExportList `json:"nfsExports,omitempty"`

	// Selinux: SELinux details.
	Selinux *Selinux `json:"selinux,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Fstab") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Fstab") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GuestConfigDetails: Guest OS config information.

func (*GuestConfigDetails) MarshalJSON

func (s *GuestConfigDetails) MarshalJSON() ([]byte, error)

type GuestInstalledApplication

type GuestInstalledApplication struct {
	// Name: Installed application name.
	Name string `json:"name,omitempty"`

	// Path: Source path.
	Path string `json:"path,omitempty"`

	// Time: Date application was installed.
	Time string `json:"time,omitempty"`

	// Vendor: Installed application vendor.
	Vendor string `json:"vendor,omitempty"`

	// Version: Installed application version.
	Version string `json:"version,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Name") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Name") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GuestInstalledApplication: Guest installed application information.

func (*GuestInstalledApplication) MarshalJSON

func (s *GuestInstalledApplication) MarshalJSON() ([]byte, error)

type GuestInstalledApplicationList

type GuestInstalledApplicationList struct {
	// Entries: Application entries.
	Entries []*GuestInstalledApplication `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GuestInstalledApplicationList: Guest installed application list.

func (*GuestInstalledApplicationList) MarshalJSON

func (s *GuestInstalledApplicationList) MarshalJSON() ([]byte, error)

type GuestOsDetails

type GuestOsDetails struct {
	// Config: OS and app configuration.
	Config *GuestConfigDetails `json:"config,omitempty"`

	// Runtime: Runtime information.
	Runtime *GuestRuntimeDetails `json:"runtime,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Config") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Config") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GuestOsDetails: Information from Guest-level collections.

func (*GuestOsDetails) MarshalJSON

func (s *GuestOsDetails) MarshalJSON() ([]byte, error)

type GuestRuntimeDetails

type GuestRuntimeDetails struct {
	// Domain: Domain, e.g. c.stratozone-development.internal.
	Domain string `json:"domain,omitempty"`

	// InstalledApps: Installed applications information.
	InstalledApps *GuestInstalledApplicationList `json:"installedApps,omitempty"`

	// LastUptime: Date since last booted (last uptime date).
	LastUptime *Date `json:"lastUptime,omitempty"`

	// MachineName: Machine name.
	MachineName string `json:"machineName,omitempty"`

	// NetworkInfo: Runtime network information (connections, ports).
	NetworkInfo *RuntimeNetworkInfo `json:"networkInfo,omitempty"`

	// OpenFileList: Open files information.
	OpenFileList *OpenFileList `json:"openFileList,omitempty"`

	// Processes: Running processes.
	Processes *RunningProcessList `json:"processes,omitempty"`

	// Services: Running background services.
	Services *RunningServiceList `json:"services,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Domain") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Domain") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GuestRuntimeDetails: Guest OS runtime information.

func (*GuestRuntimeDetails) MarshalJSON

func (s *GuestRuntimeDetails) MarshalJSON() ([]byte, error)

type HostsEntry

type HostsEntry struct {
	// HostNames: List of host names / aliases.
	HostNames []string `json:"hostNames,omitempty"`

	// Ip: IP (raw, IPv4/6 agnostic).
	Ip string `json:"ip,omitempty"`

	// ForceSendFields is a list of field names (e.g. "HostNames") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "HostNames") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

HostsEntry: Single /etc/hosts entry.

func (*HostsEntry) MarshalJSON

func (s *HostsEntry) MarshalJSON() ([]byte, error)

type HostsEntryList

type HostsEntryList struct {
	// Entries: Hosts entries.
	Entries []*HostsEntry `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

HostsEntryList: Hosts content.

func (*HostsEntryList) MarshalJSON

func (s *HostsEntryList) MarshalJSON() ([]byte, error)

type ImportDataFile added in v0.115.0

type ImportDataFile struct {
	// CreateTime: Output only. The timestamp when the file was created.
	CreateTime string `json:"createTime,omitempty"`

	// DisplayName: User-friendly display name. Maximum length is 63
	// characters.
	DisplayName string `json:"displayName,omitempty"`

	// Format: Required. The payload format.
	//
	// Possible values:
	//   "IMPORT_JOB_FORMAT_UNSPECIFIED" - Default value.
	//   "IMPORT_JOB_FORMAT_CMDB" - Configuration management DB format.
	//   "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_MANUAL_CSV" - CSV format created manually. For
	// more information, see Manually create and upload data tables.
	Format string `json:"format,omitempty"`

	// Name: Output only. The name of the file.
	Name string `json:"name,omitempty"`

	// State: Output only. The state of the import data file.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Default value.
	//   "CREATING" - The data file is being created.
	//   "ACTIVE" - The data file completed initialization.
	State string `json:"state,omitempty"`

	// UploadFileInfo: Information about a file that is uploaded to a
	// storage service.
	UploadFileInfo *UploadFileInfo `json:"uploadFileInfo,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*ImportDataFile) MarshalJSON added in v0.115.0

func (s *ImportDataFile) MarshalJSON() ([]byte, error)

type ImportError

type ImportError struct {
	// ErrorDetails: The error information.
	ErrorDetails string `json:"errorDetails,omitempty"`

	// Severity: The severity of the error.
	//
	// Possible values:
	//   "SEVERITY_UNSPECIFIED"
	//   "ERROR"
	//   "WARNING"
	//   "INFO"
	Severity string `json:"severity,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ErrorDetails") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ErrorDetails") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*ImportError) MarshalJSON

func (s *ImportError) MarshalJSON() ([]byte, error)

type ImportJob

type ImportJob struct {
	// AssetSource: Required. Reference to a source.
	AssetSource string `json:"assetSource,omitempty"`

	// CompleteTime: Output only. The timestamp when the import job was
	// completed.
	CompleteTime string `json:"completeTime,omitempty"`

	// CreateTime: Output only. The timestamp when the import job was
	// created.
	CreateTime string `json:"createTime,omitempty"`

	// DisplayName: User-friendly display name. Maximum length is 63
	// characters.
	DisplayName string `json:"displayName,omitempty"`

	// ExecutionReport: Output only. The report with the results of running
	// the import job.
	ExecutionReport *ExecutionReport `json:"executionReport,omitempty"`

	// GcsPayload: The payload is in Google Cloud Storage.
	GcsPayload *GCSPayloadInfo `json:"gcsPayload,omitempty"`

	// InlinePayload: The payload is included in the request, mainly used
	// for small import jobs.
	InlinePayload *InlinePayloadInfo `json:"inlinePayload,omitempty"`

	// Labels: Labels as key value pairs.
	Labels map[string]string `json:"labels,omitempty"`

	// Name: Output only. The full name of the import job.
	Name string `json:"name,omitempty"`

	// State: Output only. The state of the import job.
	//
	// Possible values:
	//   "IMPORT_JOB_STATE_UNSPECIFIED" - Default value.
	//   "IMPORT_JOB_STATE_PENDING" - The import job is pending.
	//   "IMPORT_JOB_STATE_RUNNING" - The processing of the import job is
	// ongoing.
	//   "IMPORT_JOB_STATE_COMPLETED" - The import job processing has
	// completed.
	//   "IMPORT_JOB_STATE_FAILED" - The import job failed to be processed.
	//   "IMPORT_JOB_STATE_VALIDATING" - The import job is being validated.
	//   "IMPORT_JOB_STATE_FAILED_VALIDATION" - The import job contains
	// blocking errors.
	//   "IMPORT_JOB_STATE_READY" - The validation of the job completed with
	// no blocking errors.
	State string `json:"state,omitempty"`

	// UpdateTime: Output only. The timestamp when the import job was last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// ValidationReport: Output only. The report with the validation results
	// of the import job.
	ValidationReport *ValidationReport `json:"validationReport,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "AssetSource") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AssetSource") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ImportJob: A resource that represents the background job that imports asset frames.

func (*ImportJob) MarshalJSON

func (s *ImportJob) MarshalJSON() ([]byte, error)

type ImportRowError

type ImportRowError struct {
	// Errors: The list of errors detected in the row.
	Errors []*ImportError `json:"errors,omitempty"`

	// RowNumber: The row number where the error was detected.
	RowNumber int64 `json:"rowNumber,omitempty"`

	// VmName: The name of the VM in the row.
	VmName string `json:"vmName,omitempty"`

	// VmUuid: The VM UUID.
	VmUuid string `json:"vmUuid,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Errors") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Errors") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*ImportRowError) MarshalJSON

func (s *ImportRowError) MarshalJSON() ([]byte, error)

type InlinePayloadInfo

type InlinePayloadInfo struct {
	// Format: The import job format.
	//
	// Possible values:
	//   "IMPORT_JOB_FORMAT_UNSPECIFIED" - Default value.
	//   "IMPORT_JOB_FORMAT_CMDB" - Configuration management DB format.
	//   "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_MANUAL_CSV" - CSV format created manually. For
	// more information, see Manually create and upload data tables.
	Format string `json:"format,omitempty"`

	// Payload: List of payload files.
	Payload []*PayloadFile `json:"payload,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Format") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Format") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

InlinePayloadInfo: A resource that represents the inline import job payload.

func (*InlinePayloadInfo) MarshalJSON

func (s *InlinePayloadInfo) MarshalJSON() ([]byte, error)

type Insight added in v0.115.0

type Insight struct {
	// 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. "MigrationInsight") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "MigrationInsight") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

Insight: An insight about an asset.

func (*Insight) MarshalJSON added in v0.115.0

func (s *Insight) MarshalJSON() ([]byte, error)

type InsightList added in v0.115.0

type InsightList struct {
	// Insights: Output only. Insights of the list.
	Insights []*Insight `json:"insights,omitempty"`

	// UpdateTime: Output only. Update timestamp.
	UpdateTime string `json:"updateTime,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Insights") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Insights") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

InsightList: Message containing insights list.

func (*InsightList) MarshalJSON added in v0.115.0

func (s *InsightList) MarshalJSON() ([]byte, error)

type ListAssetsResponse

type ListAssetsResponse struct {
	// Assets: A list of assets.
	Assets []*Asset `json:"assets,omitempty"`

	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Assets") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Assets") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListAssetsResponse: Response message for listing assets.

func (*ListAssetsResponse) MarshalJSON

func (s *ListAssetsResponse) MarshalJSON() ([]byte, error)

type ListErrorFramesResponse added in v0.122.0

type ListErrorFramesResponse struct {
	// ErrorFrames: The list of error frames.
	ErrorFrames []*ErrorFrame `json:"errorFrames,omitempty"`

	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "ErrorFrames") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ErrorFrames") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListErrorFramesResponse: A response for listing error frames.

func (*ListErrorFramesResponse) MarshalJSON added in v0.122.0

func (s *ListErrorFramesResponse) MarshalJSON() ([]byte, error)

type ListGroupsResponse added in v0.115.0

type ListGroupsResponse struct {
	// Groups: The list of Group
	Groups []*Group `json:"groups,omitempty"`

	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Groups") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Groups") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListGroupsResponse: A response for listing groups.

func (*ListGroupsResponse) MarshalJSON added in v0.115.0

func (s *ListGroupsResponse) MarshalJSON() ([]byte, error)

type ListImportDataFilesResponse added in v0.115.0

type ListImportDataFilesResponse struct {
	// ImportDataFiles: The list of import data files.
	ImportDataFiles []*ImportDataFile `json:"importDataFiles,omitempty"`

	// NextPageToken: A token that can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "ImportDataFiles") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ImportDataFiles") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ListImportDataFilesResponse: Response for listing payload files of an import job.

func (*ListImportDataFilesResponse) MarshalJSON added in v0.115.0

func (s *ListImportDataFilesResponse) MarshalJSON() ([]byte, error)

type ListImportJobsResponse

type ListImportJobsResponse struct {
	// ImportJobs: The list of import jobs.
	ImportJobs []*ImportJob `json:"importJobs,omitempty"`

	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "ImportJobs") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ImportJobs") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListImportJobsResponse: A response for listing import jobs.

func (*ListImportJobsResponse) MarshalJSON

func (s *ListImportJobsResponse) MarshalJSON() ([]byte, error)

type ListLocationsResponse

type ListLocationsResponse struct {
	// Locations: A list of locations that matches the specified filter in
	// the request.
	Locations []*Location `json:"locations,omitempty"`

	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Locations") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Locations") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListLocationsResponse: The response message for Locations.ListLocations.

func (*ListLocationsResponse) MarshalJSON

func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)

type ListOperationsResponse

type ListOperationsResponse struct {
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Operations: A list of operations that matches the specified filter in
	// the request.
	Operations []*Operation `json:"operations,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListOperationsResponse: The response message for Operations.ListOperations.

func (*ListOperationsResponse) MarshalJSON

func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)

type ListPreferenceSetsResponse added in v0.115.0

type ListPreferenceSetsResponse struct {
	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// PreferenceSets: The list of PreferenceSets
	PreferenceSets []*PreferenceSet `json:"preferenceSets,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListPreferenceSetsResponse: Response message for listing preference sets.

func (*ListPreferenceSetsResponse) MarshalJSON added in v0.115.0

func (s *ListPreferenceSetsResponse) MarshalJSON() ([]byte, error)

type ListReportConfigsResponse added in v0.115.0

type ListReportConfigsResponse struct {
	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ReportConfigs: A list of report configs.
	ReportConfigs []*ReportConfig `json:"reportConfigs,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListReportConfigsResponse: Response message for listing report configs.

func (*ListReportConfigsResponse) MarshalJSON added in v0.115.0

func (s *ListReportConfigsResponse) MarshalJSON() ([]byte, error)

type ListReportsResponse added in v0.115.0

type ListReportsResponse struct {
	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Reports: The list of Reports.
	Reports []*Report `json:"reports,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListReportsResponse: Response message for listing Reports.

func (*ListReportsResponse) MarshalJSON added in v0.115.0

func (s *ListReportsResponse) MarshalJSON() ([]byte, error)

type ListSourcesResponse

type ListSourcesResponse struct {
	// NextPageToken: A token identifying a page of results the server
	// should return.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Sources: The list of sources.
	Sources []*Source `json:"sources,omitempty"`

	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ListSourcesResponse: Response message for listing sources.

func (*ListSourcesResponse) MarshalJSON

func (s *ListSourcesResponse) MarshalJSON() ([]byte, error)

type Location

type Location struct {
	// DisplayName: The friendly name for this location, typically a nearby
	// city name. For example, "Tokyo".
	DisplayName string `json:"displayName,omitempty"`

	// Labels: Cross-service attributes for the location. For example
	// {"cloud.googleapis.com/region": "us-east1"}
	Labels map[string]string `json:"labels,omitempty"`

	// LocationId: The canonical id for this location. For example:
	// "us-east1".
	LocationId string `json:"locationId,omitempty"`

	// Metadata: Service-specific metadata. For example the available
	// capacity at the given location.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`

	// Name: Resource name for the location, which may vary between
	// implementations. For example:
	// "projects/example-project/locations/us-east1"
	Name string `json:"name,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DisplayName") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Location: A resource that represents a Google Cloud location.

func (*Location) MarshalJSON

func (s *Location) MarshalJSON() ([]byte, error)

type MachinePreferences added in v0.115.0

type MachinePreferences struct {
	// AllowedMachineSeries: Compute Engine machine series to consider for
	// insights and recommendations. If empty, no restriction is applied on
	// the machine series.
	AllowedMachineSeries []*MachineSeries `json:"allowedMachineSeries,omitempty"`

	// ForceSendFields is a list of field names (e.g.
	// "AllowedMachineSeries") to unconditionally include in API requests.
	// By default, fields with empty or default values are omitted from API
	// requests. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllowedMachineSeries") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

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

func (*MachinePreferences) MarshalJSON added in v0.115.0

func (s *MachinePreferences) MarshalJSON() ([]byte, error)

type MachineSeries added in v0.115.0

type MachineSeries struct {
	// Code: Code to identify a Compute Engine machine series. Consult
	// https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison
	// for more details on the available series.
	Code string `json:"code,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Code") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Code") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

MachineSeries: A Compute Engine machine series.

func (*MachineSeries) MarshalJSON added in v0.115.0

func (s *MachineSeries) MarshalJSON() ([]byte, error)

type MemoryUsageSample

type MemoryUsageSample struct {
	// UtilizedPercentage: Percentage of system memory utilized. Must be in
	// the interval [0, 100].
	UtilizedPercentage float64 `json:"utilizedPercentage,omitempty"`

	// ForceSendFields is a list of field names (e.g. "UtilizedPercentage")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UtilizedPercentage") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

MemoryUsageSample: Memory usage sample.

func (*MemoryUsageSample) MarshalJSON

func (s *MemoryUsageSample) MarshalJSON() ([]byte, error)

func (*MemoryUsageSample) UnmarshalJSON

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

type MigrationInsight added in v0.115.0

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"`

	// GkeTarget: Output only. A Google Kubernetes Engine target.
	GkeTarget *GoogleKubernetesEngineMigrationTarget `json:"gkeTarget,omitempty"`

	// VmwareEngineTarget: Output only. A VMWare Engine target.
	VmwareEngineTarget *VmwareEngineMigrationTarget `json:"vmwareEngineTarget,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ComputeEngineTarget")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ComputeEngineTarget") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

MigrationInsight: An insight about potential migrations for an asset.

func (*MigrationInsight) MarshalJSON added in v0.115.0

func (s *MigrationInsight) MarshalJSON() ([]byte, error)

type Money added in v0.115.0

type Money struct {
	// CurrencyCode: The three-letter currency code defined in ISO 4217.
	CurrencyCode string `json:"currencyCode,omitempty"`

	// Nanos: Number of nano (10^-9) units of the amount. The value must be
	// between -999,999,999 and +999,999,999 inclusive. If `units` is
	// positive, `nanos` must be positive or zero. If `units` is zero,
	// `nanos` can be positive, zero, or negative. If `units` is negative,
	// `nanos` must be negative or zero. For example $-1.75 is represented
	// as `units`=-1 and `nanos`=-750,000,000.
	Nanos int64 `json:"nanos,omitempty"`

	// Units: The whole units of the amount. For example if `currencyCode`
	// is "USD", then 1 unit is one US dollar.
	Units int64 `json:"units,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "CurrencyCode") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CurrencyCode") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*Money) MarshalJSON added in v0.115.0

func (s *Money) MarshalJSON() ([]byte, error)

type NetworkAdapterDetails

type NetworkAdapterDetails struct {
	// AdapterType: Network adapter type (e.g. VMXNET3).
	AdapterType string `json:"adapterType,omitempty"`

	// Addresses: NetworkAddressList
	Addresses *NetworkAddressList `json:"addresses,omitempty"`

	// MacAddress: MAC address.
	MacAddress string `json:"macAddress,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AdapterType") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AdapterType") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

NetworkAdapterDetails: Details of network adapter.

func (*NetworkAdapterDetails) MarshalJSON

func (s *NetworkAdapterDetails) MarshalJSON() ([]byte, error)

type NetworkAdapterList

type NetworkAdapterList struct {
	// NetworkAdapters: Network adapter descriptions.
	NetworkAdapters []*NetworkAdapterDetails `json:"networkAdapters,omitempty"`

	// ForceSendFields is a list of field names (e.g. "NetworkAdapters") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NetworkAdapters") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

NetworkAdapterList: List of network adapters.

func (*NetworkAdapterList) MarshalJSON

func (s *NetworkAdapterList) MarshalJSON() ([]byte, error)

type NetworkAddress

type NetworkAddress struct {
	// Assignment: Whether DHCP is used to assign addresses.
	//
	// Possible values:
	//   "ADDRESS_ASSIGNMENT_UNSPECIFIED" - Unknown (default value).
	//   "ADDRESS_ASSIGNMENT_STATIC" - Staticly assigned IP.
	//   "ADDRESS_ASSIGNMENT_DHCP" - Dynamically assigned IP (DHCP).
	Assignment string `json:"assignment,omitempty"`

	// Bcast: Broadcast address.
	Bcast string `json:"bcast,omitempty"`

	// Fqdn: Fully qualified domain name.
	Fqdn string `json:"fqdn,omitempty"`

	// IpAddress: Assigned or configured IP Address.
	IpAddress string `json:"ipAddress,omitempty"`

	// SubnetMask: Subnet mask.
	SubnetMask string `json:"subnetMask,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Assignment") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Assignment") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

NetworkAddress: Details of network address.

func (*NetworkAddress) MarshalJSON

func (s *NetworkAddress) MarshalJSON() ([]byte, error)

type NetworkAddressList

type NetworkAddressList struct {
	// Addresses: Network address entries.
	Addresses []*NetworkAddress `json:"addresses,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Addresses") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Addresses") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

NetworkAddressList: List of allocated/assigned network addresses.

func (*NetworkAddressList) MarshalJSON

func (s *NetworkAddressList) MarshalJSON() ([]byte, error)

type NetworkConnection

type NetworkConnection struct {
	// LocalIpAddress: Local IP address.
	LocalIpAddress string `json:"localIpAddress,omitempty"`

	// LocalPort: Local port.
	LocalPort int64 `json:"localPort,omitempty"`

	// Pid: Process ID.
	Pid int64 `json:"pid,omitempty,string"`

	// ProcessName: Process or service name.
	ProcessName string `json:"processName,omitempty"`

	// Protocol: Connection protocol (e.g. TCP/UDP).
	Protocol string `json:"protocol,omitempty"`

	// RemoteIpAddress: Remote IP address.
	RemoteIpAddress string `json:"remoteIpAddress,omitempty"`

	// RemotePort: Remote port.
	RemotePort int64 `json:"remotePort,omitempty"`

	// State: Connection state (e.g. CONNECTED).
	State string `json:"state,omitempty"`

	// ForceSendFields is a list of field names (e.g. "LocalIpAddress") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "LocalIpAddress") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

func (*NetworkConnection) MarshalJSON

func (s *NetworkConnection) MarshalJSON() ([]byte, error)

type NetworkConnectionList

type NetworkConnectionList struct {
	// Entries: Network connection entries.
	Entries []*NetworkConnection `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

NetworkConnectionList: Network connection list.

func (*NetworkConnectionList) MarshalJSON

func (s *NetworkConnectionList) MarshalJSON() ([]byte, error)

type NetworkUsageSample

type NetworkUsageSample struct {
	// AverageEgressBps: Average network egress in B/s sampled over a short
	// window. Must be non-negative.
	AverageEgressBps float64 `json:"averageEgressBps,omitempty"`

	// AverageIngressBps: Average network ingress in B/s sampled over a
	// short window. Must be non-negative.
	AverageIngressBps float64 `json:"averageIngressBps,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AverageEgressBps") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AverageEgressBps") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

NetworkUsageSample: Network usage sample. Values are across all network interfaces.

func (*NetworkUsageSample) MarshalJSON

func (s *NetworkUsageSample) MarshalJSON() ([]byte, error)

func (*NetworkUsageSample) UnmarshalJSON

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

type NfsExport

type NfsExport struct {
	// ExportDirectory: The directory being exported.
	ExportDirectory string `json:"exportDirectory,omitempty"`

	// Hosts: The hosts or networks to which the export is being shared.
	Hosts []string `json:"hosts,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ExportDirectory") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ExportDirectory") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

NfsExport: NFS export.

func (*NfsExport) MarshalJSON

func (s *NfsExport) MarshalJSON() ([]byte, error)

type NfsExportList

type NfsExportList struct {
	// Entries: NFS export entries.
	Entries []*NfsExport `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

NfsExportList: NFS exports.

func (*NfsExportList) MarshalJSON

func (s *NfsExportList) MarshalJSON() ([]byte, error)

type OpenFileDetails

type OpenFileDetails struct {
	// Command: Opened file command.
	Command string `json:"command,omitempty"`

	// FilePath: Opened file file path.
	FilePath string `json:"filePath,omitempty"`

	// FileType: Opened file file type.
	FileType string `json:"fileType,omitempty"`

	// User: Opened file user.
	User string `json:"user,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Command") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Command") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

OpenFileDetails: Open file Information.

func (*OpenFileDetails) MarshalJSON

func (s *OpenFileDetails) MarshalJSON() ([]byte, error)

type OpenFileList

type OpenFileList struct {
	// Entries: Open file details entries.
	Entries []*OpenFileDetails `json:"entries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Entries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Entries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

OpenFileList: Open file list.

func (*OpenFileList) MarshalJSON

func (s *OpenFileList) MarshalJSON() ([]byte, error)

type Operation

type Operation struct {
	// Done: If the value is `false`, it means the operation is still in
	// progress. If `true`, the operation is completed, and either `error`
	// or `response` is available.
	Done bool `json:"done,omitempty"`

	// Error: The error result of the operation in case of failure or
	// cancellation.
	Error *Status `json:"error,omitempty"`

	// Metadata: Service-specific metadata associated with the operation. It
	// typically contains progress information and common metadata such as
	// create time. Some services might not provide such metadata. Any
	// method that returns a long-running operation should document the
	// metadata type, if any.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`

	// Name: The server-assigned name, which is only unique within the same
	// service that originally returns it. If you use the default HTTP
	// mapping, the `name` should be a resource name ending with
	// `operations/{unique_id}`.
	Name string `json:"name,omitempty"`

	// Response: The normal response of the operation in case of success. If
	// the original method returns no data on success, such as `Delete`, the
	// response is `google.protobuf.Empty`. If the original method is
	// standard `Get`/`Create`/`Update`, the response should be the
	// resource. For other methods, the response should have the type
	// `XxxResponse`, where `Xxx` is the original method name. For example,
	// if the original method name is `TakeSnapshot()`, the inferred
	// response type is `TakeSnapshotResponse`.
	Response googleapi.RawMessage `json:"response,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Done") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Done") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*Operation) MarshalJSON

func (s *Operation) MarshalJSON() ([]byte, error)

type OperationMetadata

type OperationMetadata struct {
	// ApiVersion: Output only. API version used to start the operation.
	ApiVersion string `json:"apiVersion,omitempty"`

	// CreateTime: Output only. The time the operation was created.
	CreateTime string `json:"createTime,omitempty"`

	// EndTime: Output only. The time the operation finished running.
	EndTime string `json:"endTime,omitempty"`

	// RequestedCancellation: Output only. Identifies whether the user has
	// requested cancellation of the operation. Operations that have been
	// cancelled successfully have Operation.error value with a
	// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
	RequestedCancellation bool `json:"requestedCancellation,omitempty"`

	// StatusMessage: Output only. Human-readable status of the operation,
	// if any.
	StatusMessage string `json:"statusMessage,omitempty"`

	// Target: Output only. Server-defined resource path for the target of
	// the operation.
	Target string `json:"target,omitempty"`

	// Verb: Output only. Name of the verb executed by the operation.
	Verb string `json:"verb,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ApiVersion") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ApiVersion") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*OperationMetadata) MarshalJSON

func (s *OperationMetadata) MarshalJSON() ([]byte, error)

type PayloadFile

type PayloadFile struct {
	// Data: The file data.
	Data string `json:"data,omitempty"`

	// Name: The file name.
	Name string `json:"name,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Data") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Data") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

PayloadFile: Payload file for inline import job payload.

func (*PayloadFile) MarshalJSON

func (s *PayloadFile) MarshalJSON() ([]byte, error)

type PerformanceSample

type PerformanceSample struct {
	// Cpu: CPU usage sample.
	Cpu *CpuUsageSample `json:"cpu,omitempty"`

	// Disk: Disk usage sample.
	Disk *DiskUsageSample `json:"disk,omitempty"`

	// Memory: Memory usage sample.
	Memory *MemoryUsageSample `json:"memory,omitempty"`

	// Network: Network usage sample.
	Network *NetworkUsageSample `json:"network,omitempty"`

	// SampleTime: Required. Time the sample was collected.
	SampleTime string `json:"sampleTime,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Cpu") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Cpu") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

PerformanceSample: Performance data sample.

func (*PerformanceSample) MarshalJSON

func (s *PerformanceSample) MarshalJSON() ([]byte, error)

type PhysicalPlatformDetails added in v0.115.0

type PhysicalPlatformDetails struct {
	// Location: Free text representation of the machine location. The
	// format of this field should not be relied on. Different machines in
	// the same location may have different string values for this field.
	Location string `json:"location,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Location") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Location") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

PhysicalPlatformDetails: Platform specific details for Physical Machines.

func (*PhysicalPlatformDetails) MarshalJSON added in v0.115.0

func (s *PhysicalPlatformDetails) MarshalJSON() ([]byte, error)

type PlatformDetails

type PlatformDetails struct {
	// AwsEc2Details: AWS EC2 specific details.
	AwsEc2Details *AwsEc2PlatformDetails `json:"awsEc2Details,omitempty"`

	// AzureVmDetails: Azure VM specific details.
	AzureVmDetails *AzureVmPlatformDetails `json:"azureVmDetails,omitempty"`

	// GenericDetails: Generic platform details.
	GenericDetails *GenericPlatformDetails `json:"genericDetails,omitempty"`

	// PhysicalDetails: Physical machines platform details.
	PhysicalDetails *PhysicalPlatformDetails `json:"physicalDetails,omitempty"`

	// VmwareDetails: VMware specific details.
	VmwareDetails *VmwarePlatformDetails `json:"vmwareDetails,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AwsEc2Details") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AwsEc2Details") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

PlatformDetails: Information about the platform.

func (*PlatformDetails) MarshalJSON

func (s *PlatformDetails) MarshalJSON() ([]byte, error)

type PreferenceSet added in v0.115.0

type PreferenceSet struct {
	// CreateTime: Output only. The timestamp when the preference set was
	// created.
	CreateTime string `json:"createTime,omitempty"`

	// Description: A description of the preference set.
	Description string `json:"description,omitempty"`

	// DisplayName: User-friendly display name. Maximum length is 63
	// characters.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. Name of the preference set.
	Name string `json:"name,omitempty"`

	// UpdateTime: Output only. The timestamp when the preference set was
	// last updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// VirtualMachinePreferences: A set of preferences that applies to all
	// virtual machines in the context.
	VirtualMachinePreferences *VirtualMachinePreferences `json:"virtualMachinePreferences,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*PreferenceSet) MarshalJSON added in v0.115.0

func (s *PreferenceSet) MarshalJSON() ([]byte, error)

type ProjectsLocationsAssetsAggregateValuesCall

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

func (*ProjectsLocationsAssetsAggregateValuesCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsAggregateValuesCall) Do

Do executes the "migrationcenter.projects.locations.assets.aggregateValues" call. Exactly one of *AggregateAssetsValuesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AggregateAssetsValuesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsAggregateValuesCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsAggregateValuesCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsAssetsBatchDeleteCall added in v0.115.0

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

func (*ProjectsLocationsAssetsBatchDeleteCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsBatchDeleteCall) Do added in v0.115.0

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

func (*ProjectsLocationsAssetsBatchDeleteCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsBatchDeleteCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsAssetsBatchUpdateCall added in v0.114.0

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

func (*ProjectsLocationsAssetsBatchUpdateCall) Context added in v0.114.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsBatchUpdateCall) Do added in v0.114.0

Do executes the "migrationcenter.projects.locations.assets.batchUpdate" call. Exactly one of *BatchUpdateAssetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BatchUpdateAssetsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsBatchUpdateCall) Fields added in v0.114.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsBatchUpdateCall) Header added in v0.114.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsAssetsDeleteCall

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

func (*ProjectsLocationsAssetsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsDeleteCall) Do

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

func (*ProjectsLocationsAssetsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsAssetsDeleteCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsAssetsGetCall

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

func (*ProjectsLocationsAssetsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsGetCall) Do

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

func (*ProjectsLocationsAssetsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsAssetsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsAssetsGetCall) View

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

Possible values:

"ASSET_VIEW_UNSPECIFIED" - The asset view is not specified. The API

displays the basic view by default.

"ASSET_VIEW_BASIC" - The asset view includes only basic metadata of

the asset.

"ASSET_VIEW_FULL" - The asset view includes all the metadata of an

asset and performance data.

"ASSET_VIEW_STANDARD" - The asset view includes the standard

metadata of an asset.

type ProjectsLocationsAssetsListCall

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

func (*ProjectsLocationsAssetsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsListCall) Do

Do executes the "migrationcenter.projects.locations.assets.list" call. Exactly one of *ListAssetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAssetsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsListCall) Filter

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

func (*ProjectsLocationsAssetsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsAssetsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsAssetsListCall) OrderBy

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

func (*ProjectsLocationsAssetsListCall) PageSize

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

func (*ProjectsLocationsAssetsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page 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) View

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

Possible values:

"ASSET_VIEW_UNSPECIFIED" - The asset view is not specified. The API

displays the basic view by default.

"ASSET_VIEW_BASIC" - The asset view includes only basic metadata of

the asset.

"ASSET_VIEW_FULL" - The asset view includes all the metadata of an

asset and performance data.

"ASSET_VIEW_STANDARD" - The asset view includes the standard

metadata of an asset.

type ProjectsLocationsAssetsPatchCall

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

func (*ProjectsLocationsAssetsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsPatchCall) Do

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

func (*ProjectsLocationsAssetsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsAssetsPatchCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAssetsPatchCall) UpdateMask

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

type ProjectsLocationsAssetsReportAssetFramesCall

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

func (*ProjectsLocationsAssetsReportAssetFramesCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsAssetsReportAssetFramesCall) Do

Do executes the "migrationcenter.projects.locations.assets.reportAssetFrames" call. Exactly one of *ReportAssetFramesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReportAssetFramesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAssetsReportAssetFramesCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsAssetsReportAssetFramesCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsAssetsReportAssetFramesCall) Source

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

type ProjectsLocationsAssetsService

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

func NewProjectsLocationsAssetsService

func NewProjectsLocationsAssetsService(s *Service) *ProjectsLocationsAssetsService

func (*ProjectsLocationsAssetsService) AggregateValues

func (r *ProjectsLocationsAssetsService) AggregateValues(parent string, aggregateassetsvaluesrequest *AggregateAssetsValuesRequest) *ProjectsLocationsAssetsAggregateValuesCall

AggregateValues: Aggregates the requested fields based on provided function.

- parent: Parent value for `AggregateAssetsValuesRequest`.

func (*ProjectsLocationsAssetsService) BatchDelete added in v0.115.0

BatchDelete: Deletes list of Assets.

- parent: Parent value for batch asset delete.

func (*ProjectsLocationsAssetsService) BatchUpdate added in v0.114.0

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.

type ProjectsLocationsGetCall

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

func (*ProjectsLocationsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGetCall) Do

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

func (*ProjectsLocationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGetCall) Header

func (c *ProjectsLocationsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGetCall) IfNoneMatch

func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsGetSettingsCall added in v0.115.0

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

func (*ProjectsLocationsGetSettingsCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGetSettingsCall) Do added in v0.115.0

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

func (*ProjectsLocationsGetSettingsCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGetSettingsCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGetSettingsCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsGroupsAddAssetsCall added in v0.115.0

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

func (*ProjectsLocationsGroupsAddAssetsCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsAddAssetsCall) Do added in v0.115.0

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

func (*ProjectsLocationsGroupsAddAssetsCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsAddAssetsCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsGroupsCreateCall added in v0.115.0

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

func (*ProjectsLocationsGroupsCreateCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsCreateCall) Do added in v0.115.0

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

func (*ProjectsLocationsGroupsCreateCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsCreateCall) GroupId added in v0.115.0

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

func (*ProjectsLocationsGroupsCreateCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsCreateCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsGroupsDeleteCall added in v0.115.0

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

func (*ProjectsLocationsGroupsDeleteCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsDeleteCall) Do added in v0.115.0

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

func (*ProjectsLocationsGroupsDeleteCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsDeleteCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsDeleteCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsGroupsGetCall added in v0.115.0

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

func (*ProjectsLocationsGroupsGetCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsGetCall) Do added in v0.115.0

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

func (*ProjectsLocationsGroupsGetCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsGetCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsGetCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsGroupsListCall added in v0.115.0

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

func (*ProjectsLocationsGroupsListCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsListCall) Do added in v0.115.0

Do executes the "migrationcenter.projects.locations.groups.list" call. Exactly one of *ListGroupsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListGroupsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGroupsListCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsListCall) Filter added in v0.115.0

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

func (*ProjectsLocationsGroupsListCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsListCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsGroupsListCall) OrderBy added in v0.115.0

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

func (*ProjectsLocationsGroupsListCall) PageSize added in v0.115.0

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

func (*ProjectsLocationsGroupsListCall) PageToken added in v0.115.0

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

func (*ProjectsLocationsGroupsListCall) Pages added in v0.115.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.

type ProjectsLocationsGroupsPatchCall added in v0.115.0

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

func (*ProjectsLocationsGroupsPatchCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsPatchCall) Do added in v0.115.0

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

func (*ProjectsLocationsGroupsPatchCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsPatchCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsGroupsPatchCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsGroupsPatchCall) UpdateMask added in v0.115.0

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

type ProjectsLocationsGroupsRemoveAssetsCall added in v0.115.0

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

func (*ProjectsLocationsGroupsRemoveAssetsCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsGroupsRemoveAssetsCall) Do added in v0.115.0

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

func (*ProjectsLocationsGroupsRemoveAssetsCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsGroupsRemoveAssetsCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsGroupsService added in v0.115.0

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

func NewProjectsLocationsGroupsService added in v0.115.0

func NewProjectsLocationsGroupsService(s *Service) *ProjectsLocationsGroupsService

func (*ProjectsLocationsGroupsService) AddAssets added in v0.115.0

AddAssets: Adds assets to a group.

- group: Group reference.

func (*ProjectsLocationsGroupsService) Create added in v0.115.0

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

- parent: Value for parent.

func (*ProjectsLocationsGroupsService) Delete added in v0.115.0

Delete: Deletes a group.

- name: Name of the group resource.

func (*ProjectsLocationsGroupsService) Get added in v0.115.0

Get: Gets the details of a group.

- name: Name of the resource.

func (*ProjectsLocationsGroupsService) List added in v0.115.0

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

- parent: Parent value for `ListGroupsRequest`.

func (*ProjectsLocationsGroupsService) Patch added in v0.115.0

Patch: Updates the parameters of a group.

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

func (*ProjectsLocationsGroupsService) RemoveAssets added in v0.115.0

RemoveAssets: Removes assets from a group.

- group: Group reference.

type ProjectsLocationsImportJobsCreateCall

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

func (*ProjectsLocationsImportJobsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsCreateCall) Do

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

func (*ProjectsLocationsImportJobsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsCreateCall) ImportJobId

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

func (*ProjectsLocationsImportJobsCreateCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsImportJobsDeleteCall

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

func (*ProjectsLocationsImportJobsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsDeleteCall) Do

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

func (*ProjectsLocationsImportJobsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsDeleteCall) Force added in v0.115.0

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

func (*ProjectsLocationsImportJobsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsDeleteCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsImportJobsGetCall

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

func (*ProjectsLocationsImportJobsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsGetCall) Do

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

func (*ProjectsLocationsImportJobsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsImportJobsGetCall) View

View sets the optional parameter "view": The level of details of the import job. Default value is FULL.

Possible values:

"IMPORT_JOB_VIEW_UNSPECIFIED" - The import job view is not

specified. The API displays the basic view by default.

"IMPORT_JOB_VIEW_BASIC" - The import job view includes basic

metadata of an import job. This view does not include payload information.

"IMPORT_JOB_VIEW_FULL" - The import job view includes all metadata

of an import job.

type ProjectsLocationsImportJobsImportDataFilesCreateCall added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Do added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) ImportDataFileId added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesCreateCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsImportJobsImportDataFilesDeleteCall added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Do added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsImportDataFilesDeleteCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsImportJobsImportDataFilesGetCall added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesGetCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsImportDataFilesGetCall) Do added in v0.115.0

Do executes the "migrationcenter.projects.locations.importJobs.importDataFiles.get" call. Exactly one of *ImportDataFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImportDataFile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsImportDataFilesGetCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsImportDataFilesGetCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsImportDataFilesGetCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsImportJobsImportDataFilesListCall added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsImportDataFilesListCall) Do added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsImportDataFilesListCall) Filter added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsImportDataFilesListCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsImportJobsImportDataFilesListCall) OrderBy added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall) PageSize added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall) PageToken added in v0.115.0

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

func (*ProjectsLocationsImportJobsImportDataFilesListCall) Pages added in v0.115.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.

type ProjectsLocationsImportJobsImportDataFilesService added in v0.115.0

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

func NewProjectsLocationsImportJobsImportDataFilesService added in v0.115.0

func NewProjectsLocationsImportJobsImportDataFilesService(s *Service) *ProjectsLocationsImportJobsImportDataFilesService

func (*ProjectsLocationsImportJobsImportDataFilesService) Create added in v0.115.0

Create: Creates an import data file.

- parent: Name of the parent of the ImportDataFile.

func (*ProjectsLocationsImportJobsImportDataFilesService) Delete added in v0.115.0

Delete: Delete an import data file.

- name: Name of the ImportDataFile to delete.

func (*ProjectsLocationsImportJobsImportDataFilesService) Get added in v0.115.0

Get: Gets an import data file.

- name: Name of the ImportDataFile.

func (*ProjectsLocationsImportJobsImportDataFilesService) List added in v0.115.0

List: List import data files.

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

type ProjectsLocationsImportJobsListCall

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

func (*ProjectsLocationsImportJobsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsListCall) Do

Do executes the "migrationcenter.projects.locations.importJobs.list" call. Exactly one of *ListImportJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListImportJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsImportJobsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsListCall) Filter

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

func (*ProjectsLocationsImportJobsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsImportJobsListCall) OrderBy

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

func (*ProjectsLocationsImportJobsListCall) PageSize

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

func (*ProjectsLocationsImportJobsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page 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 import job. Default value is BASIC.

Possible values:

"IMPORT_JOB_VIEW_UNSPECIFIED" - The import job view is not

specified. The API displays the basic view by default.

"IMPORT_JOB_VIEW_BASIC" - The import job view includes basic

metadata of an import job. This view does not include payload information.

"IMPORT_JOB_VIEW_FULL" - The import job view includes all metadata

of an import job.

type ProjectsLocationsImportJobsPatchCall

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

func (*ProjectsLocationsImportJobsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsPatchCall) Do

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

func (*ProjectsLocationsImportJobsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsImportJobsPatchCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsImportJobsPatchCall) UpdateMask

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

type ProjectsLocationsImportJobsRunCall

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

func (*ProjectsLocationsImportJobsRunCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsRunCall) Do

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

func (*ProjectsLocationsImportJobsRunCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsRunCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsImportJobsService

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

func NewProjectsLocationsImportJobsService

func NewProjectsLocationsImportJobsService(s *Service) *ProjectsLocationsImportJobsService

func (*ProjectsLocationsImportJobsService) Create

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.

type ProjectsLocationsImportJobsValidateCall

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

func (*ProjectsLocationsImportJobsValidateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsImportJobsValidateCall) Do

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

func (*ProjectsLocationsImportJobsValidateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsImportJobsValidateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsListCall

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

func (*ProjectsLocationsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsListCall) Do

Do executes the "migrationcenter.projects.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsListCall) Filter

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

func (*ProjectsLocationsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsListCall) IfNoneMatch

func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsListCall) PageSize

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

func (*ProjectsLocationsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

func (*ProjectsLocationsListCall) Pages

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

type ProjectsLocationsOperationsCancelCall

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

func (*ProjectsLocationsOperationsCancelCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsCancelCall) Do

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

func (*ProjectsLocationsOperationsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsCancelCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsOperationsDeleteCall

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

func (*ProjectsLocationsOperationsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsDeleteCall) Do

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

func (*ProjectsLocationsOperationsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsOperationsGetCall

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

func (*ProjectsLocationsOperationsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsGetCall) Do

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

func (*ProjectsLocationsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsOperationsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsOperationsListCall) Do

Do executes the "migrationcenter.projects.locations.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsOperationsListCall) Filter

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

func (*ProjectsLocationsOperationsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsOperationsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsOperationsListCall) PageSize

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

func (*ProjectsLocationsOperationsListCall) PageToken

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

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.

type ProjectsLocationsOperationsService

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

func NewProjectsLocationsOperationsService

func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService

func (*ProjectsLocationsOperationsService) Cancel

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

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

func (*ProjectsLocationsOperationsService) Delete

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

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

func (*ProjectsLocationsOperationsService) Get

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

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService) List

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

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

type ProjectsLocationsPreferenceSetsCreateCall added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsCreateCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsPreferenceSetsCreateCall) Do added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsCreateCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsPreferenceSetsCreateCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsPreferenceSetsCreateCall) PreferenceSetId added in v0.115.0

PreferenceSetId sets the optional parameter "preferenceSetId":

func (*ProjectsLocationsPreferenceSetsCreateCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsPreferenceSetsDeleteCall added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsDeleteCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsPreferenceSetsDeleteCall) Do added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsDeleteCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsPreferenceSetsDeleteCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsPreferenceSetsDeleteCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsPreferenceSetsGetCall added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsGetCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsPreferenceSetsGetCall) Do added in v0.115.0

Do executes the "migrationcenter.projects.locations.preferenceSets.get" call. Exactly one of *PreferenceSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PreferenceSet.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsPreferenceSetsGetCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsPreferenceSetsGetCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsPreferenceSetsGetCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsPreferenceSetsListCall added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsListCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsPreferenceSetsListCall) Do added in v0.115.0

Do executes the "migrationcenter.projects.locations.preferenceSets.list" call. Exactly one of *ListPreferenceSetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListPreferenceSetsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsPreferenceSetsListCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsPreferenceSetsListCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsPreferenceSetsListCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsPreferenceSetsListCall) OrderBy added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsListCall) PageSize added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsListCall) PageToken added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsListCall) Pages added in v0.115.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.

type ProjectsLocationsPreferenceSetsPatchCall added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsPatchCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsPreferenceSetsPatchCall) Do added in v0.115.0

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

func (*ProjectsLocationsPreferenceSetsPatchCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsPreferenceSetsPatchCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsPreferenceSetsPatchCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsPreferenceSetsPatchCall) UpdateMask added in v0.115.0

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

type ProjectsLocationsPreferenceSetsService added in v0.115.0

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

func NewProjectsLocationsPreferenceSetsService added in v0.115.0

func NewProjectsLocationsPreferenceSetsService(s *Service) *ProjectsLocationsPreferenceSetsService

func (*ProjectsLocationsPreferenceSetsService) Create added in v0.115.0

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

- parent: Value for parent.

func (*ProjectsLocationsPreferenceSetsService) Delete added in v0.115.0

Delete: Deletes a preference set.

- name: Name of the group resource.

func (*ProjectsLocationsPreferenceSetsService) Get added in v0.115.0

Get: Gets the details of a preference set.

- name: Name of the resource.

func (*ProjectsLocationsPreferenceSetsService) List added in v0.115.0

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

- parent: Parent value for `ListPreferenceSetsRequest`.

func (*ProjectsLocationsPreferenceSetsService) Patch added in v0.115.0

Patch: Updates the parameters of a preference set.

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

type ProjectsLocationsReportConfigsCreateCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsCreateCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsCreateCall) Do added in v0.115.0

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

func (*ProjectsLocationsReportConfigsCreateCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsCreateCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsCreateCall) ReportConfigId added in v0.115.0

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

func (*ProjectsLocationsReportConfigsCreateCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsReportConfigsDeleteCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsDeleteCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsDeleteCall) Do added in v0.115.0

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

func (*ProjectsLocationsReportConfigsDeleteCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsDeleteCall) Force added in v0.115.0

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

func (*ProjectsLocationsReportConfigsDeleteCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsDeleteCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsReportConfigsGetCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsGetCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsGetCall) Do added in v0.115.0

Do executes the "migrationcenter.projects.locations.reportConfigs.get" call. Exactly one of *ReportConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReportConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsGetCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsGetCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsGetCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsReportConfigsListCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsListCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsListCall) Do added in v0.115.0

Do executes the "migrationcenter.projects.locations.reportConfigs.list" call. Exactly one of *ListReportConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListReportConfigsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsListCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsListCall) Filter added in v0.115.0

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

func (*ProjectsLocationsReportConfigsListCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsListCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsReportConfigsListCall) OrderBy added in v0.115.0

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

func (*ProjectsLocationsReportConfigsListCall) PageSize added in v0.115.0

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

func (*ProjectsLocationsReportConfigsListCall) PageToken added in v0.115.0

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

func (*ProjectsLocationsReportConfigsListCall) Pages added in v0.115.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.

type ProjectsLocationsReportConfigsReportsCreateCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsCreateCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsReportsCreateCall) Do added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsCreateCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsReportsCreateCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsReportsCreateCall) ReportId added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsCreateCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsReportConfigsReportsDeleteCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsDeleteCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsReportsDeleteCall) Do added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsDeleteCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsReportsDeleteCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsReportsDeleteCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsReportConfigsReportsGetCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsGetCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsReportsGetCall) Do added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsGetCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsReportsGetCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsReportsGetCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsReportConfigsReportsGetCall) View added in v0.115.0

View sets the optional parameter "view": Determines what information to retrieve for the Report.

Possible values:

"REPORT_VIEW_UNSPECIFIED" - The report view is not specified. The

API displays the basic view by default.

"REPORT_VIEW_BASIC" - The report view includes only basic metadata

of the Report. Useful for list views.

"REPORT_VIEW_FULL" - The report view includes all the metadata of

the Report. Useful for preview.

"REPORT_VIEW_STANDARD" - The report view includes the standard

metadata of an report. Useful for detail view.

type ProjectsLocationsReportConfigsReportsListCall added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsListCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsReportConfigsReportsListCall) Do added in v0.115.0

Do executes the "migrationcenter.projects.locations.reportConfigs.reports.list" call. Exactly one of *ListReportsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListReportsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsReportConfigsReportsListCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsReportConfigsReportsListCall) Filter added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsListCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsReportConfigsReportsListCall) IfNoneMatch added in v0.115.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsReportConfigsReportsListCall) OrderBy added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsListCall) PageSize added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsListCall) PageToken added in v0.115.0

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

func (*ProjectsLocationsReportConfigsReportsListCall) Pages added in v0.115.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.

func (*ProjectsLocationsReportConfigsReportsListCall) View added in v0.115.0

View sets the optional parameter "view": Determines what information to retrieve for each Report.

Possible values:

"REPORT_VIEW_UNSPECIFIED" - The report view is not specified. The

API displays the basic view by default.

"REPORT_VIEW_BASIC" - The report view includes only basic metadata

of the Report. Useful for list views.

"REPORT_VIEW_FULL" - The report view includes all the metadata of

the Report. Useful for preview.

"REPORT_VIEW_STANDARD" - The report view includes the standard

metadata of an report. Useful for detail view.

type ProjectsLocationsReportConfigsReportsService added in v0.115.0

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

func NewProjectsLocationsReportConfigsReportsService added in v0.115.0

func NewProjectsLocationsReportConfigsReportsService(s *Service) *ProjectsLocationsReportConfigsReportsService

func (*ProjectsLocationsReportConfigsReportsService) Create added in v0.115.0

Create: Creates a report.

- parent: Value for parent.

func (*ProjectsLocationsReportConfigsReportsService) Delete added in v0.115.0

Delete: Deletes a Report.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsReportsService) Get added in v0.115.0

Get: Gets details of a single Report.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsReportsService) List added in v0.115.0

List: Lists Reports in a given ReportConfig.

- parent: Parent value for `ListReportsRequest`.

type ProjectsLocationsReportConfigsService added in v0.115.0

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

func NewProjectsLocationsReportConfigsService added in v0.115.0

func NewProjectsLocationsReportConfigsService(s *Service) *ProjectsLocationsReportConfigsService

func (*ProjectsLocationsReportConfigsService) Create added in v0.115.0

Create: Creates a report configuration.

- parent: Value for parent.

func (*ProjectsLocationsReportConfigsService) Delete added in v0.115.0

Delete: Deletes a ReportConfig.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsService) Get added in v0.115.0

Get: Gets details of a single ReportConfig.

- name: Name of the resource.

func (*ProjectsLocationsReportConfigsService) List added in v0.115.0

List: Lists ReportConfigs in a given project and location.

- parent: Parent value for `ListReportConfigsRequest`.

type ProjectsLocationsService

type ProjectsLocationsService struct {
	Assets *ProjectsLocationsAssetsService

	Groups *ProjectsLocationsGroupsService

	ImportJobs *ProjectsLocationsImportJobsService

	Operations *ProjectsLocationsOperationsService

	PreferenceSets *ProjectsLocationsPreferenceSetsService

	ReportConfigs *ProjectsLocationsReportConfigsService

	Sources *ProjectsLocationsSourcesService
	// contains filtered or unexported fields
}

func NewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService) Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService) GetSettings added in v0.115.0

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 added in v0.115.0

UpdateSettings: Updates the regional-level project settings.

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

type ProjectsLocationsSourcesCreateCall

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

func (*ProjectsLocationsSourcesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesCreateCall) Do

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

func (*ProjectsLocationsSourcesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesCreateCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSourcesCreateCall) SourceId

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

type ProjectsLocationsSourcesDeleteCall

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

func (*ProjectsLocationsSourcesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesDeleteCall) Do

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

func (*ProjectsLocationsSourcesDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesDeleteCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsSourcesErrorFramesGetCall added in v0.122.0

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

func (*ProjectsLocationsSourcesErrorFramesGetCall) Context added in v0.122.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesErrorFramesGetCall) Do added in v0.122.0

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

func (*ProjectsLocationsSourcesErrorFramesGetCall) Fields added in v0.122.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesErrorFramesGetCall) Header added in v0.122.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesErrorFramesGetCall) IfNoneMatch added in v0.122.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesErrorFramesGetCall) View added in v0.122.0

View sets the optional parameter "view": An optional view mode to control the level of details for the frame. The default is a basic frame view.

Possible values:

"ERROR_FRAME_VIEW_UNSPECIFIED" - Value is unset. The system will

fallback to the default value.

"ERROR_FRAME_VIEW_BASIC" - Include basic frame data, but not the

full contents.

"ERROR_FRAME_VIEW_FULL" - Include everything.

type ProjectsLocationsSourcesErrorFramesListCall added in v0.122.0

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

func (*ProjectsLocationsSourcesErrorFramesListCall) Context added in v0.122.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesErrorFramesListCall) Do added in v0.122.0

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

func (*ProjectsLocationsSourcesErrorFramesListCall) Fields added in v0.122.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesErrorFramesListCall) Header added in v0.122.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesErrorFramesListCall) IfNoneMatch added in v0.122.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesErrorFramesListCall) PageSize added in v0.122.0

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

func (*ProjectsLocationsSourcesErrorFramesListCall) PageToken added in v0.122.0

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

func (*ProjectsLocationsSourcesErrorFramesListCall) Pages added in v0.122.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.

func (*ProjectsLocationsSourcesErrorFramesListCall) View added in v0.122.0

View sets the optional parameter "view": An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.

Possible values:

"ERROR_FRAME_VIEW_UNSPECIFIED" - Value is unset. The system will

fallback to the default value.

"ERROR_FRAME_VIEW_BASIC" - Include basic frame data, but not the

full contents.

"ERROR_FRAME_VIEW_FULL" - Include everything.

type ProjectsLocationsSourcesErrorFramesService added in v0.122.0

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

func NewProjectsLocationsSourcesErrorFramesService added in v0.122.0

func NewProjectsLocationsSourcesErrorFramesService(s *Service) *ProjectsLocationsSourcesErrorFramesService

func (*ProjectsLocationsSourcesErrorFramesService) Get added in v0.122.0

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 added in v0.122.0

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

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

type ProjectsLocationsSourcesGetCall

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

func (*ProjectsLocationsSourcesGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesGetCall) Do

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

func (*ProjectsLocationsSourcesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ProjectsLocationsSourcesListCall

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

func (*ProjectsLocationsSourcesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesListCall) Do

Do executes the "migrationcenter.projects.locations.sources.list" call. Exactly one of *ListSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListSourcesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSourcesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesListCall) Filter

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

func (*ProjectsLocationsSourcesListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ProjectsLocationsSourcesListCall) OrderBy

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

func (*ProjectsLocationsSourcesListCall) PageSize

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

func (*ProjectsLocationsSourcesListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page 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.

type ProjectsLocationsSourcesPatchCall

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

func (*ProjectsLocationsSourcesPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsSourcesPatchCall) Do

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

func (*ProjectsLocationsSourcesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSourcesPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSourcesPatchCall) RequestId

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSourcesPatchCall) UpdateMask

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

type ProjectsLocationsSourcesService

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

func NewProjectsLocationsSourcesService

func NewProjectsLocationsSourcesService(s *Service) *ProjectsLocationsSourcesService

func (*ProjectsLocationsSourcesService) Create

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.

type ProjectsLocationsUpdateSettingsCall added in v0.115.0

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

func (*ProjectsLocationsUpdateSettingsCall) Context added in v0.115.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ProjectsLocationsUpdateSettingsCall) Do added in v0.115.0

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

func (*ProjectsLocationsUpdateSettingsCall) Fields added in v0.115.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsUpdateSettingsCall) Header added in v0.115.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsUpdateSettingsCall) RequestId added in v0.115.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsUpdateSettingsCall) UpdateMask added in v0.115.0

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

type ProjectsService

type ProjectsService struct {
	Locations *ProjectsLocationsService
	// contains filtered or unexported fields
}

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

type RegionPreferences added in v0.115.0

type RegionPreferences struct {
	// PreferredRegions: A list of preferred regions, ordered by the most
	// preferred region first. Set only valid Google Cloud region names. See
	// https://cloud.google.com/compute/docs/regions-zones for available
	// regions.
	PreferredRegions []string `json:"preferredRegions,omitempty"`

	// ForceSendFields is a list of field names (e.g. "PreferredRegions") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "PreferredRegions") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

RegionPreferences: The user preferences relating to target regions.

func (*RegionPreferences) MarshalJSON added in v0.115.0

func (s *RegionPreferences) MarshalJSON() ([]byte, error)

type RemoveAssetsFromGroupRequest added in v0.115.0

type RemoveAssetsFromGroupRequest struct {
	// AllowMissing: Optional. When this value is set to `false` and one of
	// the given assets is not an existing member of the group, the
	// operation fails with a `Not Found` error. When set to `true` this
	// situation is silently ignored by the server. Default value is
	// `false`.
	AllowMissing bool `json:"allowMissing,omitempty"`

	// Assets: Required. List of assets to be removed. The maximum number of
	// assets that can be removed in a single request is 1000.
	Assets *AssetList `json:"assets,omitempty"`

	// RequestId: Optional. An optional request ID to identify requests.
	// Specify a unique request ID so that if you must retry your request,
	// the server will know to ignore the request if it has already been
	// completed. The server will guarantee that for at least 60 minutes
	// after the first request. For example, consider a situation where you
	// make an initial request and the request times out. If you make the
	// request again with the same request ID, the server can check if
	// original operation with the same request ID was received, and if so,
	// will ignore the second request. This prevents clients from
	// accidentally creating duplicate commitments. The request ID must be a
	// valid UUID with the exception that zero UUID is not supported
	// (00000000-0000-0000-0000-000000000000).
	RequestId string `json:"requestId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllowMissing") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllowMissing") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RemoveAssetsFromGroupRequest: A request to remove assets from a group.

func (*RemoveAssetsFromGroupRequest) MarshalJSON added in v0.115.0

func (s *RemoveAssetsFromGroupRequest) MarshalJSON() ([]byte, error)

type Report added in v0.115.0

type Report struct {
	// CreateTime: Output only. Creation timestamp.
	CreateTime string `json:"createTime,omitempty"`

	// Description: Free-text description.
	Description string `json:"description,omitempty"`

	// DisplayName: User-friendly display name. Maximum length is 63
	// characters.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. Name of resource.
	Name string `json:"name,omitempty"`

	// State: Report creation state.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Default Report creation state.
	//   "PENDING" - Creating Report.
	//   "SUCCEEDED" - Successfully created Report.
	//   "FAILED" - Failed to create Report.
	State string `json:"state,omitempty"`

	// Summary: Output only. Summary view of the Report.
	Summary *ReportSummary `json:"summary,omitempty"`

	// Type: Report type.
	//
	// Possible values:
	//   "TYPE_UNSPECIFIED" - Default Report type.
	//   "TOTAL_COST_OF_OWNERSHIP" - Total cost of ownership Report type.
	Type string `json:"type,omitempty"`

	// UpdateTime: Output only. Last update timestamp.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Report: Report represents a point-in-time rendering of the ReportConfig results.

func (*Report) MarshalJSON added in v0.115.0

func (s *Report) MarshalJSON() ([]byte, error)

type ReportAssetFramesResponse

type ReportAssetFramesResponse struct {
	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`
}

ReportAssetFramesResponse: A response to a call to `ReportAssetFrame`.

type ReportConfig added in v0.115.0

type ReportConfig struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`

	// Description: Free-text description.
	Description string `json:"description,omitempty"`

	// DisplayName: User-friendly display name. Maximum length is 63
	// characters.
	DisplayName string `json:"displayName,omitempty"`

	// GroupPreferencesetAssignments: Required. Collection of combinations
	// of groups and preference sets.
	GroupPreferencesetAssignments []*ReportConfigGroupPreferenceSetAssignment `json:"groupPreferencesetAssignments,omitempty"`

	// Name: Output only. Name of resource.
	Name string `json:"name,omitempty"`

	// UpdateTime: Output only. The timestamp when the resource was last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportConfig: The groups and associated preference sets on which we can generate reports.

func (*ReportConfig) MarshalJSON added in v0.115.0

func (s *ReportConfig) MarshalJSON() ([]byte, error)

type ReportConfigGroupPreferenceSetAssignment added in v0.115.0

type ReportConfigGroupPreferenceSetAssignment struct {
	// Group: Required. Name of the group.
	Group string `json:"group,omitempty"`

	// PreferenceSet: Required. Name of the Preference Set.
	PreferenceSet string `json:"preferenceSet,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Group") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Group") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportConfigGroupPreferenceSetAssignment: Represents a combination of a group with a preference set.

func (*ReportConfigGroupPreferenceSetAssignment) MarshalJSON added in v0.115.0

func (s *ReportConfigGroupPreferenceSetAssignment) MarshalJSON() ([]byte, error)

type ReportSummary added in v0.115.0

type ReportSummary struct {
	// AllAssetsStats: Aggregate statistics for all the assets across all
	// the groups.
	AllAssetsStats *ReportSummaryAssetAggregateStats `json:"allAssetsStats,omitempty"`

	// GroupFindings: Findings for each Group included in this report.
	GroupFindings []*ReportSummaryGroupFinding `json:"groupFindings,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllAssetsStats") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllAssetsStats") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummary: Describes the Summary view of a Report, which contains aggregated values for all the groups and preference sets included in this Report.

func (*ReportSummary) MarshalJSON added in v0.115.0

func (s *ReportSummary) MarshalJSON() ([]byte, error)

type ReportSummaryAssetAggregateStats added in v0.115.0

type ReportSummaryAssetAggregateStats struct {
	// AssetAge: Count of assets grouped by age.
	AssetAge *ReportSummaryChartData `json:"assetAge,omitempty"`

	// CoreCountHistogram: Histogram showing a distribution of CPU core
	// counts.
	CoreCountHistogram *ReportSummaryHistogramChartData `json:"coreCountHistogram,omitempty"`

	// MemoryBytesHistogram: Histogram showing a distribution of memory
	// sizes.
	MemoryBytesHistogram *ReportSummaryHistogramChartData `json:"memoryBytesHistogram,omitempty"`

	// MemoryUtilization: Total memory split into Used/Free buckets.
	MemoryUtilization *ReportSummaryChartData `json:"memoryUtilization,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 memory
	// sizes.
	StorageBytesHistogram *ReportSummaryHistogramChartData `json:"storageBytesHistogram,omitempty"`

	// StorageUtilization: Total storage split into Used/Free buckets.
	StorageUtilization *ReportSummaryChartData `json:"storageUtilization,omitempty"`

	// StorageUtilizationChart: Total memory split into Used/Free buckets.
	StorageUtilizationChart *ReportSummaryUtilizationChartData `json:"storageUtilizationChart,omitempty"`

	// TotalAssets: Count of the number of unique assets in this collection.
	TotalAssets int64 `json:"totalAssets,omitempty,string"`

	// TotalCores: Sum of the CPU core count of all the assets in this
	// collection.
	TotalCores int64 `json:"totalCores,omitempty,string"`

	// TotalMemoryBytes: Sum of the memory in bytes of all the assets in
	// this collection.
	TotalMemoryBytes int64 `json:"totalMemoryBytes,omitempty,string"`

	// TotalStorageBytes: Sum of persistent storage in bytes of all the
	// assets in this collection.
	TotalStorageBytes int64 `json:"totalStorageBytes,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "AssetAge") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AssetAge") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportSummaryAssetAggregateStats: Aggregate statistics for a collection of assets.

func (*ReportSummaryAssetAggregateStats) MarshalJSON added in v0.115.0

func (s *ReportSummaryAssetAggregateStats) MarshalJSON() ([]byte, error)

type ReportSummaryChartData added in v0.115.0

type ReportSummaryChartData struct {
	// DataPoints: Each data point in the chart is represented as a
	// name-value pair with the name being the x-axis label, and the value
	// being the y-axis value.
	DataPoints []*ReportSummaryChartDataDataPoint `json:"dataPoints,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DataPoints") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DataPoints") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportSummaryChartData: Describes a collection of data points rendered as a Chart.

func (*ReportSummaryChartData) MarshalJSON added in v0.115.0

func (s *ReportSummaryChartData) MarshalJSON() ([]byte, error)

type ReportSummaryChartDataDataPoint added in v0.115.0

type ReportSummaryChartDataDataPoint struct {
	// Label: The X-axis label for this data point.
	Label string `json:"label,omitempty"`

	// Value: The Y-axis value for this data point.
	Value float64 `json:"value,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Label") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Label") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportSummaryChartDataDataPoint: Describes a single data point in the Chart.

func (*ReportSummaryChartDataDataPoint) MarshalJSON added in v0.115.0

func (s *ReportSummaryChartDataDataPoint) MarshalJSON() ([]byte, error)

func (*ReportSummaryChartDataDataPoint) UnmarshalJSON added in v0.115.0

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

type ReportSummaryGroupFinding added in v0.115.0

type ReportSummaryGroupFinding struct {
	// AssetAggregateStats: Summary statistics for all the assets in this
	// group.
	AssetAggregateStats *ReportSummaryAssetAggregateStats `json:"assetAggregateStats,omitempty"`

	// Description: Description for the Group.
	Description string `json:"description,omitempty"`

	// DisplayName: Display Name for the Group.
	DisplayName string `json:"displayName,omitempty"`

	// OverlappingAssetCount: Count of the number of assets in this group
	// which are also included in another group within the same report.
	OverlappingAssetCount int64 `json:"overlappingAssetCount,omitempty,string"`

	// PreferenceSetFindings: Findings for each of the PreferenceSets for
	// this group.
	PreferenceSetFindings []*ReportSummaryGroupPreferenceSetFinding `json:"preferenceSetFindings,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AssetAggregateStats")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AssetAggregateStats") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummaryGroupFinding: Summary Findings for a specific Group.

func (*ReportSummaryGroupFinding) MarshalJSON added in v0.115.0

func (s *ReportSummaryGroupFinding) MarshalJSON() ([]byte, error)

type ReportSummaryGroupPreferenceSetFinding added in v0.115.0

type ReportSummaryGroupPreferenceSetFinding struct {
	// Description: Description for the Preference Set.
	Description string `json:"description,omitempty"`

	// DisplayName: Display Name of the Preference Set
	DisplayName string `json:"displayName,omitempty"`

	// MachineFinding: A set of findings that applies to all machines in the
	// input.
	MachineFinding *ReportSummaryMachineFinding `json:"machineFinding,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"`

	// PreferredRegion: Target region for this Preference Set
	PreferredRegion string `json:"preferredRegion,omitempty"`

	// PricingTrack: Text describing the pricing track specified for this
	// Preference Set
	PricingTrack string `json:"pricingTrack,omitempty"`

	// SoleTenantFinding: A set of findings that applies to Stole-Tenant
	// machines in the input.
	SoleTenantFinding *ReportSummarySoleTenantFinding `json:"soleTenantFinding,omitempty"`

	// TopPriority: Text describing the business priority specified for this
	// Preference Set
	TopPriority string `json:"topPriority,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. "Description") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Description") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportSummaryGroupPreferenceSetFinding: Summary Findings for a specific Group/PreferenceSet combination.

func (*ReportSummaryGroupPreferenceSetFinding) MarshalJSON added in v0.115.0

func (s *ReportSummaryGroupPreferenceSetFinding) MarshalJSON() ([]byte, error)

type ReportSummaryHistogramChartData added in v0.115.0

type ReportSummaryHistogramChartData struct {
	// Buckets: Buckets in the histogram. There will be `n+1` buckets
	// matching `n` lower bounds in the request. The first bucket will be
	// from -infinity to the first bound. Subsequent buckets will be between
	// one bound and the next. The final bucket will be from the final bound
	// to infinity.
	Buckets []*ReportSummaryHistogramChartDataBucket `json:"buckets,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Buckets") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Buckets") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportSummaryHistogramChartData: A Histogram Chart shows a distribution of values into buckets, showing a count of values which fall into a bucket.

func (*ReportSummaryHistogramChartData) MarshalJSON added in v0.115.0

func (s *ReportSummaryHistogramChartData) MarshalJSON() ([]byte, error)

type ReportSummaryHistogramChartDataBucket added in v0.115.0

type ReportSummaryHistogramChartDataBucket struct {
	// Count: Count of items in the bucket.
	Count int64 `json:"count,omitempty,string"`

	// LowerBound: Lower bound - inclusive.
	LowerBound int64 `json:"lowerBound,omitempty,string"`

	// UpperBound: Upper bound - exclusive.
	UpperBound int64 `json:"upperBound,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "Count") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Count") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*ReportSummaryHistogramChartDataBucket) MarshalJSON added in v0.115.0

func (s *ReportSummaryHistogramChartDataBucket) MarshalJSON() ([]byte, error)

type ReportSummaryMachineFinding added in v0.115.0

type ReportSummaryMachineFinding struct {
	// AllocatedAssetCount: Count of assets which were allocated.
	AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"`

	// AllocatedDiskTypes: Set of disk types allocated to assets.
	//
	// Possible values:
	//   "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value).
	// Selecting this value allows the system to use any disk type according
	// to reported usage. This a good value to start with.
	//   "PERSISTENT_DISK_TYPE_STANDARD" - Standard HDD Persistent Disk.
	//   "PERSISTENT_DISK_TYPE_BALANCED" - Balanced Persistent Disk.
	//   "PERSISTENT_DISK_TYPE_SSD" - SSD Persistent Disk.
	AllocatedDiskTypes []string `json:"allocatedDiskTypes,omitempty"`

	// AllocatedRegions: Set of regions in which the assets were allocated.
	AllocatedRegions []string `json:"allocatedRegions,omitempty"`

	// MachineSeriesAllocations: Distribution of assets based on the Machine
	// Series.
	MachineSeriesAllocations []*ReportSummaryMachineSeriesAllocation `json:"machineSeriesAllocations,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllocatedAssetCount")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllocatedAssetCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummaryMachineFinding: A set of findings that applies to assets of type Virtual/Physical Machine.

func (*ReportSummaryMachineFinding) MarshalJSON added in v0.115.0

func (s *ReportSummaryMachineFinding) MarshalJSON() ([]byte, error)

type ReportSummaryMachineSeriesAllocation added in v0.115.0

type ReportSummaryMachineSeriesAllocation struct {
	// AllocatedAssetCount: Count of assets allocated to this machine
	// series.
	AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"`

	// MachineSeries: The Machine Series (e.g. "E2", "N2")
	MachineSeries *MachineSeries `json:"machineSeries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllocatedAssetCount")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllocatedAssetCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummaryMachineSeriesAllocation: Represents a data point tracking the count of assets allocated for a specific Machine Series.

func (*ReportSummaryMachineSeriesAllocation) MarshalJSON added in v0.115.0

func (s *ReportSummaryMachineSeriesAllocation) MarshalJSON() ([]byte, error)

type ReportSummarySoleTenantFinding added in v0.129.0

type ReportSummarySoleTenantFinding struct {
	// AllocatedAssetCount: Count of assets which are allocated
	AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"`

	// AllocatedRegions: Set of regions in which the assets are allocated
	AllocatedRegions []string `json:"allocatedRegions,omitempty"`

	// NodeAllocations: Set of per-nodetype allocation records
	NodeAllocations []*ReportSummarySoleTenantNodeAllocation `json:"nodeAllocations,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllocatedAssetCount")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllocatedAssetCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummarySoleTenantFinding: A set of findings that applies to assets destined for Sole-Tenant nodes.

func (*ReportSummarySoleTenantFinding) MarshalJSON added in v0.129.0

func (s *ReportSummarySoleTenantFinding) MarshalJSON() ([]byte, error)

type ReportSummarySoleTenantNodeAllocation added in v0.129.0

type ReportSummarySoleTenantNodeAllocation struct {
	// AllocatedAssetCount: Count of assets allocated to these nodes
	AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"`

	// Node: Sole Tenant node type, e.g. "m3-node-128-3904"
	Node *SoleTenantNodeType `json:"node,omitempty"`

	// NodeCount: Count of this node type to be provisioned
	NodeCount int64 `json:"nodeCount,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "AllocatedAssetCount")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllocatedAssetCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummarySoleTenantNodeAllocation: Represents the assets allocated to a specific Sole-Tenant node type.

func (*ReportSummarySoleTenantNodeAllocation) MarshalJSON added in v0.129.0

func (s *ReportSummarySoleTenantNodeAllocation) MarshalJSON() ([]byte, error)

type ReportSummaryUtilizationChartData added in v0.115.0

type ReportSummaryUtilizationChartData struct {
	// Free: Aggregate value which falls into the "Free" bucket.
	Free int64 `json:"free,omitempty,string"`

	// Used: Aggregate value which falls into the "Used" bucket.
	Used int64 `json:"used,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "Free") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Free") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportSummaryUtilizationChartData: Utilization Chart is a specific type of visualization which displays a metric classified into "Used" and "Free" buckets.

func (*ReportSummaryUtilizationChartData) MarshalJSON added in v0.115.0

func (s *ReportSummaryUtilizationChartData) MarshalJSON() ([]byte, error)

type ReportSummaryVMWareEngineFinding added in v0.129.0

type ReportSummaryVMWareEngineFinding struct {
	// AllocatedAssetCount: Count of assets which are allocated
	AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"`

	// AllocatedRegions: Set of regions in which the assets were allocated
	AllocatedRegions []string `json:"allocatedRegions,omitempty"`

	// NodeAllocations: Set of per-nodetype allocation records
	NodeAllocations []*ReportSummaryVMWareNodeAllocation `json:"nodeAllocations,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllocatedAssetCount")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllocatedAssetCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummaryVMWareEngineFinding: A set of findings that applies to assets destined for VMWare Engine.

func (*ReportSummaryVMWareEngineFinding) MarshalJSON added in v0.129.0

func (s *ReportSummaryVMWareEngineFinding) MarshalJSON() ([]byte, error)

type ReportSummaryVMWareNode added in v0.129.0

type ReportSummaryVMWareNode struct {
	// Code: Code to identify VMware Engine node series, e.g.
	// "ve1-standard-72". Based on the displayName of
	// cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locatio
	// ns.nodeTypes
	Code string `json:"code,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Code") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Code") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ReportSummaryVMWareNode: A VMWare Engine Node

func (*ReportSummaryVMWareNode) MarshalJSON added in v0.129.0

func (s *ReportSummaryVMWareNode) MarshalJSON() ([]byte, error)

type ReportSummaryVMWareNodeAllocation added in v0.129.0

type ReportSummaryVMWareNodeAllocation struct {
	// AllocatedAssetCount: Count of assets allocated to these nodes
	AllocatedAssetCount int64 `json:"allocatedAssetCount,omitempty,string"`

	// NodeCount: Count of this node type to be provisioned
	NodeCount int64 `json:"nodeCount,omitempty,string"`

	// VmwareNode: VMWare node type, e.g. "ve1-standard-72"
	VmwareNode *ReportSummaryVMWareNode `json:"vmwareNode,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AllocatedAssetCount")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AllocatedAssetCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ReportSummaryVMWareNodeAllocation: Represents assets allocated to a specific VMWare Node type.

func (*ReportSummaryVMWareNodeAllocation) MarshalJSON added in v0.129.0

func (s *ReportSummaryVMWareNodeAllocation) MarshalJSON() ([]byte, error)

type RunImportJobRequest

type RunImportJobRequest struct {
	// RequestId: Optional. An optional request ID to identify requests.
	// Specify a unique request ID so that if you must retry your request,
	// the server will know to ignore the request if it has already been
	// completed. The server will guarantee that for at least 60 minutes
	// after the first request. For example, consider a situation where you
	// make an initial request and the request times out. If you make the
	// request again with the same request ID, the server can check if
	// original operation with the same request ID was received, and if so,
	// will ignore the second request. This prevents clients from
	// accidentally creating duplicate commitments. The request ID must be a
	// valid UUID with the exception that zero UUID is not supported
	// (00000000-0000-0000-0000-000000000000).
	RequestId string `json:"requestId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "RequestId") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "RequestId") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RunImportJobRequest: A request to run an import job.

func (*RunImportJobRequest) MarshalJSON

func (s *RunImportJobRequest) MarshalJSON() ([]byte, error)

type RunningProcess

type RunningProcess struct {
	// Attributes: Process extended attributes.
	Attributes map[string]string `json:"attributes,omitempty"`

	// Cmdline: Process full command line.
	Cmdline string `json:"cmdline,omitempty"`

	// ExePath: Process binary path.
	ExePath string `json:"exePath,omitempty"`

	// Pid: Process ID.
	Pid int64 `json:"pid,omitempty,string"`

	// User: User running the process.
	User string `json:"user,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Attributes") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Attributes") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RunningProcess: Guest OS running process details.

func (*RunningProcess) MarshalJSON

func (s *RunningProcess) MarshalJSON() ([]byte, error)

type RunningProcessList

type RunningProcessList struct {
	// Processes: Running process entries.
	Processes []*RunningProcess `json:"processes,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Processes") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Processes") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RunningProcessList: List of running guest OS processes.

func (*RunningProcessList) MarshalJSON

func (s *RunningProcessList) MarshalJSON() ([]byte, error)

type RunningService

type RunningService struct {
	// Cmdline: Service command line.
	Cmdline string `json:"cmdline,omitempty"`

	// ExePath: Service binary path.
	ExePath string `json:"exePath,omitempty"`

	// Name: Service name.
	Name string `json:"name,omitempty"`

	// Pid: Service pid.
	Pid int64 `json:"pid,omitempty,string"`

	// StartMode: Service start mode (raw, OS-agnostic).
	StartMode string `json:"startMode,omitempty"`

	// State: Service state (raw, OS-agnostic).
	State string `json:"state,omitempty"`

	// Status: Service status.
	Status string `json:"status,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Cmdline") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Cmdline") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RunningService: Guest OS running service details.

func (*RunningService) MarshalJSON

func (s *RunningService) MarshalJSON() ([]byte, error)

type RunningServiceList

type RunningServiceList struct {
	// Services: Running service entries.
	Services []*RunningService `json:"services,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Services") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Services") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RunningServiceList: List of running guest OS services.

func (*RunningServiceList) MarshalJSON

func (s *RunningServiceList) MarshalJSON() ([]byte, error)

type RuntimeNetworkInfo

type RuntimeNetworkInfo struct {
	// Connections: Network connections.
	Connections *NetworkConnectionList `json:"connections,omitempty"`

	// Netstat: Netstat (raw, OS-agnostic).
	Netstat string `json:"netstat,omitempty"`

	// NetstatTime: Netstat time collected.
	NetstatTime *DateTime `json:"netstatTime,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Connections") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Connections") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

RuntimeNetworkInfo: Runtime networking information.

func (*RuntimeNetworkInfo) MarshalJSON

func (s *RuntimeNetworkInfo) MarshalJSON() ([]byte, error)

type Selinux

type Selinux struct {
	// Enabled: Is SELinux enabled.
	Enabled bool `json:"enabled,omitempty"`

	// Mode: SELinux mode enforcing / permissive.
	Mode string `json:"mode,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Enabled") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Selinux: SELinux details.

func (*Selinux) MarshalJSON

func (s *Selinux) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

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.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type Settings added in v0.115.0

type Settings struct {
	// Name: Output only. The name of the resource.
	Name string `json:"name,omitempty"`

	// PreferenceSet: The preference set used by default for a project.
	PreferenceSet string `json:"preferenceSet,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Name") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Name") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Settings: Describes the Migration Center settings related to the project.

func (*Settings) MarshalJSON added in v0.115.0

func (s *Settings) MarshalJSON() ([]byte, error)

type SoleTenancyPreferences added in v0.129.0

type SoleTenancyPreferences struct {
	// CommitmentPlan: Commitment plan to consider when calculating costs
	// for virtual machine insights and recommendations. If you are unsure
	// which value to set, a 3 year commitment plan is often a good value to
	// start with.
	//
	// Possible values:
	//   "COMMITMENT_PLAN_UNSPECIFIED" - Unspecified commitment plan.
	//   "ON_DEMAND" - No commitment plan (on-demand usage).
	//   "COMMITMENT_1_YEAR" - 1 year commitment.
	//   "COMMITMENT_3_YEAR" - 3 years commitment.
	CommitmentPlan string `json:"commitmentPlan,omitempty"`

	// CpuOvercommitRatio: CPU overcommit ratio. Acceptable values are
	// between 1.0 and 2.0 inclusive.
	CpuOvercommitRatio float64 `json:"cpuOvercommitRatio,omitempty"`

	// HostMaintenancePolicy: Sole Tenancy nodes maintenance policy.
	//
	// Possible values:
	//   "HOST_MAINTENANCE_POLICY_UNSPECIFIED" - Unspecified host
	// maintenance policy.
	//   "HOST_MAINTENANCE_POLICY_DEFAULT" - Default host maintenance
	// policy.
	//   "HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE" - Restart in place host
	// maintenance policy.
	//   "HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP" - Migrate
	// within node group host maintenance policy.
	HostMaintenancePolicy string `json:"hostMaintenancePolicy,omitempty"`

	// NodeTypes: A list of sole tenant node types. An empty list means that
	// all possible node types will be considered.
	NodeTypes []*SoleTenantNodeType `json:"nodeTypes,omitempty"`

	// ForceSendFields is a list of field names (e.g. "CommitmentPlan") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CommitmentPlan") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

SoleTenancyPreferences: Preferences concerning Sole Tenancy nodes and VMs.

func (*SoleTenancyPreferences) MarshalJSON added in v0.129.0

func (s *SoleTenancyPreferences) MarshalJSON() ([]byte, error)

func (*SoleTenancyPreferences) UnmarshalJSON added in v0.129.0

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

type SoleTenantNodeType added in v0.129.0

type SoleTenantNodeType struct {
	// NodeName: Name of the Sole Tenant node. Consult
	// https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
	NodeName string `json:"nodeName,omitempty"`

	// ForceSendFields is a list of field names (e.g. "NodeName") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NodeName") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

SoleTenantNodeType: A Sole Tenant node type.

func (*SoleTenantNodeType) MarshalJSON added in v0.129.0

func (s *SoleTenantNodeType) MarshalJSON() ([]byte, error)

type Source

type Source struct {
	// CreateTime: Output only. The timestamp when the source was created.
	CreateTime string `json:"createTime,omitempty"`

	// Description: Free-text description.
	Description string `json:"description,omitempty"`

	// DisplayName: User-friendly display name.
	DisplayName string `json:"displayName,omitempty"`

	// ErrorFrameCount: Output only. The number of frames that were reported
	// by the source and contained errors.
	ErrorFrameCount int64 `json:"errorFrameCount,omitempty"`

	// IsManaged: If `true`, the source is managed by other service(s).
	IsManaged bool `json:"isManaged,omitempty"`

	// Name: Output only. The full name of the source.
	Name string `json:"name,omitempty"`

	// PendingFrameCount: Output only. Number of frames that are still being
	// processed.
	PendingFrameCount int64 `json:"pendingFrameCount,omitempty"`

	// Priority: The information confidence of the source. The higher the
	// value, the higher the confidence.
	Priority int64 `json:"priority,omitempty"`

	// State: Output only. The state of the source.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Unspecified.
	//   "ACTIVE" - The source is active and ready to be used.
	//   "DELETING" - In the process of being deleted.
	//   "INVALID" - Source is in an invalid state. Asset frames reported to
	// it will be ignored.
	State string `json:"state,omitempty"`

	// Type: Data source type.
	//
	// Possible values:
	//   "SOURCE_TYPE_UNKNOWN" - Unspecified
	//   "SOURCE_TYPE_UPLOAD" - Manually uploaded file (e.g. CSV)
	//   "SOURCE_TYPE_GUEST_OS_SCAN" - Guest-level info
	//   "SOURCE_TYPE_INVENTORY_SCAN" - Inventory-level scan
	//   "SOURCE_TYPE_CUSTOM" - Third-party owned sources.
	Type string `json:"type,omitempty"`

	// UpdateTime: Output only. The timestamp when the source was last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Source: Source represents an object from which asset information is streamed to Migration Center.

func (*Source) MarshalJSON

func (s *Source) MarshalJSON() ([]byte, error)

type Status

type Status struct {
	// Code: The status code, which should be an enum value of
	// google.rpc.Code.
	Code int64 `json:"code,omitempty"`

	// Details: A list of messages that carry the error details. There is a
	// common set of message types for APIs to use.
	Details []googleapi.RawMessage `json:"details,omitempty"`

	// Message: A developer-facing error message, which should be in
	// English. Any user-facing error message should be localized and sent
	// in the google.rpc.Status.details field, or localized by the client.
	Message string `json:"message,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Code") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Code") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

func (*Status) MarshalJSON

func (s *Status) MarshalJSON() ([]byte, error)

type TimeZone

type TimeZone struct {
	// Id: IANA Time Zone Database time zone, e.g. "America/New_York".
	Id string `json:"id,omitempty"`

	// Version: Optional. IANA Time Zone Database version number, e.g.
	// "2019a".
	Version string `json:"version,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Id") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Id") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

TimeZone: Represents a time zone from the IANA Time Zone Database (https://www.iana.org/time-zones).

func (*TimeZone) MarshalJSON

func (s *TimeZone) MarshalJSON() ([]byte, error)

type UpdateAssetRequest added in v0.114.0

type UpdateAssetRequest struct {
	// Asset: Required. The resource being updated.
	Asset *Asset `json:"asset,omitempty"`

	// RequestId: Optional. An optional request ID to identify requests.
	// Specify a unique request ID so that if you must retry your request,
	// the server will know to ignore the request if it has already been
	// completed. The server will guarantee that for at least 60 minutes
	// since the first request. For example, consider a situation where you
	// make an initial request and the request times out. If you make the
	// request again with the same request ID, the server can check if
	// original operation with the same request ID was received, and if so,
	// will ignore the second request. This prevents clients from
	// accidentally creating duplicate commitments. The request ID must be a
	// valid UUID with the exception that zero UUID is not supported
	// (00000000-0000-0000-0000-000000000000).
	RequestId string `json:"requestId,omitempty"`

	// UpdateMask: Required. Field mask is used to specify the fields to be
	// overwritten in the `Asset` resource by the update. The values
	// specified in the `update_mask` field are relative to the resource,
	// not the full request. A field will be overwritten if it is in the
	// mask. A single * value in the mask lets you to overwrite all fields.
	UpdateMask string `json:"updateMask,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Asset") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Asset") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

UpdateAssetRequest: A request to update an asset.

func (*UpdateAssetRequest) MarshalJSON added in v0.114.0

func (s *UpdateAssetRequest) MarshalJSON() ([]byte, error)

type UploadFileInfo added in v0.115.0

type UploadFileInfo struct {
	// Headers: Output only. The headers that were used to sign the URL.
	Headers map[string]string `json:"headers,omitempty"`

	// SignedUri: Output only. Upload URI for the file.
	SignedUri string `json:"signedUri,omitempty"`

	// UriExpirationTime: Output only. Expiration time of the upload URI.
	UriExpirationTime string `json:"uriExpirationTime,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Headers") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Headers") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

UploadFileInfo: A resource that contains a URI to which a data file can be uploaded.

func (*UploadFileInfo) MarshalJSON added in v0.115.0

func (s *UploadFileInfo) MarshalJSON() ([]byte, error)

type ValidateImportJobRequest

type ValidateImportJobRequest struct {
	// RequestId: Optional. An optional request ID to identify requests.
	// Specify a unique request ID so that if you must retry your request,
	// the server will know to ignore the request if it has already been
	// completed. The server will guarantee that for at least 60 minutes
	// after the first request. For example, consider a situation where you
	// make an initial request and the request times out. If you make the
	// request again with the same request ID, the server can check if
	// original operation with the same request ID was received, and if so,
	// will ignore the second request. This prevents clients from
	// accidentally creating duplicate commitments. The request ID must be a
	// valid UUID with the exception that zero UUID is not supported
	// (00000000-0000-0000-0000-000000000000).
	RequestId string `json:"requestId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "RequestId") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "RequestId") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ValidateImportJobRequest: A request to validate an import job.

func (*ValidateImportJobRequest) MarshalJSON

func (s *ValidateImportJobRequest) MarshalJSON() ([]byte, error)

type ValidationReport

type ValidationReport struct {
	// FileValidations: List of errors found in files.
	FileValidations []*FileValidationReport `json:"fileValidations,omitempty"`

	// JobErrors: List of job level errors.
	JobErrors []*ImportError `json:"jobErrors,omitempty"`

	// ForceSendFields is a list of field names (e.g. "FileValidations") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "FileValidations") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

ValidationReport: A resource that aggregates errors across import job files.

func (*ValidationReport) MarshalJSON

func (s *ValidationReport) MarshalJSON() ([]byte, error)

type VirtualMachineArchitectureDetails

type VirtualMachineArchitectureDetails struct {
	// Bios: BIOS Details.
	Bios *BiosDetails `json:"bios,omitempty"`

	// CpuArchitecture: CPU architecture, e.g., "x64-based PC", "x86_64",
	// "i686" etc.
	CpuArchitecture string `json:"cpuArchitecture,omitempty"`

	// CpuManufacturer: CPU manufacturer, e.g., "Intel", "AMD".
	CpuManufacturer string `json:"cpuManufacturer,omitempty"`

	// CpuName: CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
	CpuName string `json:"cpuName,omitempty"`

	// CpuSocketCount: Number of processor sockets allocated to the machine.
	CpuSocketCount int64 `json:"cpuSocketCount,omitempty"`

	// CpuThreadCount: Number of CPU threads allocated to the machine.
	CpuThreadCount int64 `json:"cpuThreadCount,omitempty"`

	// Firmware: Firmware (BIOS/efi).
	Firmware string `json:"firmware,omitempty"`

	// Hyperthreading: CPU hyperthreading support.
	//
	// Possible values:
	//   "HYPER_THREADING_UNSPECIFIED" - Unknown (default value).
	//   "HYPER_THREADING_DISABLED" - Hyperthreading is disabled.
	//   "HYPER_THREADING_ENABLED" - Hyperthreading is enabled.
	Hyperthreading string `json:"hyperthreading,omitempty"`

	// Vendor: Hardware vendor.
	Vendor string `json:"vendor,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Bios") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Bios") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VirtualMachineArchitectureDetails: Details of the VM architecture.

func (*VirtualMachineArchitectureDetails) MarshalJSON

func (s *VirtualMachineArchitectureDetails) MarshalJSON() ([]byte, error)

type VirtualMachineDetails

type VirtualMachineDetails struct {
	// CoreCount: Number of CPU cores in the VirtualMachine. Must be
	// non-negative.
	CoreCount int64 `json:"coreCount,omitempty"`

	// CreateTime: VM creation timestamp.
	CreateTime string `json:"createTime,omitempty"`

	// GuestOs: Guest OS information.
	GuestOs *GuestOsDetails `json:"guestOs,omitempty"`

	// MemoryMb: The amount of memory in the VirtualMachine. Must be
	// non-negative.
	MemoryMb int64 `json:"memoryMb,omitempty"`

	// OsFamily: 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.
	OsFamily string `json:"osFamily,omitempty"`

	// OsName: The name of the operating system running on the
	// VirtualMachine.
	OsName string `json:"osName,omitempty"`

	// OsVersion: The version of the operating system running on the virtual
	// machine.
	OsVersion string `json:"osVersion,omitempty"`

	// Platform: Platform information.
	Platform *PlatformDetails `json:"platform,omitempty"`

	// PowerState: Power state of VM (poweredOn or poweredOff).
	PowerState string `json:"powerState,omitempty"`

	// VcenterFolder: Folder name in vCenter where asset resides.
	VcenterFolder string `json:"vcenterFolder,omitempty"`

	// VcenterUrl: vCenter URL used in collection.
	VcenterUrl string `json:"vcenterUrl,omitempty"`

	// VcenterVmId: vCenter VM ID.
	VcenterVmId string `json:"vcenterVmId,omitempty"`

	// VmArchitecture: VM architecture details (vendor, cpu arch).
	VmArchitecture *VirtualMachineArchitectureDetails `json:"vmArchitecture,omitempty"`

	// VmDisks: VM disk details.
	VmDisks *VirtualMachineDiskDetails `json:"vmDisks,omitempty"`

	// VmName: Virtual Machine display name.
	VmName string `json:"vmName,omitempty"`

	// VmNetwork: VM network details.
	VmNetwork *VirtualMachineNetworkDetails `json:"vmNetwork,omitempty"`

	// VmUuid: Virtual Machine unique identifier.
	VmUuid string `json:"vmUuid,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. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CoreCount") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VirtualMachineDetails: Details of a VirtualMachine.

func (*VirtualMachineDetails) MarshalJSON

func (s *VirtualMachineDetails) MarshalJSON() ([]byte, error)

type VirtualMachineDiskDetails

type VirtualMachineDiskDetails struct {
	// Disks: List of disks.
	Disks *DiskEntryList `json:"disks,omitempty"`

	// HddTotalCapacityBytes: Disk total Capacity.
	HddTotalCapacityBytes int64 `json:"hddTotalCapacityBytes,omitempty,string"`

	// HddTotalFreeBytes: Total Disk Free Space.
	HddTotalFreeBytes int64 `json:"hddTotalFreeBytes,omitempty,string"`

	// LsblkJson: Raw lsblk output in json.
	LsblkJson string `json:"lsblkJson,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Disks") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Disks") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VirtualMachineDiskDetails: Details of VM disks.

func (*VirtualMachineDiskDetails) MarshalJSON

func (s *VirtualMachineDiskDetails) MarshalJSON() ([]byte, error)

type VirtualMachineNetworkDetails

type VirtualMachineNetworkDetails struct {
	// DefaultGw: Default gateway address.
	DefaultGw string `json:"defaultGw,omitempty"`

	// NetworkAdapters: List of network adapters.
	NetworkAdapters *NetworkAdapterList `json:"networkAdapters,omitempty"`

	// PrimaryIpAddress: IP address of the machine.
	PrimaryIpAddress string `json:"primaryIpAddress,omitempty"`

	// PrimaryMacAddress: MAC address of the machine. This property is used
	// to uniqly identify the machine.
	PrimaryMacAddress string `json:"primaryMacAddress,omitempty"`

	// PublicIpAddress: Public IP address of the machine.
	PublicIpAddress string `json:"publicIpAddress,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DefaultGw") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DefaultGw") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VirtualMachineNetworkDetails: Details of network adapters and settings.

func (*VirtualMachineNetworkDetails) MarshalJSON

func (s *VirtualMachineNetworkDetails) MarshalJSON() ([]byte, error)

type VirtualMachinePreferences added in v0.115.0

type VirtualMachinePreferences struct {
	// CommitmentPlan: Commitment plan to consider when calculating costs
	// for virtual machine insights and recommendations. If you are unsure
	// which value to set, a 3 year commitment plan is often a good value to
	// start with.
	//
	// Possible values:
	//   "COMMITMENT_PLAN_UNSPECIFIED" - Unspecified commitment plan.
	//   "COMMITMENT_PLAN_NONE" - No commitment plan.
	//   "COMMITMENT_PLAN_ONE_YEAR" - 1 year commitment.
	//   "COMMITMENT_PLAN_THREE_YEARS" - 3 years commitment.
	CommitmentPlan string `json:"commitmentPlan,omitempty"`

	// ComputeEnginePreferences: Compute Engine preferences concern insights
	// and recommendations for Compute Engine target.
	ComputeEnginePreferences *ComputeEnginePreferences `json:"computeEnginePreferences,omitempty"`

	// RegionPreferences: Region preferences for assets using this
	// preference set. If you are unsure which value to set, the migration
	// service API region is often a good value to start with.
	RegionPreferences *RegionPreferences `json:"regionPreferences,omitempty"`

	// SizingOptimizationStrategy: Sizing optimization strategy specifies
	// the preferred strategy used when extrapolating usage data to
	// calculate insights and recommendations for a virtual machine. If you
	// are unsure which value to set, a moderate sizing optimization
	// strategy is often a good value to start with.
	//
	// Possible values:
	//   "SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED" - Unspecified (default
	// value).
	//   "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE" - No optimization
	// applied. Virtual machine sizing matches as closely as possible the
	// machine shape on the source site, not considering any actual
	// performance data.
	//   "SIZING_OPTIMIZATION_STRATEGY_MODERATE" - Virtual machine sizing
	// will match the reported usage and shape, with some slack. This a good
	// value to start with.
	//   "SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE" - Virtual machine sizing
	// will match the reported usage, with little slack. Using this option
	// can help reduce costs.
	SizingOptimizationStrategy string `json:"sizingOptimizationStrategy,omitempty"`

	// SoleTenancyPreferences: Preferences concerning Sole Tenant nodes and
	// virtual machines.
	SoleTenancyPreferences *SoleTenancyPreferences `json:"soleTenancyPreferences,omitempty"`

	// TargetProduct: Target product for assets using this preference set.
	// Specify either target product or business goal, but not both.
	//
	// Possible values:
	//   "COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED" - Unspecified
	// (default value).
	//   "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE" - Prefer to
	// migrate to Google Cloud Compute Engine.
	//   "COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE" - Prefer to
	// migrate to Google Cloud VMware Engine.
	//   "COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY" - Prefer to migrate
	// to Google Cloud Sole Tenant Nodes.
	TargetProduct string `json:"targetProduct,omitempty"`

	// VmwareEnginePreferences: Preferences concerning insights and
	// recommendations for Google Cloud VMware Engine.
	VmwareEnginePreferences *VmwareEnginePreferences `json:"vmwareEnginePreferences,omitempty"`

	// ForceSendFields is a list of field names (e.g. "CommitmentPlan") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CommitmentPlan") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

VirtualMachinePreferences: VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets.

func (*VirtualMachinePreferences) MarshalJSON added in v0.115.0

func (s *VirtualMachinePreferences) MarshalJSON() ([]byte, error)

type VmwareDiskConfig

type VmwareDiskConfig struct {
	// BackingType: VMDK backing type.
	//
	// Possible values:
	//   "BACKING_TYPE_UNSPECIFIED" - Default value.
	//   "BACKING_TYPE_FLAT_V1" - Flat v1.
	//   "BACKING_TYPE_FLAT_V2" - Flat v2.
	//   "BACKING_TYPE_PMEM" - Persistent memory, also known as Non-Volatile
	// Memory (NVM).
	//   "BACKING_TYPE_RDM_V1" - Raw Disk Memory v1.
	//   "BACKING_TYPE_RDM_V2" - Raw Disk Memory v2.
	//   "BACKING_TYPE_SESPARSE" - SEsparse is a snapshot format introduced
	// in vSphere 5.5 for large disks.
	//   "BACKING_TYPE_SESPARSE_V1" - SEsparse v1.
	//   "BACKING_TYPE_SESPARSE_V2" - SEsparse v1.
	BackingType string `json:"backingType,omitempty"`

	// RdmCompatibilityMode: RDM compatibility mode.
	RdmCompatibilityMode string `json:"rdmCompatibilityMode,omitempty"`

	// Shared: Is VMDK shared with other VMs.
	Shared bool `json:"shared,omitempty"`

	// VmdkDiskMode: VMDK disk mode.
	VmdkDiskMode string `json:"vmdkDiskMode,omitempty"`

	// ForceSendFields is a list of field names (e.g. "BackingType") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "BackingType") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VmwareDiskConfig: VMware disk config details.

func (*VmwareDiskConfig) MarshalJSON

func (s *VmwareDiskConfig) MarshalJSON() ([]byte, error)

type VmwareEngineMigrationTarget added in v0.115.0

type VmwareEngineMigrationTarget struct {
}

VmwareEngineMigrationTarget: VMWare engine migration target.

type VmwareEnginePreferences added in v0.129.0

type VmwareEnginePreferences struct {
	// CommitmentPlan: Commitment plan to consider when calculating costs
	// for virtual machine insights and recommendations. If you are unsure
	// which value to set, a 3 year commitment plan is often a good value to
	// start with.
	//
	// Possible values:
	//   "COMMITMENT_PLAN_UNSPECIFIED" - Unspecified commitment plan.
	//   "ON_DEMAND" - No commitment plan (on-demand usage).
	//   "COMMITMENT_1_YEAR_MONTHLY_PAYMENTS" - 1 year commitment (monthly
	// payments).
	//   "COMMITMENT_3_YEAR_MONTHLY_PAYMENTS" - 3 year commitment (monthly
	// payments).
	//   "COMMITMENT_1_YEAR_UPFRONT_PAYMENT" - 1 year commitment (upfront
	// payment).
	//   "COMMITMENT_3_YEAR_UPFRONT_PAYMENT" - 3 years commitment (upfront
	// payment).
	CommitmentPlan string `json:"commitmentPlan,omitempty"`

	// CpuOvercommitRatio: CPU overcommit ratio. Acceptable values are
	// between 1.0 and 8.0, with 0.1 increment.
	CpuOvercommitRatio float64 `json:"cpuOvercommitRatio,omitempty"`

	// MemoryOvercommitRatio: Memory overcommit ratio. Acceptable values are
	// 1.0, 1.25, 1.5, 1.75 and 2.0.
	MemoryOvercommitRatio float64 `json:"memoryOvercommitRatio,omitempty"`

	// StorageDeduplicationCompressionRatio: The Deduplication and
	// Compression ratio is based on the logical (Used Before) space
	// required to store data before applying deduplication and compression,
	// in relation to the physical (Used After) space required after
	// applying deduplication and compression. Specifically, the ratio is
	// the Used Before space divided by the Used After space. For example,
	// if the Used Before space is 3 GB, but the physical Used After space
	// is 1 GB, the deduplication and compression ratio is 3x. Acceptable
	// values are between 1.0 and 4.0.
	StorageDeduplicationCompressionRatio float64 `json:"storageDeduplicationCompressionRatio,omitempty"`

	// ForceSendFields is a list of field names (e.g. "CommitmentPlan") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CommitmentPlan") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

VmwareEnginePreferences: The user preferences relating to Google Cloud VMware Engine target platform.

func (*VmwareEnginePreferences) MarshalJSON added in v0.129.0

func (s *VmwareEnginePreferences) MarshalJSON() ([]byte, error)

func (*VmwareEnginePreferences) UnmarshalJSON added in v0.129.0

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

type VmwarePlatformDetails

type VmwarePlatformDetails struct {
	// EsxVersion: ESX version.
	EsxVersion string `json:"esxVersion,omitempty"`

	// Osid: VMware os enum -
	// https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
	Osid string `json:"osid,omitempty"`

	// VcenterVersion: vCenter version.
	VcenterVersion string `json:"vcenterVersion,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EsxVersion") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "EsxVersion") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

VmwarePlatformDetails: VMware specific details.

func (*VmwarePlatformDetails) MarshalJSON

func (s *VmwarePlatformDetails) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL