Movatterモバイル変換


[0]ホーム

URL:


saasservicemgmt

package
v0.257.0Latest Latest
Warning

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

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

Details

Repository

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

Links

Documentation

Overview

Package saasservicemgmt provides access to the SaaS Runtime API.

For product documentation, see:https://cloud.google.com/saas-runtime/docs

Library status

These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.

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

Creating a client

Usage example:

import "google.golang.org/api/saasservicemgmt/v1beta1"...ctx := context.Background()saasservicemgmtService, err := saasservicemgmt.NewService(ctx)

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

Other authentication options

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

saasservicemgmtService, err := saasservicemgmt.NewService(ctx, option.WithAPIKey("AIza..."))

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

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

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

Index

Constants

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

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAggregate

type Aggregate struct {// Count: Required. Number of records in the group.Countint64 `json:"count,omitempty"`// Group: Required. Group by which to aggregate.Groupstring `json:"group,omitempty"`// ForceSendFields is a list of field names (e.g. "Count") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Count") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Aggregate: Represents the aggregation of a set of population of like recordsby a certain group. For example, a collection of unit counts can beaggregated and grouped by their state.

func (Aggregate)MarshalJSON

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

typeBlueprint

type Blueprint struct {// Engine: Output only. Type of the engine used to actuate the blueprint. e.g.// terraform, helm etc.Enginestring `json:"engine,omitempty"`// Package: Optional. Immutable. URI to a blueprint used by the Unit (required// unless unitKind or release is set).Packagestring `json:"package,omitempty"`// Version: Output only. Version metadata if present on the blueprint.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Engine") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Engine") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Blueprint: Blueprints are OCI Images that contain all of the artifactsneeded to provision a unit. Metadata such as, type of the engine used toactuate the blueprint (e.g. terraform, helm etc) and version will come fromthe image manifest. If the hostname is omitted, it will be assumed to be theregional path to Artifact Registry (eg. us-east1-docker.pkg.dev).

func (Blueprint)MarshalJSON

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

typeDependency

type Dependency struct {// Alias: Required. An alias for the dependency. Used for input variable// mapping.Aliasstring `json:"alias,omitempty"`// UnitKind: Required. Immutable. The unit kind of the dependency.UnitKindstring `json:"unitKind,omitempty"`// ForceSendFields is a list of field names (e.g. "Alias") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Alias") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Dependency: Dependency represent a single dependency with another unit kindby alias.

func (Dependency)MarshalJSON

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

typeDeprovision

type Deprovision struct {}

Deprovision: Deprovision is the unit operation that deprovision theunderlying resources represented by a Unit. Can only execute if the Unit iscurrently provisioned.

typeEmpty

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

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

typeErrorBudget

type ErrorBudget struct {// AllowedCount: Optional. The maximum number of failed units allowed in a// location without pausing the rollout.AllowedCountint64 `json:"allowedCount,omitempty"`// AllowedPercentage: Optional. The maximum percentage of units allowed to fail// (0, 100] within a location without pausing the rollout.AllowedPercentageint64 `json:"allowedPercentage,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowedCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowedCount") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ErrorBudget: The configuration for error budget. If the number of failedunits exceeds max(allowed_count, allowed_ratio * total_units), the rolloutwill be paused.

func (ErrorBudget)MarshalJSON

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

typeFromMapping

type FromMapping struct {// Dependency: Required. Alias of the dependency that the outputVariable will// pass its value toDependencystring `json:"dependency,omitempty"`// OutputVariable: Required. Name of the outputVariable on the dependencyOutputVariablestring `json:"outputVariable,omitempty"`// ForceSendFields is a list of field names (e.g. "Dependency") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Dependency") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

FromMapping: Output variables whose values will be passed on to dependencies

func (FromMapping)MarshalJSON

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

typeGoogleCloudLocationLocation

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

GoogleCloudLocationLocation: A resource that represents a Google Cloudlocation.

func (GoogleCloudLocationLocation)MarshalJSON

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

typeListLocationsResponse

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

ListLocationsResponse: The response message for Locations.ListLocations.

func (ListLocationsResponse)MarshalJSON

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

typeListReleasesResponse

type ListReleasesResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListReleases call to list the next page. If empty, there are no// more pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Releases: The resulting releases.Releases []*Release `json:"releases,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListReleasesResponse: The response structure for the ListReleases method.

func (ListReleasesResponse)MarshalJSON

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

typeListReplicationsInternalResponseadded inv0.251.0

type ListReplicationsInternalResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListReplicationsInternal call to list the next page. If empty,// there are no more pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ReplicationsInternal: The resulting replication internals.ReplicationsInternal []*ReplicationInternal `json:"replicationsInternal,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListReplicationsInternalResponse: The response structure for theListReplicationsInternal method.

func (ListReplicationsInternalResponse)MarshalJSONadded inv0.251.0

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

typeListRolloutKindsResponse

type ListRolloutKindsResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListRolloutKinds call to list the next page. If empty, there are// no more pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// RolloutKinds: The resulting rollout kinds.RolloutKinds []*RolloutKind `json:"rolloutKinds,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListRolloutKindsResponse: The response structure for the ListRolloutKindsmethod.

func (ListRolloutKindsResponse)MarshalJSON

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

typeListRolloutsResponse

type ListRolloutsResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListRollouts call to list the next page. If empty, there are no// more pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Rollouts: The resulting rollouts.Rollouts []*Rollout `json:"rollouts,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListRolloutsResponse: The response structure for the ListRollouts method.

func (ListRolloutsResponse)MarshalJSON

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

typeListSaasResponse

type ListSaasResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListSaas call to list the next page. If empty, there are no more// pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Saas: The resulting saas.Saas []*Saas `json:"saas,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListSaasResponse: The response structure for the ListSaas method.

func (ListSaasResponse)MarshalJSON

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

typeListTenantsResponse

type ListTenantsResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListTenants call to list the next page. If empty, there are no// more pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Tenants: The resulting tenants.Tenants []*Tenant `json:"tenants,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListTenantsResponse: The response structure for the ListTenants method.

func (ListTenantsResponse)MarshalJSON

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

typeListUnitKindsResponse

type ListUnitKindsResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListUnitKinds call to list the next page. If empty, there are no// more pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// UnitKinds: The resulting unit kinds.UnitKinds []*UnitKind `json:"unitKinds,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListUnitKindsResponse: The response structure for the ListUnitKinds method.

func (ListUnitKindsResponse)MarshalJSON

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

typeListUnitOperationsResponse

type ListUnitOperationsResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListUnitOperations call to list the next page. If empty, there// are no more pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// UnitOperations: The resulting unit operations.UnitOperations []*UnitOperation `json:"unitOperations,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListUnitOperationsResponse: The response structure for theListUnitOperations method.

func (ListUnitOperationsResponse)MarshalJSON

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

typeListUnitsResponse

type ListUnitsResponse struct {// NextPageToken: If present, the next page token can be provided to a// subsequent ListUnits call to list the next page. If empty, there are no more// pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Units: The resulting units.Units []*Unit `json:"units,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListUnitsResponse: The response structure for the ListUnits method.

func (ListUnitsResponse)MarshalJSON

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

typeLocation

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

Location: Location information that the service is available in.

func (Location)MarshalJSON

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

typeMaintenanceSettings

type MaintenanceSettings struct {// PinnedUntilTime: Optional. If present, it fixes the release on the unit// until the given time; i.e. changes to the release field will be rejected.// Rollouts should and will also respect this by not requesting an upgrade in// the first place.PinnedUntilTimestring `json:"pinnedUntilTime,omitempty"`// ForceSendFields is a list of field names (e.g. "PinnedUntilTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PinnedUntilTime") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MaintenanceSettings: Captures requested directives for performing futuremaintenance on the unit. This includes a request for the unit to skipmaintenance for a period of time and remain pinned to its current release aswell as controls for postponing maintenance scheduled in future.

func (MaintenanceSettings)MarshalJSON

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

typeProjectsLocationsGetCall

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

func (*ProjectsLocationsGetCall)Context

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

func (*ProjectsLocationsGetCall)Do

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

func (*ProjectsLocationsGetCall)Fields

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

func (*ProjectsLocationsGetCall)Header

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

func (*ProjectsLocationsGetCall)IfNoneMatch

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

typeProjectsLocationsListCall

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

func (*ProjectsLocationsListCall)Context

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

func (*ProjectsLocationsListCall)Do

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

func (*ProjectsLocationsListCall)ExtraLocationTypes

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

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

func (*ProjectsLocationsListCall)Fields

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

func (*ProjectsLocationsListCall)Filter

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

func (*ProjectsLocationsListCall)Header

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

func (*ProjectsLocationsListCall)IfNoneMatch

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

func (*ProjectsLocationsListCall)PageSize

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

func (*ProjectsLocationsListCall)PageToken

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

func (*ProjectsLocationsListCall)Pages

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

typeProjectsLocationsReleasesCreateCall

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

func (*ProjectsLocationsReleasesCreateCall)Context

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

func (*ProjectsLocationsReleasesCreateCall)Do

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

func (*ProjectsLocationsReleasesCreateCall)Fields

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

func (*ProjectsLocationsReleasesCreateCall)Header

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

func (*ProjectsLocationsReleasesCreateCall)ReleaseId

ReleaseId sets the optional parameter "releaseId": Required. The ID valuefor the new release.

func (*ProjectsLocationsReleasesCreateCall)RequestId

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

func (*ProjectsLocationsReleasesCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsReleasesDeleteCall

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

func (*ProjectsLocationsReleasesDeleteCall)Context

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

func (*ProjectsLocationsReleasesDeleteCall)Do

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

func (*ProjectsLocationsReleasesDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the release. This is used with state-changing methodsto prevent accidental overwrites when multiple user agents might be actingin parallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the release. The Any wildcard(`*`) requires that the resource must already exists, and the Not Anywildcard (`!*`) requires that it must not.

func (*ProjectsLocationsReleasesDeleteCall)Fields

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

func (*ProjectsLocationsReleasesDeleteCall)Header

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

func (*ProjectsLocationsReleasesDeleteCall)RequestId

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

func (*ProjectsLocationsReleasesDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsReleasesGetCall

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

func (*ProjectsLocationsReleasesGetCall)Context

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

func (*ProjectsLocationsReleasesGetCall)Do

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

func (*ProjectsLocationsReleasesGetCall)Fields

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

func (*ProjectsLocationsReleasesGetCall)Header

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

func (*ProjectsLocationsReleasesGetCall)IfNoneMatch

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

typeProjectsLocationsReleasesListCall

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

func (*ProjectsLocationsReleasesListCall)Context

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

func (*ProjectsLocationsReleasesListCall)Do

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

func (*ProjectsLocationsReleasesListCall)Fields

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

func (*ProjectsLocationsReleasesListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsReleasesListCall)Header

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

func (*ProjectsLocationsReleasesListCall)IfNoneMatch

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

func (*ProjectsLocationsReleasesListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsReleasesListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofreleases to send per page.

func (*ProjectsLocationsReleasesListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsReleasesListCall)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.

typeProjectsLocationsReleasesPatchCall

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

func (*ProjectsLocationsReleasesPatchCall)Context

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

func (*ProjectsLocationsReleasesPatchCall)Do

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

func (*ProjectsLocationsReleasesPatchCall)Fields

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

func (*ProjectsLocationsReleasesPatchCall)Header

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

func (*ProjectsLocationsReleasesPatchCall)RequestId

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

func (*ProjectsLocationsReleasesPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Release resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields in the Release will beoverwritten.

func (*ProjectsLocationsReleasesPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsReleasesService

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

funcNewProjectsLocationsReleasesService

func NewProjectsLocationsReleasesService(s *Service) *ProjectsLocationsReleasesService

func (*ProjectsLocationsReleasesService)Create

Create: Create a new release.

- parent: The parent of the release.

func (*ProjectsLocationsReleasesService)Delete

Delete: Delete a single release.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsReleasesService)Get

Get: Retrieve a single release.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsReleasesService)List

List: Retrieve a collection of releases.

- parent: The parent of the release.

func (*ProjectsLocationsReleasesService)Patch

Patch: Update a single release.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/releases/{release}".

typeProjectsLocationsReplicationsInternalCreateCalladded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalCreateCall)Contextadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalCreateCall)Doadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalCreateCall)Fieldsadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalCreateCall)Headeradded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalCreateCall)ReplicationInternalIdadded inv0.251.0

ReplicationInternalId sets the optional parameter "replicationInternalId":Required. The ID value for the new replication internal.

func (*ProjectsLocationsReplicationsInternalCreateCall)RequestIdadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalCreateCall)ValidateOnlyadded inv0.251.0

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsReplicationsInternalDeleteCalladded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalDeleteCall)Contextadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalDeleteCall)Doadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalDeleteCall)Etagadded inv0.251.0

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the replication internal. This is used withstate-changing methods to prevent accidental overwrites when multiple useragents might be acting in parallel on the same resource. An etag wildcardprovide optimistic concurrency based on the expected existence of thereplication internal. The Any wildcard (`*`) requires that the resource mustalready exists, and the Not Any wildcard (`!*`) requires that it must not.

func (*ProjectsLocationsReplicationsInternalDeleteCall)Fieldsadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalDeleteCall)Headeradded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalDeleteCall)RequestIdadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalDeleteCall)ValidateOnlyadded inv0.251.0

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsReplicationsInternalGetCalladded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalGetCall)Contextadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalGetCall)Doadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalGetCall)Fieldsadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalGetCall)Headeradded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalGetCall)IfNoneMatchadded inv0.251.0

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

typeProjectsLocationsReplicationsInternalListCalladded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalListCall)Contextadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalListCall)Doadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalListCall)Fieldsadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalListCall)Filteradded inv0.251.0

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsReplicationsInternalListCall)Headeradded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalListCall)IfNoneMatchadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalListCall)OrderByadded inv0.251.0

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsReplicationsInternalListCall)PageSizeadded inv0.251.0

PageSize sets the optional parameter "pageSize": The maximum number ofreplication internals to send per page.

func (*ProjectsLocationsReplicationsInternalListCall)PageTokenadded inv0.251.0

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsReplicationsInternalListCall)Pagesadded inv0.251.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.

typeProjectsLocationsReplicationsInternalPatchCalladded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalPatchCall)Contextadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalPatchCall)Doadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalPatchCall)Etagadded inv0.251.0

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the replication internal. This is used withstate-changing methods to prevent accidental overwrites when multiple useragents might be acting in parallel on the same resource. An etag wildcardprovide optimistic concurrency based on the expected existence of thereplication internal. The Any wildcard (`*`) requires that the resource mustalready exists, and the Not Any wildcard (`!*`) requires that it must not.

func (*ProjectsLocationsReplicationsInternalPatchCall)Fieldsadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalPatchCall)Headeradded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalPatchCall)RequestIdadded inv0.251.0

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

func (*ProjectsLocationsReplicationsInternalPatchCall)UpdateMaskadded inv0.251.0

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the ReplicationInternal resource bythe update. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields in theReplicationInternal will be overwritten.

func (*ProjectsLocationsReplicationsInternalPatchCall)ValidateOnlyadded inv0.251.0

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsReplicationsInternalServiceadded inv0.251.0

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

funcNewProjectsLocationsReplicationsInternalServiceadded inv0.251.0

func NewProjectsLocationsReplicationsInternalService(s *Service) *ProjectsLocationsReplicationsInternalService

func (*ProjectsLocationsReplicationsInternalService)Createadded inv0.251.0

Create: Create a new replication internal.

- parent: The parent of the replication internal.

func (*ProjectsLocationsReplicationsInternalService)Deleteadded inv0.251.0

Delete: Delete a single replication internal.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsReplicationsInternalService)Getadded inv0.251.0

Get: Retrieve a single replication internal.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsReplicationsInternalService)Listadded inv0.251.0

List: Retrieve a collection of replication internals.

- parent: The parent of the replication internal.

func (*ProjectsLocationsReplicationsInternalService)Patchadded inv0.251.0

Patch: Update a single replication internal.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/replicationInternal/{replication_internal_id}".

typeProjectsLocationsRolloutKindsCreateCall

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

func (*ProjectsLocationsRolloutKindsCreateCall)Context

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

func (*ProjectsLocationsRolloutKindsCreateCall)Do

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

func (*ProjectsLocationsRolloutKindsCreateCall)Fields

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

func (*ProjectsLocationsRolloutKindsCreateCall)Header

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

func (*ProjectsLocationsRolloutKindsCreateCall)RequestId

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

func (*ProjectsLocationsRolloutKindsCreateCall)RolloutKindId

RolloutKindId sets the optional parameter "rolloutKindId": Required. The IDvalue for the new rollout kind.

func (*ProjectsLocationsRolloutKindsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsRolloutKindsDeleteCall

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

func (*ProjectsLocationsRolloutKindsDeleteCall)Context

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

func (*ProjectsLocationsRolloutKindsDeleteCall)Do

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

func (*ProjectsLocationsRolloutKindsDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the rollout kind. This is used with state-changingmethods to prevent accidental overwrites when multiple user agents might beacting in parallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the rollout kind. The Anywildcard (`*`) requires that the resource must already exists, and the NotAny wildcard (`!*`) requires that it must not.

func (*ProjectsLocationsRolloutKindsDeleteCall)Fields

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

func (*ProjectsLocationsRolloutKindsDeleteCall)Header

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

func (*ProjectsLocationsRolloutKindsDeleteCall)RequestId

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

func (*ProjectsLocationsRolloutKindsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsRolloutKindsGetCall

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

func (*ProjectsLocationsRolloutKindsGetCall)Context

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

func (*ProjectsLocationsRolloutKindsGetCall)Do

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

func (*ProjectsLocationsRolloutKindsGetCall)Fields

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

func (*ProjectsLocationsRolloutKindsGetCall)Header

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

func (*ProjectsLocationsRolloutKindsGetCall)IfNoneMatch

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

typeProjectsLocationsRolloutKindsListCall

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

func (*ProjectsLocationsRolloutKindsListCall)Context

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

func (*ProjectsLocationsRolloutKindsListCall)Do

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

func (*ProjectsLocationsRolloutKindsListCall)Fields

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

func (*ProjectsLocationsRolloutKindsListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsRolloutKindsListCall)Header

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

func (*ProjectsLocationsRolloutKindsListCall)IfNoneMatch

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

func (*ProjectsLocationsRolloutKindsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsRolloutKindsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofrollout kinds to send per page.

func (*ProjectsLocationsRolloutKindsListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsRolloutKindsListCall)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.

typeProjectsLocationsRolloutKindsPatchCall

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

func (*ProjectsLocationsRolloutKindsPatchCall)Context

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

func (*ProjectsLocationsRolloutKindsPatchCall)Do

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

func (*ProjectsLocationsRolloutKindsPatchCall)Fields

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

func (*ProjectsLocationsRolloutKindsPatchCall)Header

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

func (*ProjectsLocationsRolloutKindsPatchCall)RequestId

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

func (*ProjectsLocationsRolloutKindsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the RolloutKind resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields in the RolloutKindwill be overwritten.

func (*ProjectsLocationsRolloutKindsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsRolloutKindsService

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

func (*ProjectsLocationsRolloutKindsService)Create

Create: Create a new rollout kind.

- parent: The parent of the rollout kind.

func (*ProjectsLocationsRolloutKindsService)Delete

Delete: Delete a single rollout kind.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsRolloutKindsService)Get

Get: Retrieve a single rollout kind.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsRolloutKindsService)List

List: Retrieve a collection of rollout kinds.

- parent: The parent of the rollout kind.

func (*ProjectsLocationsRolloutKindsService)Patch

Patch: Update a single rollout kind.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}".

typeProjectsLocationsRolloutsCreateCall

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

func (*ProjectsLocationsRolloutsCreateCall)Context

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

func (*ProjectsLocationsRolloutsCreateCall)Do

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

func (*ProjectsLocationsRolloutsCreateCall)Fields

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

func (*ProjectsLocationsRolloutsCreateCall)Header

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

func (*ProjectsLocationsRolloutsCreateCall)RequestId

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

func (*ProjectsLocationsRolloutsCreateCall)RolloutId

RolloutId sets the optional parameter "rolloutId": Required. The ID valuefor the new rollout.

func (*ProjectsLocationsRolloutsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsRolloutsDeleteCall

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

func (*ProjectsLocationsRolloutsDeleteCall)Context

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

func (*ProjectsLocationsRolloutsDeleteCall)Do

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

func (*ProjectsLocationsRolloutsDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the rollout. This is used with state-changing methodsto prevent accidental overwrites when multiple user agents might be actingin parallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the rollout. The Any wildcard(`*`) requires that the resource must already exists, and the Not Anywildcard (`!*`) requires that it must not.

func (*ProjectsLocationsRolloutsDeleteCall)Fields

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

func (*ProjectsLocationsRolloutsDeleteCall)Header

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

func (*ProjectsLocationsRolloutsDeleteCall)RequestId

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

func (*ProjectsLocationsRolloutsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsRolloutsGetCall

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

func (*ProjectsLocationsRolloutsGetCall)Context

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

func (*ProjectsLocationsRolloutsGetCall)Do

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

func (*ProjectsLocationsRolloutsGetCall)Fields

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

func (*ProjectsLocationsRolloutsGetCall)Header

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

func (*ProjectsLocationsRolloutsGetCall)IfNoneMatch

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

typeProjectsLocationsRolloutsListCall

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

func (*ProjectsLocationsRolloutsListCall)Context

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

func (*ProjectsLocationsRolloutsListCall)Do

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

func (*ProjectsLocationsRolloutsListCall)Fields

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

func (*ProjectsLocationsRolloutsListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsRolloutsListCall)Header

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

func (*ProjectsLocationsRolloutsListCall)IfNoneMatch

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

func (*ProjectsLocationsRolloutsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsRolloutsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofrollouts to send per page.

func (*ProjectsLocationsRolloutsListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsRolloutsListCall)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.

typeProjectsLocationsRolloutsPatchCall

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

func (*ProjectsLocationsRolloutsPatchCall)Context

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

func (*ProjectsLocationsRolloutsPatchCall)Do

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

func (*ProjectsLocationsRolloutsPatchCall)Fields

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

func (*ProjectsLocationsRolloutsPatchCall)Header

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

func (*ProjectsLocationsRolloutsPatchCall)RequestId

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

func (*ProjectsLocationsRolloutsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Rollout resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields in the Rollout will beoverwritten.

func (*ProjectsLocationsRolloutsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsRolloutsService

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

funcNewProjectsLocationsRolloutsService

func NewProjectsLocationsRolloutsService(s *Service) *ProjectsLocationsRolloutsService

func (*ProjectsLocationsRolloutsService)Create

Create: Create a new rollout.

- parent: The parent of the rollout.

func (*ProjectsLocationsRolloutsService)Delete

Delete: Delete a single rollout.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsRolloutsService)Get

Get: Retrieve a single rollout.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsRolloutsService)List

List: Retrieve a collection of rollouts.

- parent: The parent of the rollout.

func (*ProjectsLocationsRolloutsService)Patch

Patch: Update a single rollout.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/rollout/{rollout_id}".

typeProjectsLocationsSaasCreateCall

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

func (*ProjectsLocationsSaasCreateCall)Context

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

func (*ProjectsLocationsSaasCreateCall)Do

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

func (*ProjectsLocationsSaasCreateCall)Fields

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

func (*ProjectsLocationsSaasCreateCall)Header

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

func (*ProjectsLocationsSaasCreateCall)RequestId

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

func (*ProjectsLocationsSaasCreateCall)SaasId

SaasId sets the optional parameter "saasId": Required. The ID value for thenew saas.

func (*ProjectsLocationsSaasCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsSaasDeleteCall

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

func (*ProjectsLocationsSaasDeleteCall)Context

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

func (*ProjectsLocationsSaasDeleteCall)Do

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

func (*ProjectsLocationsSaasDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the saas. This is used with state-changing methods toprevent accidental overwrites when multiple user agents might be acting inparallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the saas. The Any wildcard(`*`) requires that the resource must already exists, and the Not Anywildcard (`!*`) requires that it must not.

func (*ProjectsLocationsSaasDeleteCall)Fields

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

func (*ProjectsLocationsSaasDeleteCall)Header

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

func (*ProjectsLocationsSaasDeleteCall)RequestId

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

func (*ProjectsLocationsSaasDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsSaasGetCall

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

func (*ProjectsLocationsSaasGetCall)Context

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

func (*ProjectsLocationsSaasGetCall)Do

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

func (*ProjectsLocationsSaasGetCall)Fields

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

func (*ProjectsLocationsSaasGetCall)Header

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

func (*ProjectsLocationsSaasGetCall)IfNoneMatch

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

typeProjectsLocationsSaasListCall

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

func (*ProjectsLocationsSaasListCall)Context

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

func (*ProjectsLocationsSaasListCall)Do

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

func (*ProjectsLocationsSaasListCall)Fields

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

func (*ProjectsLocationsSaasListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsSaasListCall)Header

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

func (*ProjectsLocationsSaasListCall)IfNoneMatch

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

func (*ProjectsLocationsSaasListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsSaasListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of saasto send per page.

func (*ProjectsLocationsSaasListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsSaasListCall)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.

typeProjectsLocationsSaasPatchCall

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

func (*ProjectsLocationsSaasPatchCall)Context

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

func (*ProjectsLocationsSaasPatchCall)Do

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

func (*ProjectsLocationsSaasPatchCall)Fields

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

func (*ProjectsLocationsSaasPatchCall)Header

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

func (*ProjectsLocationsSaasPatchCall)RequestId

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

func (*ProjectsLocationsSaasPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Saas resource by the update. Thefields specified in the update_mask are relative to the resource, not thefull request. A field will be overwritten if it is in the mask. If the userdoes not provide a mask then all fields in the Saas will be overwritten.

func (*ProjectsLocationsSaasPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsSaasService

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

funcNewProjectsLocationsSaasService

func NewProjectsLocationsSaasService(s *Service) *ProjectsLocationsSaasService

func (*ProjectsLocationsSaasService)Create

Create: Create a new saas.

- parent: The parent of the saas.

func (*ProjectsLocationsSaasService)Delete

Delete: Delete a single saas.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsSaasService)Get

Get: Retrieve a single saas.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsSaasService)List

List: Retrieve a collection of saas.

- parent: The parent of the saas.

func (*ProjectsLocationsSaasService)Patch

Patch: Update a single saas.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/saas/{saas}".

typeProjectsLocationsService

funcNewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService)Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService)List

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

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

typeProjectsLocationsTenantsCreateCall

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

func (*ProjectsLocationsTenantsCreateCall)Context

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

func (*ProjectsLocationsTenantsCreateCall)Do

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

func (*ProjectsLocationsTenantsCreateCall)Fields

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

func (*ProjectsLocationsTenantsCreateCall)Header

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

func (*ProjectsLocationsTenantsCreateCall)RequestId

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

func (*ProjectsLocationsTenantsCreateCall)TenantId

TenantId sets the optional parameter "tenantId": Required. The ID value forthe new tenant.

func (*ProjectsLocationsTenantsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsTenantsDeleteCall

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

func (*ProjectsLocationsTenantsDeleteCall)Context

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

func (*ProjectsLocationsTenantsDeleteCall)Do

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

func (*ProjectsLocationsTenantsDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the tenant. This is used with state-changing methodsto prevent accidental overwrites when multiple user agents might be actingin parallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the tenant. The Any wildcard(`*`) requires that the resource must already exists, and the Not Anywildcard (`!*`) requires that it must not.

func (*ProjectsLocationsTenantsDeleteCall)Fields

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

func (*ProjectsLocationsTenantsDeleteCall)Header

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

func (*ProjectsLocationsTenantsDeleteCall)RequestId

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

func (*ProjectsLocationsTenantsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsTenantsGetCall

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

func (*ProjectsLocationsTenantsGetCall)Context

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

func (*ProjectsLocationsTenantsGetCall)Do

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

func (*ProjectsLocationsTenantsGetCall)Fields

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

func (*ProjectsLocationsTenantsGetCall)Header

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

func (*ProjectsLocationsTenantsGetCall)IfNoneMatch

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

typeProjectsLocationsTenantsListCall

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

func (*ProjectsLocationsTenantsListCall)Context

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

func (*ProjectsLocationsTenantsListCall)Do

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

func (*ProjectsLocationsTenantsListCall)Fields

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

func (*ProjectsLocationsTenantsListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsTenantsListCall)Header

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

func (*ProjectsLocationsTenantsListCall)IfNoneMatch

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

func (*ProjectsLocationsTenantsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsTenantsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number oftenants to send per page.

func (*ProjectsLocationsTenantsListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsTenantsListCall)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.

typeProjectsLocationsTenantsPatchCall

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

func (*ProjectsLocationsTenantsPatchCall)Context

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

func (*ProjectsLocationsTenantsPatchCall)Do

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

func (*ProjectsLocationsTenantsPatchCall)Fields

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

func (*ProjectsLocationsTenantsPatchCall)Header

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

func (*ProjectsLocationsTenantsPatchCall)RequestId

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

func (*ProjectsLocationsTenantsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Tenant resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields in the Tenant will beoverwritten.

func (*ProjectsLocationsTenantsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsTenantsService

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

funcNewProjectsLocationsTenantsService

func NewProjectsLocationsTenantsService(s *Service) *ProjectsLocationsTenantsService

func (*ProjectsLocationsTenantsService)Create

Create: Create a new tenant.

- parent: The parent of the tenant.

func (*ProjectsLocationsTenantsService)Delete

Delete: Delete a single tenant.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsTenantsService)Get

Get: Retrieve a single tenant.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsTenantsService)List

List: Retrieve a collection of tenants.

- parent: The parent of the tenant.

func (*ProjectsLocationsTenantsService)Patch

Patch: Update a single tenant.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/tenants/{tenant}".

typeProjectsLocationsUnitKindsCreateCall

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

func (*ProjectsLocationsUnitKindsCreateCall)Context

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

func (*ProjectsLocationsUnitKindsCreateCall)Do

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

func (*ProjectsLocationsUnitKindsCreateCall)Fields

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

func (*ProjectsLocationsUnitKindsCreateCall)Header

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

func (*ProjectsLocationsUnitKindsCreateCall)RequestId

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

func (*ProjectsLocationsUnitKindsCreateCall)UnitKindId

UnitKindId sets the optional parameter "unitKindId": Required. The ID valuefor the new unit kind.

func (*ProjectsLocationsUnitKindsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitKindsDeleteCall

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

func (*ProjectsLocationsUnitKindsDeleteCall)Context

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

func (*ProjectsLocationsUnitKindsDeleteCall)Do

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

func (*ProjectsLocationsUnitKindsDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the unit kind. This is used with state-changingmethods to prevent accidental overwrites when multiple user agents might beacting in parallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the unit kind. The Anywildcard (`*`) requires that the resource must already exists, and the NotAny wildcard (`!*`) requires that it must not.

func (*ProjectsLocationsUnitKindsDeleteCall)Fields

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

func (*ProjectsLocationsUnitKindsDeleteCall)Header

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

func (*ProjectsLocationsUnitKindsDeleteCall)RequestId

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

func (*ProjectsLocationsUnitKindsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitKindsGetCall

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

func (*ProjectsLocationsUnitKindsGetCall)Context

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

func (*ProjectsLocationsUnitKindsGetCall)Do

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

func (*ProjectsLocationsUnitKindsGetCall)Fields

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

func (*ProjectsLocationsUnitKindsGetCall)Header

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

func (*ProjectsLocationsUnitKindsGetCall)IfNoneMatch

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

typeProjectsLocationsUnitKindsListCall

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

func (*ProjectsLocationsUnitKindsListCall)Context

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

func (*ProjectsLocationsUnitKindsListCall)Do

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

func (*ProjectsLocationsUnitKindsListCall)Fields

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

func (*ProjectsLocationsUnitKindsListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsUnitKindsListCall)Header

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

func (*ProjectsLocationsUnitKindsListCall)IfNoneMatch

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

func (*ProjectsLocationsUnitKindsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsUnitKindsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of unitkinds to send per page.

func (*ProjectsLocationsUnitKindsListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsUnitKindsListCall)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.

typeProjectsLocationsUnitKindsPatchCall

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

func (*ProjectsLocationsUnitKindsPatchCall)Context

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

func (*ProjectsLocationsUnitKindsPatchCall)Do

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

func (*ProjectsLocationsUnitKindsPatchCall)Fields

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

func (*ProjectsLocationsUnitKindsPatchCall)Header

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

func (*ProjectsLocationsUnitKindsPatchCall)RequestId

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

func (*ProjectsLocationsUnitKindsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the UnitKind resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields in the UnitKind will beoverwritten.

func (*ProjectsLocationsUnitKindsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitKindsService

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

funcNewProjectsLocationsUnitKindsService

func NewProjectsLocationsUnitKindsService(s *Service) *ProjectsLocationsUnitKindsService

func (*ProjectsLocationsUnitKindsService)Create

Create: Create a new unit kind.

- parent: The parent of the unit kind.

func (*ProjectsLocationsUnitKindsService)Delete

Delete: Delete a single unit kind.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsUnitKindsService)Get

Get: Retrieve a single unit kind.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsUnitKindsService)List

List: Retrieve a collection of unit kinds.

- parent: The parent of the unit kind.

func (*ProjectsLocationsUnitKindsService)Patch

Patch: Update a single unit kind.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/unitKinds/{unitKind}".

typeProjectsLocationsUnitOperationsCreateCall

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

func (*ProjectsLocationsUnitOperationsCreateCall)Context

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

func (*ProjectsLocationsUnitOperationsCreateCall)Do

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

func (*ProjectsLocationsUnitOperationsCreateCall)Fields

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

func (*ProjectsLocationsUnitOperationsCreateCall)Header

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

func (*ProjectsLocationsUnitOperationsCreateCall)RequestId

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

func (*ProjectsLocationsUnitOperationsCreateCall)UnitOperationId

UnitOperationId sets the optional parameter "unitOperationId": Required. TheID value for the new unit operation.

func (*ProjectsLocationsUnitOperationsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitOperationsDeleteCall

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

func (*ProjectsLocationsUnitOperationsDeleteCall)Context

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

func (*ProjectsLocationsUnitOperationsDeleteCall)Do

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

func (*ProjectsLocationsUnitOperationsDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the unit operation. This is used with state-changingmethods to prevent accidental overwrites when multiple user agents might beacting in parallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the unit operation. The Anywildcard (`*`) requires that the resource must already exists, and the NotAny wildcard (`!*`) requires that it must not.

func (*ProjectsLocationsUnitOperationsDeleteCall)Fields

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

func (*ProjectsLocationsUnitOperationsDeleteCall)Header

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

func (*ProjectsLocationsUnitOperationsDeleteCall)RequestId

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

func (*ProjectsLocationsUnitOperationsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitOperationsGetCall

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

func (*ProjectsLocationsUnitOperationsGetCall)Context

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

func (*ProjectsLocationsUnitOperationsGetCall)Do

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

func (*ProjectsLocationsUnitOperationsGetCall)Fields

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

func (*ProjectsLocationsUnitOperationsGetCall)Header

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

func (*ProjectsLocationsUnitOperationsGetCall)IfNoneMatch

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

typeProjectsLocationsUnitOperationsListCall

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

func (*ProjectsLocationsUnitOperationsListCall)Context

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

func (*ProjectsLocationsUnitOperationsListCall)Do

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

func (*ProjectsLocationsUnitOperationsListCall)Fields

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

func (*ProjectsLocationsUnitOperationsListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsUnitOperationsListCall)Header

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

func (*ProjectsLocationsUnitOperationsListCall)IfNoneMatch

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

func (*ProjectsLocationsUnitOperationsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsUnitOperationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of unitoperations to send per page.

func (*ProjectsLocationsUnitOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsUnitOperationsListCall)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.

typeProjectsLocationsUnitOperationsPatchCall

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

func (*ProjectsLocationsUnitOperationsPatchCall)Context

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

func (*ProjectsLocationsUnitOperationsPatchCall)Do

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

func (*ProjectsLocationsUnitOperationsPatchCall)Fields

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

func (*ProjectsLocationsUnitOperationsPatchCall)Header

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

func (*ProjectsLocationsUnitOperationsPatchCall)RequestId

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

func (*ProjectsLocationsUnitOperationsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the UnitOperation resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields in theUnitOperation will be overwritten.

func (*ProjectsLocationsUnitOperationsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitOperationsService

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

func (*ProjectsLocationsUnitOperationsService)Create

Create: Create a new unit operation.

- parent: The parent of the unit operation.

func (*ProjectsLocationsUnitOperationsService)Delete

Delete: Delete a single unit operation.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsUnitOperationsService)Get

Get: Retrieve a single unit operation.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsUnitOperationsService)List

List: Retrieve a collection of unit operations.

- parent: The parent of the unit operation.

func (*ProjectsLocationsUnitOperationsService)Patch

Patch: Update a single unit operation.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/unitOperations/{unitOperation}".

typeProjectsLocationsUnitsCreateCall

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

func (*ProjectsLocationsUnitsCreateCall)Context

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

func (*ProjectsLocationsUnitsCreateCall)Do

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

func (*ProjectsLocationsUnitsCreateCall)Fields

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

func (*ProjectsLocationsUnitsCreateCall)Header

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

func (*ProjectsLocationsUnitsCreateCall)RequestId

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

func (*ProjectsLocationsUnitsCreateCall)UnitId

UnitId sets the optional parameter "unitId": Required. The ID value for thenew unit.

func (*ProjectsLocationsUnitsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitsDeleteCall

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

func (*ProjectsLocationsUnitsDeleteCall)Context

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

func (*ProjectsLocationsUnitsDeleteCall)Do

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

func (*ProjectsLocationsUnitsDeleteCall)Etag

Etag sets the optional parameter "etag": The etag known to the client forthe expected state of the unit. This is used with state-changing methods toprevent accidental overwrites when multiple user agents might be acting inparallel on the same resource. An etag wildcard provide optimisticconcurrency based on the expected existence of the unit. The Any wildcard(`*`) requires that the resource must already exists, and the Not Anywildcard (`!*`) requires that it must not.

func (*ProjectsLocationsUnitsDeleteCall)Fields

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

func (*ProjectsLocationsUnitsDeleteCall)Header

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

func (*ProjectsLocationsUnitsDeleteCall)RequestId

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

func (*ProjectsLocationsUnitsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitsGetCall

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

func (*ProjectsLocationsUnitsGetCall)Context

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

func (*ProjectsLocationsUnitsGetCall)Do

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

func (*ProjectsLocationsUnitsGetCall)Fields

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

func (*ProjectsLocationsUnitsGetCall)Header

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

func (*ProjectsLocationsUnitsGetCall)IfNoneMatch

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

typeProjectsLocationsUnitsListCall

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

func (*ProjectsLocationsUnitsListCall)Context

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

func (*ProjectsLocationsUnitsListCall)Do

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

func (*ProjectsLocationsUnitsListCall)Fields

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

func (*ProjectsLocationsUnitsListCall)Filter

Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.

func (*ProjectsLocationsUnitsListCall)Header

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

func (*ProjectsLocationsUnitsListCall)IfNoneMatch

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

func (*ProjectsLocationsUnitsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.

func (*ProjectsLocationsUnitsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of unitsto send per page.

func (*ProjectsLocationsUnitsListCall)PageToken

PageToken sets the optional parameter "pageToken": The page token: If thenext_page_token from a previous response is provided, this request will sendthe subsequent page.

func (*ProjectsLocationsUnitsListCall)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.

typeProjectsLocationsUnitsPatchCall

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

func (*ProjectsLocationsUnitsPatchCall)Context

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

func (*ProjectsLocationsUnitsPatchCall)Do

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

func (*ProjectsLocationsUnitsPatchCall)Fields

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

func (*ProjectsLocationsUnitsPatchCall)Header

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

func (*ProjectsLocationsUnitsPatchCall)RequestId

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

func (*ProjectsLocationsUnitsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Unit resource by the update. Thefields specified in the update_mask are relative to the resource, not thefull request. A field will be overwritten if it is in the mask. If the userdoes not provide a mask then all fields in the Unit will be overwritten.

func (*ProjectsLocationsUnitsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If "validate_only"is set to true, the service will try to validate that this request wouldsucceed, but will not actually make changes.

typeProjectsLocationsUnitsService

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

funcNewProjectsLocationsUnitsService

func NewProjectsLocationsUnitsService(s *Service) *ProjectsLocationsUnitsService

func (*ProjectsLocationsUnitsService)Create

Create: Create a new unit.

- parent: The parent of the unit.

func (*ProjectsLocationsUnitsService)Delete

Delete: Delete a single unit.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsUnitsService)Get

Get: Retrieve a single unit.

- name: The resource name of the resource within a service.

func (*ProjectsLocationsUnitsService)List

List: Retrieve a collection of units.

- parent: The parent of the unit.

func (*ProjectsLocationsUnitsService)Patch

Patch: Update a single unit.

  • name: Identifier. The resource name (full URI of the resource) followingthe standard naming scheme:"projects/{project}/locations/{location}/units/{unit}".

typeProjectsService

type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}

funcNewProjectsService

func NewProjectsService(s *Service) *ProjectsService

typeProvision

type Provision struct {// InputVariables: Optional. Set of input variables. Maximum 100. (optional)InputVariables []*UnitVariable `json:"inputVariables,omitempty"`// Release: Optional. Reference to the Release object to use for the Unit.// (optional).Releasestring `json:"release,omitempty"`// ForceSendFields is a list of field names (e.g. "InputVariables") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InputVariables") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Provision: Provision is the unit operation that provision the underlyingresources represented by a Unit. Can only execute if the Unit is notcurrently provisioned.

func (Provision)MarshalJSON

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

typeRelease

type Release struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// Blueprint: Optional. Blueprints are OCI Images that contain all of the// artifacts needed to provision a unit.Blueprint *Blueprint `json:"blueprint,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// InputVariableDefaults: Optional. Mapping of input variables to default// values. Maximum 100InputVariableDefaults []*UnitVariable `json:"inputVariableDefaults,omitempty"`// InputVariables: Optional. Output only. List of input variables declared on// the blueprint and can be present with their values on the unit specInputVariables []*UnitVariable `json:"inputVariables,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/releases/{release}"Namestring `json:"name,omitempty"`// OutputVariables: Optional. Output only. List of output variables declared on// the blueprint and can be present with their values on the unit statusOutputVariables []*UnitVariable `json:"outputVariables,omitempty"`// ReleaseRequirements: Optional. Set of requirements to be fulfilled on the// Unit when using this Release.ReleaseRequirements *ReleaseRequirements `json:"releaseRequirements,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UnitKind: Required. Immutable. Reference to the UnitKind this Release// corresponds to (required and immutable once created).UnitKindstring `json:"unitKind,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Release: A new version to be propagated and deployed to units. This includespointers to packaged blueprints for actuation (e.g Helm or Terraformconfiguration packages) via artifact registry.

func (Release)MarshalJSON

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

typeReleaseRequirements

type ReleaseRequirements struct {// UpgradeableFromReleases: Optional. A list of releases from which a unit can// be upgraded to this one (optional). If left empty no constraints will be// applied. When provided, unit upgrade requests to this release will check and// enforce this constraint.UpgradeableFromReleases []string `json:"upgradeableFromReleases,omitempty"`// ForceSendFields is a list of field names (e.g. "UpgradeableFromReleases") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "UpgradeableFromReleases") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReleaseRequirements: Set of requirements to be fulfilled on the Unit whenusing this Release.

func (ReleaseRequirements)MarshalJSON

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

typeReplicationInternaladded inv0.251.0

type ReplicationInternal struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// MaxRetryCount: Optional. The maximum number of retries for the replication.// If the replication fails from a retryable error, it will be retried for this// number of times.MaxRetryCountint64 `json:"maxRetryCount,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/replicationInternal/{replication_int// ernal_id}"Namestring `json:"name,omitempty"`// Payload: Required. The payload of the request for replication. It could be// any request type that is supported by the replication service. e.g.// CreateUnitKindRequest, UpdateUnitKindRequest, DeleteReleaseRequest, etc.Payloadgoogleapi.RawMessage `json:"payload,omitempty"`// State: Output only. The state of the replication.//// Possible values://   "REPLICATION_STATE_UNSPECIFIED" - Unspecified state.//   "REPLICATION_STATE_PENDING" - Replication is pending.//   "REPLICATION_STATE_RUNNING" - Replication is running.//   "REPLICATION_STATE_FAILED" - Replication has failed.//   "REPLICATION_STATE_SUCCEEDED" - Replication has succeeded.Statestring `json:"state,omitempty"`// Stats: Output only. The stats of the replication. One key for each location// in target_locationsStats map[string]ReplicationStats `json:"stats,omitempty"`// TargetLocations: Optional. The target locations to replicate the resource// to.TargetLocations []string `json:"targetLocations,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReplicationInternal: ReplicationInternal is a resource that represents thereplication of a resource to multiple locations. This is an internalresource to achieve replication before GA and will not expose to the publicAPI.

func (ReplicationInternal)MarshalJSONadded inv0.251.0

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

typeReplicationStatsadded inv0.251.0

type ReplicationStats struct {// Errors: The errors that occurred during replication, one error for each// failed resource.Errors []*Status `json:"errors,omitempty"`// FailedResources: The resources that are failed replication.FailedResources []string `json:"failedResources,omitempty"`// FinishedResources: The resources that are finished replication.FinishedResources []string `json:"finishedResources,omitempty"`// PendingResources: The resources that are pending replication.PendingResources []string `json:"pendingResources,omitempty"`// RetryCount: The number of retries for the failed resources.RetryCount []int64 `json:"retryCount,omitempty"`// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Errors") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReplicationStats: ReplicationStats contains the stats of the replication. Itcontains the resources that are pending, finished, failed, and the errors ifany.

func (ReplicationStats)MarshalJSONadded inv0.251.0

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

typeRollout

type Rollout struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// Control: Optional. Requested change to the execution of this rollout.// Default RolloutControl.action is ROLLOUT_ACTION_RUN meaning the rollout will// be executed to completion while progressing through all natural Rollout// States (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). Requests can// only be made when the Rollout is in a non-terminal state.Control *RolloutControl `json:"control,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// EffectiveUnitFilter: Optional. Output only. Output only snapshot of the// effective unit filter at Rollout start time. Contains a// CEL(https://github.com/google/cel-spec) expression consisting of a// conjunction of Rollout.unit_filter and RolloutKind.unit_filter. This field// captures the filter applied by the Rollout to determine the Unit population.// If the associated RolloutKind's unit_filter is modified after the rollout is// started, it will not be updated here.EffectiveUnitFilterstring `json:"effectiveUnitFilter,omitempty"`// EndTime: Optional. Output only. The time when the rollout finished execution// (regardless of success, failure, or cancellation). Will be empty if the// rollout hasn't finished yet. Once set, the rollout is in terminal state and// all the results are final.EndTimestring `json:"endTime,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/rollout/{rollout_id}"Namestring `json:"name,omitempty"`// ParentRollout: Optional. Output only. The direct parent rollout that this// rollout is stemming from. The resource name (full URI of the resource)// following the standard naming scheme:// "projects/{project}/locations/{location}/rollouts/{rollout_id}"ParentRolloutstring `json:"parentRollout,omitempty"`// Release: Optional. Immutable. Name of the Release that gets rolled out to// target Units. Required if no other type of release is specified.Releasestring `json:"release,omitempty"`// RolloutKind: Optional. Immutable. Name of the RolloutKind this rollout is// stemming from and adhering to.RolloutKindstring `json:"rolloutKind,omitempty"`// RolloutOrchestrationStrategy: Optional. The strategy used for executing this// Rollout. This strategy will override whatever strategy is specified in the// RolloutKind. If not specified on creation, the strategy from RolloutKind// will be used. There are two supported values strategies which are used to// control - "Google.Cloud.Simple.AllAtOnce" -// "Google.Cloud.Simple.OneLocationAtATime" A rollout with one of these simple// strategies will rollout across all locations defined in the targeted// UnitKind's Saas Locations.RolloutOrchestrationStrategystring `json:"rolloutOrchestrationStrategy,omitempty"`// RootRollout: Optional. Output only. The root rollout that this rollout is// stemming from. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/rollouts/{rollout_id}"RootRolloutstring `json:"rootRollout,omitempty"`// StartTime: Optional. Output only. The time when the rollout started// executing. Will be empty if the rollout hasn't started yet.StartTimestring `json:"startTime,omitempty"`// State: Output only. Current state of the rollout.//// Possible values://   "ROLLOUT_STATE_UNSPECIFIED" - Unspecified state.//   "ROLLOUT_STATE_RUNNING" - Rollout is in progress.//   "ROLLOUT_STATE_PAUSED" - Rollout has been paused.//   "ROLLOUT_STATE_SUCCEEDED" - Rollout completed successfully.//   "ROLLOUT_STATE_FAILED" - Rollout has failed.//   "ROLLOUT_STATE_CANCELLED" - Rollout has been canceled.//   "ROLLOUT_STATE_WAITING" - Rollout is waiting for some condition to be met// before starting.//   "ROLLOUT_STATE_CANCELLING" - Rollout is being canceled.//   "ROLLOUT_STATE_RESUMING" - Rollout is being resumed.//   "ROLLOUT_STATE_PAUSING" - Rollout is being paused.Statestring `json:"state,omitempty"`// StateMessage: Output only. Human readable message indicating details about// the last state transition.StateMessagestring `json:"stateMessage,omitempty"`// StateTransitionTime: Optional. Output only. The time when the rollout// transitioned into its current state.StateTransitionTimestring `json:"stateTransitionTime,omitempty"`// Stats: Optional. Output only. Details about the progress of the rollout.Stats *RolloutStats `json:"stats,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UnitFilter: Optional. CEL(https://github.com/google/cel-spec) formatted// filter string against Unit. The filter will be applied to determine the// eligible unit population. This filter can only reduce, but not expand the// scope of the rollout. If not provided, the unit_filter from the RolloutKind// will be used.UnitFilterstring `json:"unitFilter,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Rollout: Represents a single rollout execution and its results

func (Rollout)MarshalJSON

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

typeRolloutControl

type RolloutControl struct {// Action: Required. Action to be performed on the Rollout. The default// behavior is to run the rollout until it naturally reaches a terminal state.//// Possible values://   "ROLLOUT_ACTION_UNSPECIFIED" - Unspecified action, will be treated as RUN// by default.//   "ROLLOUT_ACTION_RUN" - Run the Rollout until it naturally reaches a// terminal state. A rollout requested to run will progress through all natural// Rollout States (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). If// retriable errors are encountered during the rollout, the rollout will paused// by default and can be resumed by re-requesting this RUN action.//   "ROLLOUT_ACTION_PAUSE" - Pause the Rollout until it is resumed (i.e. RUN// is requested).//   "ROLLOUT_ACTION_CANCEL" - Cancel the Rollout permanently.Actionstring `json:"action,omitempty"`// RunParams: Optional. Parameters for the RUN action. It is an error to// specify this if the RolloutAction is not set to RUN. By default, the rollout// will retry failed operations when resumed.RunParams *RunRolloutActionParams `json:"runParams,omitempty"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RolloutControl: RolloutControl provides a way to request a change to theexecution of a Rollout by pausing or canceling it.

func (RolloutControl)MarshalJSON

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

typeRolloutKind

type RolloutKind struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// ErrorBudget: Optional. The configuration for error budget. If the number of// failed units exceeds max(allowed_count, allowed_ratio * total_units), the// rollout will be paused. If not set, all units will be attempted to be// updated regardless of the number of failures encountered.ErrorBudget *ErrorBudget `json:"errorBudget,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"Namestring `json:"name,omitempty"`// RolloutOrchestrationStrategy: Optional. The strategy used for executing a// Rollout. This is a required field. There are two supported values strategies// which are used to control - "Google.Cloud.Simple.AllAtOnce" -// "Google.Cloud.Simple.OneLocationAtATime" A rollout with one of these simple// strategies will rollout across all locations defined in the associated// UnitKind's Saas Locations.RolloutOrchestrationStrategystring `json:"rolloutOrchestrationStrategy,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UnitFilter: Optional. CEL(https://github.com/google/cel-spec) formatted// filter string against Unit. The filter will be applied to determine the// eligible unit population. This filter can only reduce, but not expand the// scope of the rollout.UnitFilterstring `json:"unitFilter,omitempty"`// UnitKind: Required. Immutable. UnitKind that this rollout kind corresponds// to. Rollouts stemming from this rollout kind will target the units of this// unit kind. In other words, this defines the population of target units to be// upgraded by rollouts.UnitKindstring `json:"unitKind,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// UpdateUnitKindStrategy: Optional. The config for updating the unit kind. By// default, the unit kind will be updated on the rollout start.//// Possible values://   "UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED" - Strategy unspecified.//   "UPDATE_UNIT_KIND_STRATEGY_ON_START" - Update the unit kind strategy on// the rollout start.//   "UPDATE_UNIT_KIND_STRATEGY_NEVER" - Never update the unit kind.UpdateUnitKindStrategystring `json:"updateUnitKindStrategy,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RolloutKind: An object that describes various settings of Rollout execution.Includes built-in policies across GCP and GDC, and customizable policies.

func (RolloutKind)MarshalJSON

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

typeRolloutStats

type RolloutStats struct {// OperationsByState: Output only. A breakdown of the progress of operations// triggered by the rollout. Provides a count of Operations by their state.// This can be used to determine the number of units which have been updated,// or are scheduled to be updated. There will be at most one entry per group.// Possible values for operation groups are: - "SCHEDULED" - "PENDING" -// "RUNNING" - "SUCCEEDED" - "FAILED" - "CANCELLED"OperationsByState []*Aggregate `json:"operationsByState,omitempty"`// ForceSendFields is a list of field names (e.g. "OperationsByState") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OperationsByState") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RolloutStats: RolloutStats contains information about the progress of arollout.

func (RolloutStats)MarshalJSON

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

typeRunRolloutActionParams

type RunRolloutActionParams struct {// RetryFailedOperations: Required. If true, the rollout will retry failed// operations when resumed. This is applicable only the current state of the// Rollout is PAUSED and the requested action is RUN.RetryFailedOperationsbool `json:"retryFailedOperations,omitempty"`// ForceSendFields is a list of field names (e.g. "RetryFailedOperations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RetryFailedOperations") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RunRolloutActionParams: Parameters for the RUN action controlling thebehavior of the rollout when it is resumed from a PAUSED state.

func (RunRolloutActionParams)MarshalJSON

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

typeSaas

type Saas struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Locations: Optional. List of locations that the service is available in.// Rollout refers to the list to generate a rollout plan.Locations []*Location `json:"locations,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/saas/{saas}"Namestring `json:"name,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Saas: Saas is a representation of a SaaS service managed by the Producer.

func (Saas)MarshalJSON

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

typeSchedule

type Schedule struct {// StartTime: Optional. Start of operation. If not set, will be set to the// start of the next window. (optional)StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "StartTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "StartTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Schedule: A time specification to schedule the maintenance.

func (Schedule)MarshalJSON

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

typeService

type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields}

funcNewdeprecated

func New(client *http.Client) (*Service,error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

funcNewService

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*Service,error)

NewService creates a new Service.

typeStatusadded inv0.251.0

type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).

func (Status)MarshalJSONadded inv0.251.0

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

typeTenant

type Tenant struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// ConsumerResource: Optional. Immutable. A reference to the consumer resource// this SaaS Tenant is representing. The relationship with a consumer resource// can be used by SaaS Runtime for retrieving consumer-defined settings and// policies such as maintenance policies (using Unified Maintenance Policy// API).ConsumerResourcestring `json:"consumerResource,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/tenants/{tenant}"Namestring `json:"name,omitempty"`// Saas: Required. Immutable. A reference to the Saas that defines the product// (managed service) that the producer wants to manage with SaaS Runtime. Part// of the SaaS Runtime common data model.Saasstring `json:"saas,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Tenant: Tenant represents the service producer side of an instance of theservice created based on a request from a consumer. In a typical scenario aTenant has a one-to-one mapping with a resource given out to a serviceconsumer. Example: tenant: name:"projects/svc1/locations/loc/tenants/inst-068afff8" consumer_resource:"projects/gshoe/locations/loc/shoes/black-shoe"

func (Tenant)MarshalJSON

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

typeToMapping

type ToMapping struct {// Dependency: Required. Alias of the dependency that the inputVariable will// pass its value toDependencystring `json:"dependency,omitempty"`// IgnoreForLookup: Optional. Tells SaaS Runtime if this mapping should be used// during lookup or notIgnoreForLookupbool `json:"ignoreForLookup,omitempty"`// InputVariable: Required. Name of the inputVariable on the dependencyInputVariablestring `json:"inputVariable,omitempty"`// ForceSendFields is a list of field names (e.g. "Dependency") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Dependency") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ToMapping: Input variables whose values will be passed on to dependencies

func (ToMapping)MarshalJSON

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

typeUnit

type Unit struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// Conditions: Optional. Output only. A set of conditions which indicate the// various conditions this resource can have.Conditions []*UnitCondition `json:"conditions,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Dependencies: Optional. Output only. Set of dependencies for this unit.// Maximum 10.Dependencies []*UnitDependency `json:"dependencies,omitempty"`// Dependents: Optional. Output only. List of Units that depend on this unit.// Unit can only be deprovisioned if this list is empty. Maximum 1000.Dependents []*UnitDependency `json:"dependents,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// InputVariables: Optional. Output only. Indicates the current input variables// deployed by the unitInputVariables []*UnitVariable `json:"inputVariables,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Maintenance: Optional. Captures requested directives for performing future// maintenance on the unit. This includes a request for the unit to skip// maintenance for a period of time and remain pinned to its current release as// well as controls for postponing maintenance scheduled in future.Maintenance *MaintenanceSettings `json:"maintenance,omitempty"`// ManagementMode: Optional. Immutable. Indicates whether the Unit life cycle// is controlled by the user or by the system. Immutable once created.//// Possible values://   "MANAGEMENT_MODE_UNSPECIFIED"//   "MANAGEMENT_MODE_USER" - Unit's lifecycle is managed by the user.//   "MANAGEMENT_MODE_SYSTEM" - The system will decide when to deprovision and// delete the unit. User still can deprovision or delete the unit manually.ManagementModestring `json:"managementMode,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/units/{unit}"Namestring `json:"name,omitempty"`// OngoingOperations: Optional. Output only. List of concurrent UnitOperations// that are operating on this Unit.OngoingOperations []string `json:"ongoingOperations,omitempty"`// OutputVariables: Optional. Output only. Set of key/value pairs corresponding// to output variables from execution of actuation templates. The variables are// declared in actuation configs (e.g in helm chart or terraform) and the// values are fetched and returned by the actuation engine upon completion of// execution.OutputVariables []*UnitVariable `json:"outputVariables,omitempty"`// PendingOperations: Optional. Output only. List of pending (wait to be// executed) UnitOperations for this unit.PendingOperations []string `json:"pendingOperations,omitempty"`// Release: Optional. Output only. The current Release object for this Unit.Releasestring `json:"release,omitempty"`// ScheduledOperations: Optional. Output only. List of scheduled UnitOperations// for this unit.ScheduledOperations []string `json:"scheduledOperations,omitempty"`// State: Optional. Output only. Current lifecycle state of the resource (e.g.// if it's being created or ready to use).//// Possible values://   "UNIT_STATE_UNSPECIFIED" - Unspecified state.//   "UNIT_STATE_NOT_PROVISIONED" - Unit is not provisioned.//   "UNIT_STATE_PROVISIONING" - Unit is being provisioned.//   "UNIT_STATE_UPDATING" - Unit is being updated. This is typically when a// unit is being upgraded to a new release or some of the input variables on// the Unit is being changed. Certain kinds of updates may cause the Unit to// become unusable while the update is in progress.//   "UNIT_STATE_DEPROVISIONING" - Unit is being deleted.//   "UNIT_STATE_READY" - Unit has been provisioned and is ready for use//   "UNIT_STATE_ERROR" - Unit has error, when it is not ready and some error// operationStatestring `json:"state,omitempty"`// SystemCleanupAt: Optional. Output only. If set, indicates the time when the// system will start removing the unit.SystemCleanupAtstring `json:"systemCleanupAt,omitempty"`// SystemManagedState: Optional. Output only. Indicates the system managed// state of the unit.//// Possible values://   "SYSTEM_MANAGED_STATE_UNSPECIFIED"//   "SYSTEM_MANAGED_STATE_ACTIVE" - Unit has dependents attached.//   "SYSTEM_MANAGED_STATE_INACTIVE" - Unit has no dependencies attached, but// attachment is allowed.//   "SYSTEM_MANAGED_STATE_DECOMMISSIONED" - Unit has no dependencies attached,// and attachment is not allowed.SystemManagedStatestring `json:"systemManagedState,omitempty"`// Tenant: Optional. Reference to the Saas Tenant resource this unit belongs// to. This for example informs the maintenance policies to use for scheduling// future updates on a unit. (optional and immutable once created)Tenantstring `json:"tenant,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UnitKind: Optional. Reference to the UnitKind this Unit belongs to.// Immutable once set.UnitKindstring `json:"unitKind,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Unit: A unit of deployment that has its lifecycle via a CRUD API using anactuation engine under the hood (e.g. based on Terraform, Helm or a customimplementation provided by a service producer). A building block of a SaaSTenant.

func (Unit)MarshalJSON

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

typeUnitCondition

type UnitCondition struct {// LastTransitionTime: Required. Last time the condition transited from one// status to another.LastTransitionTimestring `json:"lastTransitionTime,omitempty"`// Message: Required. Human readable message indicating details about the last// transition.Messagestring `json:"message,omitempty"`// Reason: Required. Brief reason for the condition's last transition.Reasonstring `json:"reason,omitempty"`// Status: Required. Status of the condition.//// Possible values://   "STATUS_UNSPECIFIED" - Condition status is unspecified.//   "STATUS_UNKNOWN" - Condition is unknown.//   "STATUS_TRUE" - Condition is true.//   "STATUS_FALSE" - Condition is false.Statusstring `json:"status,omitempty"`// Type: Required. Type of the condition.//// Possible values://   "TYPE_UNSPECIFIED" - Condition type is unspecified.//   "TYPE_READY" - Condition type is ready.//   "TYPE_UPDATING" - Condition type is updating.//   "TYPE_PROVISIONED" - Condition type is provisioned.//   "TYPE_OPERATION_ERROR" - Condition type is operationError. True when the// last unit operation fails with a non-ignorable error.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "LastTransitionTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LastTransitionTime") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UnitCondition: UnitCondition describes the status of an Unit. UnitConditionis individual components that contribute to an overall state.

func (UnitCondition)MarshalJSON

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

typeUnitDependency

type UnitDependency struct {// Alias: Output only. Alias for the name of the dependency.Aliasstring `json:"alias,omitempty"`// Unit: Output only. A reference to the Unit object.Unitstring `json:"unit,omitempty"`// ForceSendFields is a list of field names (e.g. "Alias") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Alias") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UnitDependency: Set of dependencies for this unit. Maximum 10.

func (UnitDependency)MarshalJSON

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

typeUnitKind

type UnitKind struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DefaultRelease: Optional. A reference to the Release object to use as// default for creating new units of this UnitKind (optional). If not// specified, a new unit must explicitly reference which release to use for its// creation.DefaultReleasestring `json:"defaultRelease,omitempty"`// Dependencies: Optional. Immutable. List of other unit kinds that this// release will depend on. Dependencies will be automatically provisioned if// not found. Maximum 10.Dependencies []*Dependency `json:"dependencies,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// InputVariableMappings: Optional. List of inputVariables for this release// that will either be retrieved from a dependency’s outputVariables, or will// be passed on to a dependency’s inputVariables. Maximum 100.InputVariableMappings []*VariableMapping `json:"inputVariableMappings,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/unitKinds/{unitKind}"Namestring `json:"name,omitempty"`// OutputVariableMappings: Optional. List of outputVariables for this unit kind// will be passed to this unit's outputVariables. Maximum 100.OutputVariableMappings []*VariableMapping `json:"outputVariableMappings,omitempty"`// Saas: Required. Immutable. A reference to the Saas that defines the product// (managed service) that the producer wants to manage with SaaS Runtime. Part// of the SaaS Runtime common data model. Immutable once set.Saasstring `json:"saas,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UnitKind: Definition of a Unit. Units belonging to the same UnitKind aremanaged together; for example they follow the same release model(blueprints, versions etc.) and are typically rolled out together.

func (UnitKind)MarshalJSON

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

typeUnitOperation

type UnitOperation struct {// Annotations: Optional. Annotations is an unstructured key-value map stored// with a resource that may be set by external tools to store and retrieve// arbitrary metadata. They are not queryable and should be preserved when// modifying objects. More info://https://kubernetes.io/docs/user-guide/annotationsAnnotations map[string]string `json:"annotations,omitempty"`// Cancel: Optional. When true, attempt to cancel the operation. Cancellation// may fail if the operation is already executing. (Optional)Cancelbool `json:"cancel,omitempty"`// Conditions: Optional. Output only. A set of conditions which indicate the// various conditions this resource can have.Conditions []*UnitOperationCondition `json:"conditions,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring       `json:"createTime,omitempty"`Deprovision *Deprovision `json:"deprovision,omitempty"`// EngineState: Optional. Output only. The engine state for on-going deployment// engine operation(s). This field is opaque for external usage.EngineStatestring `json:"engineState,omitempty"`// ErrorCategory: Optional. Output only. UnitOperationErrorCategory describe// the error category.//// Possible values://   "UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED" - Unit operation error// category is unspecified//   "NOT_APPLICABLE" - Unit operation error category is not applicable, or it// is not an error//   "FATAL" - Unit operation error category is fatal//   "RETRIABLE" - Unit operation error category is retriable//   "IGNORABLE" - Unit operation error category is ignorable//   "STANDARD" - Unit operation error category is standard, counts towards// Rollout error budgetErrorCategorystring `json:"errorCategory,omitempty"`// Etag: Output only. An opaque value that uniquely identifies a version or// generation of a resource. It can be used to confirm that the client and// server agree on the ordering of a resource being written.Etagstring `json:"etag,omitempty"`// Labels: Optional. The labels on the resource, which can be used for// categorization. similar to Kubernetes resource labels.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The resource name (full URI of the resource) following the// standard naming scheme:// "projects/{project}/locations/{location}/unitOperations/{unitOperation}"Namestring `json:"name,omitempty"`// ParentUnitOperation: Optional. Reference to parent resource: UnitOperation.// If an operation needs to create other operations as part of its workflow,// each of the child operations should have this field set to the parent. This// can be used for tracing. (Optional)ParentUnitOperationstring     `json:"parentUnitOperation,omitempty"`Provision           *Provision `json:"provision,omitempty"`// Rollout: Optional. Specifies which rollout created this Unit Operation. This// cannot be modified and is used for filtering purposes only. If a dependent// unit and unit operation are created as part of another unit operation, they// will use the same rolloutId.Rolloutstring `json:"rollout,omitempty"`// Schedule: Optional. When to schedule this operation.Schedule *Schedule `json:"schedule,omitempty"`// State: Optional. Output only. UnitOperationState describes the current state// of the unit operation.//// Possible values://   "UNIT_OPERATION_STATE_UNKNOWN"//   "UNIT_OPERATION_STATE_PENDING" - Unit operation is accepted but not ready// to run.//   "UNIT_OPERATION_STATE_SCHEDULED" - Unit operation is accepted and// scheduled.//   "UNIT_OPERATION_STATE_RUNNING" - Unit operation is running.//   "UNIT_OPERATION_STATE_SUCCEEDED" - Unit operation has completed// successfully.//   "UNIT_OPERATION_STATE_FAILED" - Unit operation has failed.//   "UNIT_OPERATION_STATE_CANCELLED" - Unit operation was cancelled.Statestring `json:"state,omitempty"`// Uid: Output only. The unique identifier of the resource. UID is unique in// the time and space for this resource within the scope of the service. It is// typically generated by the server on successful creation of a resource and// must not be changed. UID is used to uniquely identify resources with// resource name reuses. This should be a UUID4.Uidstring `json:"uid,omitempty"`// Unit: Required. Immutable. The Unit a given UnitOperation will act upon.Unitstring `json:"unit,omitempty"`// UpdateTime: Output only. The timestamp when the resource was last updated.// Any change to the resource made by users must refresh this value. Changes to// a resource made by the service should refresh this value.UpdateTimestring   `json:"updateTime,omitempty"`Upgrade    *Upgrade `json:"upgrade,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UnitOperation: UnitOperation encapsulates the intent of changing/interactingwith the service component represented by the specific Unit. MultipleUnitOperations can be created (requested) and scheduled in the future,however only one will be allowed to execute at a time (that can change inthe future for non-mutating operations). UnitOperations allow differentactors interacting with the same unit to focus only on the change they haverequested. This is a base object that contains the common fields in all unitoperations. Next: 19

func (UnitOperation)MarshalJSON

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

typeUnitOperationCondition

type UnitOperationCondition struct {// LastTransitionTime: Required. Last time the condition transited from one// status to another.LastTransitionTimestring `json:"lastTransitionTime,omitempty"`// Message: Required. Human readable message indicating details about the last// transition.Messagestring `json:"message,omitempty"`// Reason: Required. Brief reason for the condition's last transition.Reasonstring `json:"reason,omitempty"`// Status: Required. Status of the condition.//// Possible values://   "STATUS_UNSPECIFIED" - Condition status is unspecified.//   "STATUS_UNKNOWN" - Condition is unknown.//   "STATUS_TRUE" - Condition is true.//   "STATUS_FALSE" - Condition is false.Statusstring `json:"status,omitempty"`// Type: Required. Type of the condition.//// Possible values://   "TYPE_UNSPECIFIED" - Condition type is unspecified.//   "TYPE_SCHEDULED" - Condition type is scheduled.//   "TYPE_RUNNING" - Condition type is running.//   "TYPE_SUCCEEDED" - Condition type is succeeded.//   "TYPE_CANCELLED" - Condition type is cancelled.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "LastTransitionTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LastTransitionTime") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UnitOperationCondition: UnitOperationCondition describes the status of anUnit Operation. UnitOperationCondition is individual components thatcontribute to an overall state.

func (UnitOperationCondition)MarshalJSON

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

typeUnitVariable

type UnitVariable struct {// Type: Optional. Immutable. Name of a supported variable type. Supported// types are string, int, bool.//// Possible values://   "TYPE_UNSPECIFIED" - Variable type is unspecified.//   "STRING" - Variable type is string.//   "INT" - Variable type is int.//   "BOOL" - Variable type is bool.Typestring `json:"type,omitempty"`// Value: Optional. String encoded value for the variable.Valuestring `json:"value,omitempty"`// Variable: Required. Immutable. Name of the variable from actuation configs.Variablestring `json:"variable,omitempty"`// ForceSendFields is a list of field names (e.g. "Type") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Type") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

UnitVariable: UnitVariable describes a parameter for a Unit.

func (UnitVariable)MarshalJSON

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

typeUpgrade

type Upgrade struct {// InputVariables: Optional. Set of input variables. Maximum 100. (optional)InputVariables []*UnitVariable `json:"inputVariables,omitempty"`// Release: Optional. Reference to the Release object to use for the Unit.// (optional).Releasestring `json:"release,omitempty"`// ForceSendFields is a list of field names (e.g. "InputVariables") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InputVariables") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Upgrade: Upgrade is the unit operation that upgrades a provisioned unit,which may also include the underlying resources represented by a Unit. Canonly execute if the Unit is currently provisioned.

func (Upgrade)MarshalJSON

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

typeVariableMapping

type VariableMapping struct {// From: Optional. Output variables which will get their values from// dependenciesFrom *FromMapping `json:"from,omitempty"`// To: Optional. Input variables whose values will be passed on to// dependencies.To *ToMapping `json:"to,omitempty"`// Variable: Required. name of the variableVariablestring `json:"variable,omitempty"`// ForceSendFields is a list of field names (e.g. "From") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "From") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

VariableMapping: Mapping of input variables to their respective outputvariable for depedenencies

func (VariableMapping)MarshalJSON

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

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp