saasservicemgmt
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package 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
- type Aggregate
- type Blueprint
- type Dependency
- type Deprovision
- type Empty
- type ErrorBudget
- type FromMapping
- type GoogleCloudLocationLocation
- type ListLocationsResponse
- type ListReleasesResponse
- type ListReplicationsInternalResponse
- type ListRolloutKindsResponse
- type ListRolloutsResponse
- type ListSaasResponse
- type ListTenantsResponse
- type ListUnitKindsResponse
- type ListUnitOperationsResponse
- type ListUnitsResponse
- type Location
- type MaintenanceSettings
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationLocation, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsReleasesCreateCall
- func (c *ProjectsLocationsReleasesCreateCall) Context(ctx context.Context) *ProjectsLocationsReleasesCreateCall
- func (c *ProjectsLocationsReleasesCreateCall) Do(opts ...googleapi.CallOption) (*Release, error)
- func (c *ProjectsLocationsReleasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesCreateCall
- func (c *ProjectsLocationsReleasesCreateCall) Header() http.Header
- func (c *ProjectsLocationsReleasesCreateCall) ReleaseId(releaseId string) *ProjectsLocationsReleasesCreateCall
- func (c *ProjectsLocationsReleasesCreateCall) RequestId(requestId string) *ProjectsLocationsReleasesCreateCall
- func (c *ProjectsLocationsReleasesCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsReleasesCreateCall
- type ProjectsLocationsReleasesDeleteCall
- func (c *ProjectsLocationsReleasesDeleteCall) Context(ctx context.Context) *ProjectsLocationsReleasesDeleteCall
- func (c *ProjectsLocationsReleasesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsReleasesDeleteCall) Etag(etag string) *ProjectsLocationsReleasesDeleteCall
- func (c *ProjectsLocationsReleasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesDeleteCall
- func (c *ProjectsLocationsReleasesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsReleasesDeleteCall) RequestId(requestId string) *ProjectsLocationsReleasesDeleteCall
- func (c *ProjectsLocationsReleasesDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsReleasesDeleteCall
- type ProjectsLocationsReleasesGetCall
- func (c *ProjectsLocationsReleasesGetCall) Context(ctx context.Context) *ProjectsLocationsReleasesGetCall
- func (c *ProjectsLocationsReleasesGetCall) Do(opts ...googleapi.CallOption) (*Release, error)
- func (c *ProjectsLocationsReleasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesGetCall
- func (c *ProjectsLocationsReleasesGetCall) Header() http.Header
- func (c *ProjectsLocationsReleasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsReleasesGetCall
- type ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) Context(ctx context.Context) *ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) Do(opts ...googleapi.CallOption) (*ListReleasesResponse, error)
- func (c *ProjectsLocationsReleasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) Filter(filter string) *ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) Header() http.Header
- func (c *ProjectsLocationsReleasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) OrderBy(orderBy string) *ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) PageSize(pageSize int64) *ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) PageToken(pageToken string) *ProjectsLocationsReleasesListCall
- func (c *ProjectsLocationsReleasesListCall) Pages(ctx context.Context, f func(*ListReleasesResponse) error) error
- type ProjectsLocationsReleasesPatchCall
- func (c *ProjectsLocationsReleasesPatchCall) Context(ctx context.Context) *ProjectsLocationsReleasesPatchCall
- func (c *ProjectsLocationsReleasesPatchCall) Do(opts ...googleapi.CallOption) (*Release, error)
- func (c *ProjectsLocationsReleasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesPatchCall
- func (c *ProjectsLocationsReleasesPatchCall) Header() http.Header
- func (c *ProjectsLocationsReleasesPatchCall) RequestId(requestId string) *ProjectsLocationsReleasesPatchCall
- func (c *ProjectsLocationsReleasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsReleasesPatchCall
- func (c *ProjectsLocationsReleasesPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsReleasesPatchCall
- type ProjectsLocationsReleasesService
- func (r *ProjectsLocationsReleasesService) Create(parent string, release *Release) *ProjectsLocationsReleasesCreateCall
- func (r *ProjectsLocationsReleasesService) Delete(name string) *ProjectsLocationsReleasesDeleteCall
- func (r *ProjectsLocationsReleasesService) Get(name string) *ProjectsLocationsReleasesGetCall
- func (r *ProjectsLocationsReleasesService) List(parent string) *ProjectsLocationsReleasesListCall
- func (r *ProjectsLocationsReleasesService) Patch(name string, release *Release) *ProjectsLocationsReleasesPatchCall
- type ProjectsLocationsReplicationsInternalCreateCall
- func (c *ProjectsLocationsReplicationsInternalCreateCall) Context(ctx context.Context) *ProjectsLocationsReplicationsInternalCreateCall
- func (c *ProjectsLocationsReplicationsInternalCreateCall) Do(opts ...googleapi.CallOption) (*ReplicationInternal, error)
- func (c *ProjectsLocationsReplicationsInternalCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalCreateCall
- func (c *ProjectsLocationsReplicationsInternalCreateCall) Header() http.Header
- func (c *ProjectsLocationsReplicationsInternalCreateCall) ReplicationInternalId(replicationInternalId string) *ProjectsLocationsReplicationsInternalCreateCall
- func (c *ProjectsLocationsReplicationsInternalCreateCall) RequestId(requestId string) *ProjectsLocationsReplicationsInternalCreateCall
- func (c *ProjectsLocationsReplicationsInternalCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsReplicationsInternalCreateCall
- type ProjectsLocationsReplicationsInternalDeleteCall
- func (c *ProjectsLocationsReplicationsInternalDeleteCall) Context(ctx context.Context) *ProjectsLocationsReplicationsInternalDeleteCall
- func (c *ProjectsLocationsReplicationsInternalDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsReplicationsInternalDeleteCall) Etag(etag string) *ProjectsLocationsReplicationsInternalDeleteCall
- func (c *ProjectsLocationsReplicationsInternalDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalDeleteCall
- func (c *ProjectsLocationsReplicationsInternalDeleteCall) Header() http.Header
- func (c *ProjectsLocationsReplicationsInternalDeleteCall) RequestId(requestId string) *ProjectsLocationsReplicationsInternalDeleteCall
- func (c *ProjectsLocationsReplicationsInternalDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsReplicationsInternalDeleteCall
- type ProjectsLocationsReplicationsInternalGetCall
- func (c *ProjectsLocationsReplicationsInternalGetCall) Context(ctx context.Context) *ProjectsLocationsReplicationsInternalGetCall
- func (c *ProjectsLocationsReplicationsInternalGetCall) Do(opts ...googleapi.CallOption) (*ReplicationInternal, error)
- func (c *ProjectsLocationsReplicationsInternalGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalGetCall
- func (c *ProjectsLocationsReplicationsInternalGetCall) Header() http.Header
- func (c *ProjectsLocationsReplicationsInternalGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsReplicationsInternalGetCall
- type ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) Context(ctx context.Context) *ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) Do(opts ...googleapi.CallOption) (*ListReplicationsInternalResponse, error)
- func (c *ProjectsLocationsReplicationsInternalListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) Filter(filter string) *ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) Header() http.Header
- func (c *ProjectsLocationsReplicationsInternalListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) OrderBy(orderBy string) *ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) PageSize(pageSize int64) *ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) PageToken(pageToken string) *ProjectsLocationsReplicationsInternalListCall
- func (c *ProjectsLocationsReplicationsInternalListCall) Pages(ctx context.Context, f func(*ListReplicationsInternalResponse) error) error
- type ProjectsLocationsReplicationsInternalPatchCall
- func (c *ProjectsLocationsReplicationsInternalPatchCall) Context(ctx context.Context) *ProjectsLocationsReplicationsInternalPatchCall
- func (c *ProjectsLocationsReplicationsInternalPatchCall) Do(opts ...googleapi.CallOption) (*ReplicationInternal, error)
- func (c *ProjectsLocationsReplicationsInternalPatchCall) Etag(etag string) *ProjectsLocationsReplicationsInternalPatchCall
- func (c *ProjectsLocationsReplicationsInternalPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalPatchCall
- func (c *ProjectsLocationsReplicationsInternalPatchCall) Header() http.Header
- func (c *ProjectsLocationsReplicationsInternalPatchCall) RequestId(requestId string) *ProjectsLocationsReplicationsInternalPatchCall
- func (c *ProjectsLocationsReplicationsInternalPatchCall) UpdateMask(updateMask string) *ProjectsLocationsReplicationsInternalPatchCall
- func (c *ProjectsLocationsReplicationsInternalPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsReplicationsInternalPatchCall
- type ProjectsLocationsReplicationsInternalService
- func (r *ProjectsLocationsReplicationsInternalService) Create(parent string, replicationinternal *ReplicationInternal) *ProjectsLocationsReplicationsInternalCreateCall
- func (r *ProjectsLocationsReplicationsInternalService) Delete(name string) *ProjectsLocationsReplicationsInternalDeleteCall
- func (r *ProjectsLocationsReplicationsInternalService) Get(name string) *ProjectsLocationsReplicationsInternalGetCall
- func (r *ProjectsLocationsReplicationsInternalService) List(parent string) *ProjectsLocationsReplicationsInternalListCall
- func (r *ProjectsLocationsReplicationsInternalService) Patch(name string, replicationinternal *ReplicationInternal) *ProjectsLocationsReplicationsInternalPatchCall
- type ProjectsLocationsRolloutKindsCreateCall
- func (c *ProjectsLocationsRolloutKindsCreateCall) Context(ctx context.Context) *ProjectsLocationsRolloutKindsCreateCall
- func (c *ProjectsLocationsRolloutKindsCreateCall) Do(opts ...googleapi.CallOption) (*RolloutKind, error)
- func (c *ProjectsLocationsRolloutKindsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsCreateCall
- func (c *ProjectsLocationsRolloutKindsCreateCall) Header() http.Header
- func (c *ProjectsLocationsRolloutKindsCreateCall) RequestId(requestId string) *ProjectsLocationsRolloutKindsCreateCall
- func (c *ProjectsLocationsRolloutKindsCreateCall) RolloutKindId(rolloutKindId string) *ProjectsLocationsRolloutKindsCreateCall
- func (c *ProjectsLocationsRolloutKindsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsRolloutKindsCreateCall
- type ProjectsLocationsRolloutKindsDeleteCall
- func (c *ProjectsLocationsRolloutKindsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRolloutKindsDeleteCall
- func (c *ProjectsLocationsRolloutKindsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRolloutKindsDeleteCall) Etag(etag string) *ProjectsLocationsRolloutKindsDeleteCall
- func (c *ProjectsLocationsRolloutKindsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsDeleteCall
- func (c *ProjectsLocationsRolloutKindsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsRolloutKindsDeleteCall) RequestId(requestId string) *ProjectsLocationsRolloutKindsDeleteCall
- func (c *ProjectsLocationsRolloutKindsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsRolloutKindsDeleteCall
- type ProjectsLocationsRolloutKindsGetCall
- func (c *ProjectsLocationsRolloutKindsGetCall) Context(ctx context.Context) *ProjectsLocationsRolloutKindsGetCall
- func (c *ProjectsLocationsRolloutKindsGetCall) Do(opts ...googleapi.CallOption) (*RolloutKind, error)
- func (c *ProjectsLocationsRolloutKindsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsGetCall
- func (c *ProjectsLocationsRolloutKindsGetCall) Header() http.Header
- func (c *ProjectsLocationsRolloutKindsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRolloutKindsGetCall
- type ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) Context(ctx context.Context) *ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) Do(opts ...googleapi.CallOption) (*ListRolloutKindsResponse, error)
- func (c *ProjectsLocationsRolloutKindsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) Filter(filter string) *ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) Header() http.Header
- func (c *ProjectsLocationsRolloutKindsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) OrderBy(orderBy string) *ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) PageSize(pageSize int64) *ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) PageToken(pageToken string) *ProjectsLocationsRolloutKindsListCall
- func (c *ProjectsLocationsRolloutKindsListCall) Pages(ctx context.Context, f func(*ListRolloutKindsResponse) error) error
- type ProjectsLocationsRolloutKindsPatchCall
- func (c *ProjectsLocationsRolloutKindsPatchCall) Context(ctx context.Context) *ProjectsLocationsRolloutKindsPatchCall
- func (c *ProjectsLocationsRolloutKindsPatchCall) Do(opts ...googleapi.CallOption) (*RolloutKind, error)
- func (c *ProjectsLocationsRolloutKindsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsPatchCall
- func (c *ProjectsLocationsRolloutKindsPatchCall) Header() http.Header
- func (c *ProjectsLocationsRolloutKindsPatchCall) RequestId(requestId string) *ProjectsLocationsRolloutKindsPatchCall
- func (c *ProjectsLocationsRolloutKindsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRolloutKindsPatchCall
- func (c *ProjectsLocationsRolloutKindsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsRolloutKindsPatchCall
- type ProjectsLocationsRolloutKindsService
- func (r *ProjectsLocationsRolloutKindsService) Create(parent string, rolloutkind *RolloutKind) *ProjectsLocationsRolloutKindsCreateCall
- func (r *ProjectsLocationsRolloutKindsService) Delete(name string) *ProjectsLocationsRolloutKindsDeleteCall
- func (r *ProjectsLocationsRolloutKindsService) Get(name string) *ProjectsLocationsRolloutKindsGetCall
- func (r *ProjectsLocationsRolloutKindsService) List(parent string) *ProjectsLocationsRolloutKindsListCall
- func (r *ProjectsLocationsRolloutKindsService) Patch(name string, rolloutkind *RolloutKind) *ProjectsLocationsRolloutKindsPatchCall
- type ProjectsLocationsRolloutsCreateCall
- func (c *ProjectsLocationsRolloutsCreateCall) Context(ctx context.Context) *ProjectsLocationsRolloutsCreateCall
- func (c *ProjectsLocationsRolloutsCreateCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
- func (c *ProjectsLocationsRolloutsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsCreateCall
- func (c *ProjectsLocationsRolloutsCreateCall) Header() http.Header
- func (c *ProjectsLocationsRolloutsCreateCall) RequestId(requestId string) *ProjectsLocationsRolloutsCreateCall
- func (c *ProjectsLocationsRolloutsCreateCall) RolloutId(rolloutId string) *ProjectsLocationsRolloutsCreateCall
- func (c *ProjectsLocationsRolloutsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsRolloutsCreateCall
- type ProjectsLocationsRolloutsDeleteCall
- func (c *ProjectsLocationsRolloutsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRolloutsDeleteCall
- func (c *ProjectsLocationsRolloutsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRolloutsDeleteCall) Etag(etag string) *ProjectsLocationsRolloutsDeleteCall
- func (c *ProjectsLocationsRolloutsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsDeleteCall
- func (c *ProjectsLocationsRolloutsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsRolloutsDeleteCall) RequestId(requestId string) *ProjectsLocationsRolloutsDeleteCall
- func (c *ProjectsLocationsRolloutsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsRolloutsDeleteCall
- type ProjectsLocationsRolloutsGetCall
- func (c *ProjectsLocationsRolloutsGetCall) Context(ctx context.Context) *ProjectsLocationsRolloutsGetCall
- func (c *ProjectsLocationsRolloutsGetCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
- func (c *ProjectsLocationsRolloutsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsGetCall
- func (c *ProjectsLocationsRolloutsGetCall) Header() http.Header
- func (c *ProjectsLocationsRolloutsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRolloutsGetCall
- type ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) Context(ctx context.Context) *ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) Do(opts ...googleapi.CallOption) (*ListRolloutsResponse, error)
- func (c *ProjectsLocationsRolloutsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) Filter(filter string) *ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) Header() http.Header
- func (c *ProjectsLocationsRolloutsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) OrderBy(orderBy string) *ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) PageSize(pageSize int64) *ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) PageToken(pageToken string) *ProjectsLocationsRolloutsListCall
- func (c *ProjectsLocationsRolloutsListCall) Pages(ctx context.Context, f func(*ListRolloutsResponse) error) error
- type ProjectsLocationsRolloutsPatchCall
- func (c *ProjectsLocationsRolloutsPatchCall) Context(ctx context.Context) *ProjectsLocationsRolloutsPatchCall
- func (c *ProjectsLocationsRolloutsPatchCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
- func (c *ProjectsLocationsRolloutsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsPatchCall
- func (c *ProjectsLocationsRolloutsPatchCall) Header() http.Header
- func (c *ProjectsLocationsRolloutsPatchCall) RequestId(requestId string) *ProjectsLocationsRolloutsPatchCall
- func (c *ProjectsLocationsRolloutsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRolloutsPatchCall
- func (c *ProjectsLocationsRolloutsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsRolloutsPatchCall
- type ProjectsLocationsRolloutsService
- func (r *ProjectsLocationsRolloutsService) Create(parent string, rollout *Rollout) *ProjectsLocationsRolloutsCreateCall
- func (r *ProjectsLocationsRolloutsService) Delete(name string) *ProjectsLocationsRolloutsDeleteCall
- func (r *ProjectsLocationsRolloutsService) Get(name string) *ProjectsLocationsRolloutsGetCall
- func (r *ProjectsLocationsRolloutsService) List(parent string) *ProjectsLocationsRolloutsListCall
- func (r *ProjectsLocationsRolloutsService) Patch(name string, rollout *Rollout) *ProjectsLocationsRolloutsPatchCall
- type ProjectsLocationsSaasCreateCall
- func (c *ProjectsLocationsSaasCreateCall) Context(ctx context.Context) *ProjectsLocationsSaasCreateCall
- func (c *ProjectsLocationsSaasCreateCall) Do(opts ...googleapi.CallOption) (*Saas, error)
- func (c *ProjectsLocationsSaasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasCreateCall
- func (c *ProjectsLocationsSaasCreateCall) Header() http.Header
- func (c *ProjectsLocationsSaasCreateCall) RequestId(requestId string) *ProjectsLocationsSaasCreateCall
- func (c *ProjectsLocationsSaasCreateCall) SaasId(saasId string) *ProjectsLocationsSaasCreateCall
- func (c *ProjectsLocationsSaasCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsSaasCreateCall
- type ProjectsLocationsSaasDeleteCall
- func (c *ProjectsLocationsSaasDeleteCall) Context(ctx context.Context) *ProjectsLocationsSaasDeleteCall
- func (c *ProjectsLocationsSaasDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsSaasDeleteCall) Etag(etag string) *ProjectsLocationsSaasDeleteCall
- func (c *ProjectsLocationsSaasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasDeleteCall
- func (c *ProjectsLocationsSaasDeleteCall) Header() http.Header
- func (c *ProjectsLocationsSaasDeleteCall) RequestId(requestId string) *ProjectsLocationsSaasDeleteCall
- func (c *ProjectsLocationsSaasDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsSaasDeleteCall
- type ProjectsLocationsSaasGetCall
- func (c *ProjectsLocationsSaasGetCall) Context(ctx context.Context) *ProjectsLocationsSaasGetCall
- func (c *ProjectsLocationsSaasGetCall) Do(opts ...googleapi.CallOption) (*Saas, error)
- func (c *ProjectsLocationsSaasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasGetCall
- func (c *ProjectsLocationsSaasGetCall) Header() http.Header
- func (c *ProjectsLocationsSaasGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSaasGetCall
- type ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) Context(ctx context.Context) *ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) Do(opts ...googleapi.CallOption) (*ListSaasResponse, error)
- func (c *ProjectsLocationsSaasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) Filter(filter string) *ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) Header() http.Header
- func (c *ProjectsLocationsSaasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) OrderBy(orderBy string) *ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) PageSize(pageSize int64) *ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) PageToken(pageToken string) *ProjectsLocationsSaasListCall
- func (c *ProjectsLocationsSaasListCall) Pages(ctx context.Context, f func(*ListSaasResponse) error) error
- type ProjectsLocationsSaasPatchCall
- func (c *ProjectsLocationsSaasPatchCall) Context(ctx context.Context) *ProjectsLocationsSaasPatchCall
- func (c *ProjectsLocationsSaasPatchCall) Do(opts ...googleapi.CallOption) (*Saas, error)
- func (c *ProjectsLocationsSaasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasPatchCall
- func (c *ProjectsLocationsSaasPatchCall) Header() http.Header
- func (c *ProjectsLocationsSaasPatchCall) RequestId(requestId string) *ProjectsLocationsSaasPatchCall
- func (c *ProjectsLocationsSaasPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSaasPatchCall
- func (c *ProjectsLocationsSaasPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsSaasPatchCall
- type ProjectsLocationsSaasService
- func (r *ProjectsLocationsSaasService) Create(parent string, saas *Saas) *ProjectsLocationsSaasCreateCall
- func (r *ProjectsLocationsSaasService) Delete(name string) *ProjectsLocationsSaasDeleteCall
- func (r *ProjectsLocationsSaasService) Get(name string) *ProjectsLocationsSaasGetCall
- func (r *ProjectsLocationsSaasService) List(parent string) *ProjectsLocationsSaasListCall
- func (r *ProjectsLocationsSaasService) Patch(name string, saas *Saas) *ProjectsLocationsSaasPatchCall
- type ProjectsLocationsService
- type ProjectsLocationsTenantsCreateCall
- func (c *ProjectsLocationsTenantsCreateCall) Context(ctx context.Context) *ProjectsLocationsTenantsCreateCall
- func (c *ProjectsLocationsTenantsCreateCall) Do(opts ...googleapi.CallOption) (*Tenant, error)
- func (c *ProjectsLocationsTenantsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsCreateCall
- func (c *ProjectsLocationsTenantsCreateCall) Header() http.Header
- func (c *ProjectsLocationsTenantsCreateCall) RequestId(requestId string) *ProjectsLocationsTenantsCreateCall
- func (c *ProjectsLocationsTenantsCreateCall) TenantId(tenantId string) *ProjectsLocationsTenantsCreateCall
- func (c *ProjectsLocationsTenantsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTenantsCreateCall
- type ProjectsLocationsTenantsDeleteCall
- func (c *ProjectsLocationsTenantsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTenantsDeleteCall
- func (c *ProjectsLocationsTenantsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsTenantsDeleteCall) Etag(etag string) *ProjectsLocationsTenantsDeleteCall
- func (c *ProjectsLocationsTenantsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsDeleteCall
- func (c *ProjectsLocationsTenantsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsTenantsDeleteCall) RequestId(requestId string) *ProjectsLocationsTenantsDeleteCall
- func (c *ProjectsLocationsTenantsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTenantsDeleteCall
- type ProjectsLocationsTenantsGetCall
- func (c *ProjectsLocationsTenantsGetCall) Context(ctx context.Context) *ProjectsLocationsTenantsGetCall
- func (c *ProjectsLocationsTenantsGetCall) Do(opts ...googleapi.CallOption) (*Tenant, error)
- func (c *ProjectsLocationsTenantsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsGetCall
- func (c *ProjectsLocationsTenantsGetCall) Header() http.Header
- func (c *ProjectsLocationsTenantsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTenantsGetCall
- type ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) Context(ctx context.Context) *ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) Do(opts ...googleapi.CallOption) (*ListTenantsResponse, error)
- func (c *ProjectsLocationsTenantsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) Filter(filter string) *ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) Header() http.Header
- func (c *ProjectsLocationsTenantsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) OrderBy(orderBy string) *ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) PageSize(pageSize int64) *ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) PageToken(pageToken string) *ProjectsLocationsTenantsListCall
- func (c *ProjectsLocationsTenantsListCall) Pages(ctx context.Context, f func(*ListTenantsResponse) error) error
- type ProjectsLocationsTenantsPatchCall
- func (c *ProjectsLocationsTenantsPatchCall) Context(ctx context.Context) *ProjectsLocationsTenantsPatchCall
- func (c *ProjectsLocationsTenantsPatchCall) Do(opts ...googleapi.CallOption) (*Tenant, error)
- func (c *ProjectsLocationsTenantsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsPatchCall
- func (c *ProjectsLocationsTenantsPatchCall) Header() http.Header
- func (c *ProjectsLocationsTenantsPatchCall) RequestId(requestId string) *ProjectsLocationsTenantsPatchCall
- func (c *ProjectsLocationsTenantsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTenantsPatchCall
- func (c *ProjectsLocationsTenantsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTenantsPatchCall
- type ProjectsLocationsTenantsService
- func (r *ProjectsLocationsTenantsService) Create(parent string, tenant *Tenant) *ProjectsLocationsTenantsCreateCall
- func (r *ProjectsLocationsTenantsService) Delete(name string) *ProjectsLocationsTenantsDeleteCall
- func (r *ProjectsLocationsTenantsService) Get(name string) *ProjectsLocationsTenantsGetCall
- func (r *ProjectsLocationsTenantsService) List(parent string) *ProjectsLocationsTenantsListCall
- func (r *ProjectsLocationsTenantsService) Patch(name string, tenant *Tenant) *ProjectsLocationsTenantsPatchCall
- type ProjectsLocationsUnitKindsCreateCall
- func (c *ProjectsLocationsUnitKindsCreateCall) Context(ctx context.Context) *ProjectsLocationsUnitKindsCreateCall
- func (c *ProjectsLocationsUnitKindsCreateCall) Do(opts ...googleapi.CallOption) (*UnitKind, error)
- func (c *ProjectsLocationsUnitKindsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsCreateCall
- func (c *ProjectsLocationsUnitKindsCreateCall) Header() http.Header
- func (c *ProjectsLocationsUnitKindsCreateCall) RequestId(requestId string) *ProjectsLocationsUnitKindsCreateCall
- func (c *ProjectsLocationsUnitKindsCreateCall) UnitKindId(unitKindId string) *ProjectsLocationsUnitKindsCreateCall
- func (c *ProjectsLocationsUnitKindsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitKindsCreateCall
- type ProjectsLocationsUnitKindsDeleteCall
- func (c *ProjectsLocationsUnitKindsDeleteCall) Context(ctx context.Context) *ProjectsLocationsUnitKindsDeleteCall
- func (c *ProjectsLocationsUnitKindsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsUnitKindsDeleteCall) Etag(etag string) *ProjectsLocationsUnitKindsDeleteCall
- func (c *ProjectsLocationsUnitKindsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsDeleteCall
- func (c *ProjectsLocationsUnitKindsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsUnitKindsDeleteCall) RequestId(requestId string) *ProjectsLocationsUnitKindsDeleteCall
- func (c *ProjectsLocationsUnitKindsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitKindsDeleteCall
- type ProjectsLocationsUnitKindsGetCall
- func (c *ProjectsLocationsUnitKindsGetCall) Context(ctx context.Context) *ProjectsLocationsUnitKindsGetCall
- func (c *ProjectsLocationsUnitKindsGetCall) Do(opts ...googleapi.CallOption) (*UnitKind, error)
- func (c *ProjectsLocationsUnitKindsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsGetCall
- func (c *ProjectsLocationsUnitKindsGetCall) Header() http.Header
- func (c *ProjectsLocationsUnitKindsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsUnitKindsGetCall
- type ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) Context(ctx context.Context) *ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) Do(opts ...googleapi.CallOption) (*ListUnitKindsResponse, error)
- func (c *ProjectsLocationsUnitKindsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) Filter(filter string) *ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) Header() http.Header
- func (c *ProjectsLocationsUnitKindsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) OrderBy(orderBy string) *ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) PageSize(pageSize int64) *ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) PageToken(pageToken string) *ProjectsLocationsUnitKindsListCall
- func (c *ProjectsLocationsUnitKindsListCall) Pages(ctx context.Context, f func(*ListUnitKindsResponse) error) error
- type ProjectsLocationsUnitKindsPatchCall
- func (c *ProjectsLocationsUnitKindsPatchCall) Context(ctx context.Context) *ProjectsLocationsUnitKindsPatchCall
- func (c *ProjectsLocationsUnitKindsPatchCall) Do(opts ...googleapi.CallOption) (*UnitKind, error)
- func (c *ProjectsLocationsUnitKindsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsPatchCall
- func (c *ProjectsLocationsUnitKindsPatchCall) Header() http.Header
- func (c *ProjectsLocationsUnitKindsPatchCall) RequestId(requestId string) *ProjectsLocationsUnitKindsPatchCall
- func (c *ProjectsLocationsUnitKindsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsUnitKindsPatchCall
- func (c *ProjectsLocationsUnitKindsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitKindsPatchCall
- type ProjectsLocationsUnitKindsService
- func (r *ProjectsLocationsUnitKindsService) Create(parent string, unitkind *UnitKind) *ProjectsLocationsUnitKindsCreateCall
- func (r *ProjectsLocationsUnitKindsService) Delete(name string) *ProjectsLocationsUnitKindsDeleteCall
- func (r *ProjectsLocationsUnitKindsService) Get(name string) *ProjectsLocationsUnitKindsGetCall
- func (r *ProjectsLocationsUnitKindsService) List(parent string) *ProjectsLocationsUnitKindsListCall
- func (r *ProjectsLocationsUnitKindsService) Patch(name string, unitkind *UnitKind) *ProjectsLocationsUnitKindsPatchCall
- type ProjectsLocationsUnitOperationsCreateCall
- func (c *ProjectsLocationsUnitOperationsCreateCall) Context(ctx context.Context) *ProjectsLocationsUnitOperationsCreateCall
- func (c *ProjectsLocationsUnitOperationsCreateCall) Do(opts ...googleapi.CallOption) (*UnitOperation, error)
- func (c *ProjectsLocationsUnitOperationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsCreateCall
- func (c *ProjectsLocationsUnitOperationsCreateCall) Header() http.Header
- func (c *ProjectsLocationsUnitOperationsCreateCall) RequestId(requestId string) *ProjectsLocationsUnitOperationsCreateCall
- func (c *ProjectsLocationsUnitOperationsCreateCall) UnitOperationId(unitOperationId string) *ProjectsLocationsUnitOperationsCreateCall
- func (c *ProjectsLocationsUnitOperationsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitOperationsCreateCall
- type ProjectsLocationsUnitOperationsDeleteCall
- func (c *ProjectsLocationsUnitOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsUnitOperationsDeleteCall
- func (c *ProjectsLocationsUnitOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsUnitOperationsDeleteCall) Etag(etag string) *ProjectsLocationsUnitOperationsDeleteCall
- func (c *ProjectsLocationsUnitOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsDeleteCall
- func (c *ProjectsLocationsUnitOperationsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsUnitOperationsDeleteCall) RequestId(requestId string) *ProjectsLocationsUnitOperationsDeleteCall
- func (c *ProjectsLocationsUnitOperationsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitOperationsDeleteCall
- type ProjectsLocationsUnitOperationsGetCall
- func (c *ProjectsLocationsUnitOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsUnitOperationsGetCall
- func (c *ProjectsLocationsUnitOperationsGetCall) Do(opts ...googleapi.CallOption) (*UnitOperation, error)
- func (c *ProjectsLocationsUnitOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsGetCall
- func (c *ProjectsLocationsUnitOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsUnitOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsUnitOperationsGetCall
- type ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) Context(ctx context.Context) *ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) Do(opts ...googleapi.CallOption) (*ListUnitOperationsResponse, error)
- func (c *ProjectsLocationsUnitOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) Filter(filter string) *ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsUnitOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) OrderBy(orderBy string) *ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) PageToken(pageToken string) *ProjectsLocationsUnitOperationsListCall
- func (c *ProjectsLocationsUnitOperationsListCall) Pages(ctx context.Context, f func(*ListUnitOperationsResponse) error) error
- type ProjectsLocationsUnitOperationsPatchCall
- func (c *ProjectsLocationsUnitOperationsPatchCall) Context(ctx context.Context) *ProjectsLocationsUnitOperationsPatchCall
- func (c *ProjectsLocationsUnitOperationsPatchCall) Do(opts ...googleapi.CallOption) (*UnitOperation, error)
- func (c *ProjectsLocationsUnitOperationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsPatchCall
- func (c *ProjectsLocationsUnitOperationsPatchCall) Header() http.Header
- func (c *ProjectsLocationsUnitOperationsPatchCall) RequestId(requestId string) *ProjectsLocationsUnitOperationsPatchCall
- func (c *ProjectsLocationsUnitOperationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsUnitOperationsPatchCall
- func (c *ProjectsLocationsUnitOperationsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitOperationsPatchCall
- type ProjectsLocationsUnitOperationsService
- func (r *ProjectsLocationsUnitOperationsService) Create(parent string, unitoperation *UnitOperation) *ProjectsLocationsUnitOperationsCreateCall
- func (r *ProjectsLocationsUnitOperationsService) Delete(name string) *ProjectsLocationsUnitOperationsDeleteCall
- func (r *ProjectsLocationsUnitOperationsService) Get(name string) *ProjectsLocationsUnitOperationsGetCall
- func (r *ProjectsLocationsUnitOperationsService) List(parent string) *ProjectsLocationsUnitOperationsListCall
- func (r *ProjectsLocationsUnitOperationsService) Patch(name string, unitoperation *UnitOperation) *ProjectsLocationsUnitOperationsPatchCall
- type ProjectsLocationsUnitsCreateCall
- func (c *ProjectsLocationsUnitsCreateCall) Context(ctx context.Context) *ProjectsLocationsUnitsCreateCall
- func (c *ProjectsLocationsUnitsCreateCall) Do(opts ...googleapi.CallOption) (*Unit, error)
- func (c *ProjectsLocationsUnitsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsCreateCall
- func (c *ProjectsLocationsUnitsCreateCall) Header() http.Header
- func (c *ProjectsLocationsUnitsCreateCall) RequestId(requestId string) *ProjectsLocationsUnitsCreateCall
- func (c *ProjectsLocationsUnitsCreateCall) UnitId(unitId string) *ProjectsLocationsUnitsCreateCall
- func (c *ProjectsLocationsUnitsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitsCreateCall
- type ProjectsLocationsUnitsDeleteCall
- func (c *ProjectsLocationsUnitsDeleteCall) Context(ctx context.Context) *ProjectsLocationsUnitsDeleteCall
- func (c *ProjectsLocationsUnitsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsUnitsDeleteCall) Etag(etag string) *ProjectsLocationsUnitsDeleteCall
- func (c *ProjectsLocationsUnitsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsDeleteCall
- func (c *ProjectsLocationsUnitsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsUnitsDeleteCall) RequestId(requestId string) *ProjectsLocationsUnitsDeleteCall
- func (c *ProjectsLocationsUnitsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitsDeleteCall
- type ProjectsLocationsUnitsGetCall
- func (c *ProjectsLocationsUnitsGetCall) Context(ctx context.Context) *ProjectsLocationsUnitsGetCall
- func (c *ProjectsLocationsUnitsGetCall) Do(opts ...googleapi.CallOption) (*Unit, error)
- func (c *ProjectsLocationsUnitsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsGetCall
- func (c *ProjectsLocationsUnitsGetCall) Header() http.Header
- func (c *ProjectsLocationsUnitsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsUnitsGetCall
- type ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) Context(ctx context.Context) *ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) Do(opts ...googleapi.CallOption) (*ListUnitsResponse, error)
- func (c *ProjectsLocationsUnitsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) Filter(filter string) *ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) Header() http.Header
- func (c *ProjectsLocationsUnitsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) OrderBy(orderBy string) *ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) PageSize(pageSize int64) *ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) PageToken(pageToken string) *ProjectsLocationsUnitsListCall
- func (c *ProjectsLocationsUnitsListCall) Pages(ctx context.Context, f func(*ListUnitsResponse) error) error
- type ProjectsLocationsUnitsPatchCall
- func (c *ProjectsLocationsUnitsPatchCall) Context(ctx context.Context) *ProjectsLocationsUnitsPatchCall
- func (c *ProjectsLocationsUnitsPatchCall) Do(opts ...googleapi.CallOption) (*Unit, error)
- func (c *ProjectsLocationsUnitsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsPatchCall
- func (c *ProjectsLocationsUnitsPatchCall) Header() http.Header
- func (c *ProjectsLocationsUnitsPatchCall) RequestId(requestId string) *ProjectsLocationsUnitsPatchCall
- func (c *ProjectsLocationsUnitsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsUnitsPatchCall
- func (c *ProjectsLocationsUnitsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsUnitsPatchCall
- type ProjectsLocationsUnitsService
- func (r *ProjectsLocationsUnitsService) Create(parent string, unit *Unit) *ProjectsLocationsUnitsCreateCall
- func (r *ProjectsLocationsUnitsService) Delete(name string) *ProjectsLocationsUnitsDeleteCall
- func (r *ProjectsLocationsUnitsService) Get(name string) *ProjectsLocationsUnitsGetCall
- func (r *ProjectsLocationsUnitsService) List(parent string) *ProjectsLocationsUnitsListCall
- func (r *ProjectsLocationsUnitsService) Patch(name string, unit *Unit) *ProjectsLocationsUnitsPatchCall
- type ProjectsService
- type Provision
- type Release
- type ReleaseRequirements
- type ReplicationInternal
- type ReplicationStats
- type Rollout
- type RolloutControl
- type RolloutKind
- type RolloutStats
- type RunRolloutActionParams
- type Saas
- type Schedule
- type Service
- type Status
- type Tenant
- type ToMapping
- type Unit
- type UnitCondition
- type UnitDependency
- type UnitKind
- type UnitOperation
- type UnitOperationCondition
- type UnitVariable
- type Upgrade
- type VariableMapping
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
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¶
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¶
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)
typeListReplicationsInternalResponse¶added 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)MarshalJSON¶added 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¶
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¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationLocation,error)
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¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
Do executes the "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¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).
func (*ProjectsLocationsListCall)Header¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsReleasesCreateCall¶
type ProjectsLocationsReleasesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsReleasesCreateCall)Context¶
func (c *ProjectsLocationsReleasesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsReleasesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReleasesCreateCall)Do¶
func (c *ProjectsLocationsReleasesCreateCall) Do(opts ...googleapi.CallOption) (*Release,error)
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¶
func (c *ProjectsLocationsReleasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReleasesCreateCall)Header¶
func (c *ProjectsLocationsReleasesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReleasesCreateCall)ReleaseId¶
func (c *ProjectsLocationsReleasesCreateCall) ReleaseId(releaseIdstring) *ProjectsLocationsReleasesCreateCall
ReleaseId sets the optional parameter "releaseId": Required. The ID valuefor the new release.
func (*ProjectsLocationsReleasesCreateCall)RequestId¶
func (c *ProjectsLocationsReleasesCreateCall) RequestId(requestIdstring) *ProjectsLocationsReleasesCreateCall
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¶
func (c *ProjectsLocationsReleasesCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsReleasesCreateCall
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¶
func (c *ProjectsLocationsReleasesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsReleasesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReleasesDeleteCall)Do¶
func (c *ProjectsLocationsReleasesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsReleasesDeleteCall) Etag(etagstring) *ProjectsLocationsReleasesDeleteCall
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¶
func (c *ProjectsLocationsReleasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReleasesDeleteCall)Header¶
func (c *ProjectsLocationsReleasesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReleasesDeleteCall)RequestId¶
func (c *ProjectsLocationsReleasesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsReleasesDeleteCall
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¶
func (c *ProjectsLocationsReleasesDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsReleasesDeleteCall
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¶
func (c *ProjectsLocationsReleasesGetCall) Context(ctxcontext.Context) *ProjectsLocationsReleasesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReleasesGetCall)Do¶
func (c *ProjectsLocationsReleasesGetCall) Do(opts ...googleapi.CallOption) (*Release,error)
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¶
func (c *ProjectsLocationsReleasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReleasesGetCall)Header¶
func (c *ProjectsLocationsReleasesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReleasesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsReleasesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsReleasesGetCall
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¶
func (c *ProjectsLocationsReleasesListCall) Context(ctxcontext.Context) *ProjectsLocationsReleasesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReleasesListCall)Do¶
func (c *ProjectsLocationsReleasesListCall) Do(opts ...googleapi.CallOption) (*ListReleasesResponse,error)
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¶
func (c *ProjectsLocationsReleasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReleasesListCall)Filter¶
func (c *ProjectsLocationsReleasesListCall) Filter(filterstring) *ProjectsLocationsReleasesListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsReleasesListCall)Header¶
func (c *ProjectsLocationsReleasesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReleasesListCall)IfNoneMatch¶
func (c *ProjectsLocationsReleasesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsReleasesListCall
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¶
func (c *ProjectsLocationsReleasesListCall) OrderBy(orderBystring) *ProjectsLocationsReleasesListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsReleasesListCall)PageSize¶
func (c *ProjectsLocationsReleasesListCall) PageSize(pageSizeint64) *ProjectsLocationsReleasesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofreleases to send per page.
func (*ProjectsLocationsReleasesListCall)PageToken¶
func (c *ProjectsLocationsReleasesListCall) PageToken(pageTokenstring) *ProjectsLocationsReleasesListCall
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¶
func (c *ProjectsLocationsReleasesListCall) Pages(ctxcontext.Context, f func(*ListReleasesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsReleasesPatchCall¶
type ProjectsLocationsReleasesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsReleasesPatchCall)Context¶
func (c *ProjectsLocationsReleasesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsReleasesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReleasesPatchCall)Do¶
func (c *ProjectsLocationsReleasesPatchCall) Do(opts ...googleapi.CallOption) (*Release,error)
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¶
func (c *ProjectsLocationsReleasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsReleasesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReleasesPatchCall)Header¶
func (c *ProjectsLocationsReleasesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReleasesPatchCall)RequestId¶
func (c *ProjectsLocationsReleasesPatchCall) RequestId(requestIdstring) *ProjectsLocationsReleasesPatchCall
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¶
func (c *ProjectsLocationsReleasesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsReleasesPatchCall
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¶
func (c *ProjectsLocationsReleasesPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsReleasesPatchCall
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¶
func (r *ProjectsLocationsReleasesService) Create(parentstring, release *Release) *ProjectsLocationsReleasesCreateCall
Create: Create a new release.
- parent: The parent of the release.
func (*ProjectsLocationsReleasesService)Delete¶
func (r *ProjectsLocationsReleasesService) Delete(namestring) *ProjectsLocationsReleasesDeleteCall
Delete: Delete a single release.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsReleasesService)Get¶
func (r *ProjectsLocationsReleasesService) Get(namestring) *ProjectsLocationsReleasesGetCall
Get: Retrieve a single release.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsReleasesService)List¶
func (r *ProjectsLocationsReleasesService) List(parentstring) *ProjectsLocationsReleasesListCall
List: Retrieve a collection of releases.
- parent: The parent of the release.
func (*ProjectsLocationsReleasesService)Patch¶
func (r *ProjectsLocationsReleasesService) Patch(namestring, release *Release) *ProjectsLocationsReleasesPatchCall
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}".
typeProjectsLocationsReplicationsInternalCreateCall¶added inv0.251.0
type ProjectsLocationsReplicationsInternalCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsReplicationsInternalCreateCall)Context¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalCreateCall) Context(ctxcontext.Context) *ProjectsLocationsReplicationsInternalCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReplicationsInternalCreateCall)Do¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalCreateCall) Do(opts ...googleapi.CallOption) (*ReplicationInternal,error)
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)Fields¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReplicationsInternalCreateCall)Header¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReplicationsInternalCreateCall)ReplicationInternalId¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalCreateCall) ReplicationInternalId(replicationInternalIdstring) *ProjectsLocationsReplicationsInternalCreateCall
ReplicationInternalId sets the optional parameter "replicationInternalId":Required. The ID value for the new replication internal.
func (*ProjectsLocationsReplicationsInternalCreateCall)RequestId¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalCreateCall) RequestId(requestIdstring) *ProjectsLocationsReplicationsInternalCreateCall
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)ValidateOnly¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsReplicationsInternalCreateCall
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.
typeProjectsLocationsReplicationsInternalDeleteCall¶added inv0.251.0
type ProjectsLocationsReplicationsInternalDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsReplicationsInternalDeleteCall)Context¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsReplicationsInternalDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReplicationsInternalDeleteCall)Do¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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)Etag¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalDeleteCall) Etag(etagstring) *ProjectsLocationsReplicationsInternalDeleteCall
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)Fields¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReplicationsInternalDeleteCall)Header¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReplicationsInternalDeleteCall)RequestId¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalDeleteCall) RequestId(requestIdstring) *ProjectsLocationsReplicationsInternalDeleteCall
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)ValidateOnly¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsReplicationsInternalDeleteCall
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.
typeProjectsLocationsReplicationsInternalGetCall¶added inv0.251.0
type ProjectsLocationsReplicationsInternalGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsReplicationsInternalGetCall)Context¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalGetCall) Context(ctxcontext.Context) *ProjectsLocationsReplicationsInternalGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReplicationsInternalGetCall)Do¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalGetCall) Do(opts ...googleapi.CallOption) (*ReplicationInternal,error)
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)Fields¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReplicationsInternalGetCall)Header¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReplicationsInternalGetCall)IfNoneMatch¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsReplicationsInternalGetCall
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.
typeProjectsLocationsReplicationsInternalListCall¶added inv0.251.0
type ProjectsLocationsReplicationsInternalListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsReplicationsInternalListCall)Context¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) Context(ctxcontext.Context) *ProjectsLocationsReplicationsInternalListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReplicationsInternalListCall)Do¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) Do(opts ...googleapi.CallOption) (*ListReplicationsInternalResponse,error)
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)Fields¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReplicationsInternalListCall)Filter¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) Filter(filterstring) *ProjectsLocationsReplicationsInternalListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsReplicationsInternalListCall)Header¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReplicationsInternalListCall)IfNoneMatch¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsReplicationsInternalListCall
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)OrderBy¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) OrderBy(orderBystring) *ProjectsLocationsReplicationsInternalListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsReplicationsInternalListCall)PageSize¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) PageSize(pageSizeint64) *ProjectsLocationsReplicationsInternalListCall
PageSize sets the optional parameter "pageSize": The maximum number ofreplication internals to send per page.
func (*ProjectsLocationsReplicationsInternalListCall)PageToken¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) PageToken(pageTokenstring) *ProjectsLocationsReplicationsInternalListCall
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)Pages¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalListCall) Pages(ctxcontext.Context, f func(*ListReplicationsInternalResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsReplicationsInternalPatchCall¶added inv0.251.0
type ProjectsLocationsReplicationsInternalPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsReplicationsInternalPatchCall)Context¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) Context(ctxcontext.Context) *ProjectsLocationsReplicationsInternalPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsReplicationsInternalPatchCall)Do¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) Do(opts ...googleapi.CallOption) (*ReplicationInternal,error)
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)Etag¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) Etag(etagstring) *ProjectsLocationsReplicationsInternalPatchCall
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)Fields¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsReplicationsInternalPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsReplicationsInternalPatchCall)Header¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsReplicationsInternalPatchCall)RequestId¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) RequestId(requestIdstring) *ProjectsLocationsReplicationsInternalPatchCall
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)UpdateMask¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsReplicationsInternalPatchCall
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)ValidateOnly¶added inv0.251.0
func (c *ProjectsLocationsReplicationsInternalPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsReplicationsInternalPatchCall
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.
typeProjectsLocationsReplicationsInternalService¶added inv0.251.0
type ProjectsLocationsReplicationsInternalService struct {// contains filtered or unexported fields}funcNewProjectsLocationsReplicationsInternalService¶added inv0.251.0
func NewProjectsLocationsReplicationsInternalService(s *Service) *ProjectsLocationsReplicationsInternalService
func (*ProjectsLocationsReplicationsInternalService)Create¶added inv0.251.0
func (r *ProjectsLocationsReplicationsInternalService) Create(parentstring, replicationinternal *ReplicationInternal) *ProjectsLocationsReplicationsInternalCreateCall
Create: Create a new replication internal.
- parent: The parent of the replication internal.
func (*ProjectsLocationsReplicationsInternalService)Delete¶added inv0.251.0
func (r *ProjectsLocationsReplicationsInternalService) Delete(namestring) *ProjectsLocationsReplicationsInternalDeleteCall
Delete: Delete a single replication internal.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsReplicationsInternalService)Get¶added inv0.251.0
func (r *ProjectsLocationsReplicationsInternalService) Get(namestring) *ProjectsLocationsReplicationsInternalGetCall
Get: Retrieve a single replication internal.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsReplicationsInternalService)List¶added inv0.251.0
func (r *ProjectsLocationsReplicationsInternalService) List(parentstring) *ProjectsLocationsReplicationsInternalListCall
List: Retrieve a collection of replication internals.
- parent: The parent of the replication internal.
func (*ProjectsLocationsReplicationsInternalService)Patch¶added inv0.251.0
func (r *ProjectsLocationsReplicationsInternalService) Patch(namestring, replicationinternal *ReplicationInternal) *ProjectsLocationsReplicationsInternalPatchCall
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¶
func (c *ProjectsLocationsRolloutKindsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutKindsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutKindsCreateCall)Do¶
func (c *ProjectsLocationsRolloutKindsCreateCall) Do(opts ...googleapi.CallOption) (*RolloutKind,error)
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¶
func (c *ProjectsLocationsRolloutKindsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutKindsCreateCall)Header¶
func (c *ProjectsLocationsRolloutKindsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutKindsCreateCall)RequestId¶
func (c *ProjectsLocationsRolloutKindsCreateCall) RequestId(requestIdstring) *ProjectsLocationsRolloutKindsCreateCall
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¶
func (c *ProjectsLocationsRolloutKindsCreateCall) RolloutKindId(rolloutKindIdstring) *ProjectsLocationsRolloutKindsCreateCall
RolloutKindId sets the optional parameter "rolloutKindId": Required. The IDvalue for the new rollout kind.
func (*ProjectsLocationsRolloutKindsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsRolloutKindsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsRolloutKindsCreateCall
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¶
func (c *ProjectsLocationsRolloutKindsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutKindsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutKindsDeleteCall)Do¶
func (c *ProjectsLocationsRolloutKindsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsRolloutKindsDeleteCall) Etag(etagstring) *ProjectsLocationsRolloutKindsDeleteCall
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¶
func (c *ProjectsLocationsRolloutKindsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutKindsDeleteCall)Header¶
func (c *ProjectsLocationsRolloutKindsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutKindsDeleteCall)RequestId¶
func (c *ProjectsLocationsRolloutKindsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsRolloutKindsDeleteCall
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¶
func (c *ProjectsLocationsRolloutKindsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsRolloutKindsDeleteCall
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¶
func (c *ProjectsLocationsRolloutKindsGetCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutKindsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutKindsGetCall)Do¶
func (c *ProjectsLocationsRolloutKindsGetCall) Do(opts ...googleapi.CallOption) (*RolloutKind,error)
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¶
func (c *ProjectsLocationsRolloutKindsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutKindsGetCall)Header¶
func (c *ProjectsLocationsRolloutKindsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutKindsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsRolloutKindsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsRolloutKindsGetCall
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¶
func (c *ProjectsLocationsRolloutKindsListCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutKindsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutKindsListCall)Do¶
func (c *ProjectsLocationsRolloutKindsListCall) Do(opts ...googleapi.CallOption) (*ListRolloutKindsResponse,error)
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¶
func (c *ProjectsLocationsRolloutKindsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutKindsListCall)Filter¶
func (c *ProjectsLocationsRolloutKindsListCall) Filter(filterstring) *ProjectsLocationsRolloutKindsListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsRolloutKindsListCall)Header¶
func (c *ProjectsLocationsRolloutKindsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutKindsListCall)IfNoneMatch¶
func (c *ProjectsLocationsRolloutKindsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsRolloutKindsListCall
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¶
func (c *ProjectsLocationsRolloutKindsListCall) OrderBy(orderBystring) *ProjectsLocationsRolloutKindsListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsRolloutKindsListCall)PageSize¶
func (c *ProjectsLocationsRolloutKindsListCall) PageSize(pageSizeint64) *ProjectsLocationsRolloutKindsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofrollout kinds to send per page.
func (*ProjectsLocationsRolloutKindsListCall)PageToken¶
func (c *ProjectsLocationsRolloutKindsListCall) PageToken(pageTokenstring) *ProjectsLocationsRolloutKindsListCall
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¶
func (c *ProjectsLocationsRolloutKindsListCall) Pages(ctxcontext.Context, f func(*ListRolloutKindsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsRolloutKindsPatchCall¶
type ProjectsLocationsRolloutKindsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsRolloutKindsPatchCall)Context¶
func (c *ProjectsLocationsRolloutKindsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutKindsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutKindsPatchCall)Do¶
func (c *ProjectsLocationsRolloutKindsPatchCall) Do(opts ...googleapi.CallOption) (*RolloutKind,error)
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¶
func (c *ProjectsLocationsRolloutKindsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutKindsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutKindsPatchCall)Header¶
func (c *ProjectsLocationsRolloutKindsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutKindsPatchCall)RequestId¶
func (c *ProjectsLocationsRolloutKindsPatchCall) RequestId(requestIdstring) *ProjectsLocationsRolloutKindsPatchCall
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¶
func (c *ProjectsLocationsRolloutKindsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsRolloutKindsPatchCall
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¶
func (c *ProjectsLocationsRolloutKindsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsRolloutKindsPatchCall
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}funcNewProjectsLocationsRolloutKindsService¶
func NewProjectsLocationsRolloutKindsService(s *Service) *ProjectsLocationsRolloutKindsService
func (*ProjectsLocationsRolloutKindsService)Create¶
func (r *ProjectsLocationsRolloutKindsService) Create(parentstring, rolloutkind *RolloutKind) *ProjectsLocationsRolloutKindsCreateCall
Create: Create a new rollout kind.
- parent: The parent of the rollout kind.
func (*ProjectsLocationsRolloutKindsService)Delete¶
func (r *ProjectsLocationsRolloutKindsService) Delete(namestring) *ProjectsLocationsRolloutKindsDeleteCall
Delete: Delete a single rollout kind.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsRolloutKindsService)Get¶
func (r *ProjectsLocationsRolloutKindsService) Get(namestring) *ProjectsLocationsRolloutKindsGetCall
Get: Retrieve a single rollout kind.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsRolloutKindsService)List¶
func (r *ProjectsLocationsRolloutKindsService) List(parentstring) *ProjectsLocationsRolloutKindsListCall
List: Retrieve a collection of rollout kinds.
- parent: The parent of the rollout kind.
func (*ProjectsLocationsRolloutKindsService)Patch¶
func (r *ProjectsLocationsRolloutKindsService) Patch(namestring, rolloutkind *RolloutKind) *ProjectsLocationsRolloutKindsPatchCall
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¶
func (c *ProjectsLocationsRolloutsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutsCreateCall)Do¶
func (c *ProjectsLocationsRolloutsCreateCall) Do(opts ...googleapi.CallOption) (*Rollout,error)
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¶
func (c *ProjectsLocationsRolloutsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutsCreateCall)Header¶
func (c *ProjectsLocationsRolloutsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutsCreateCall)RequestId¶
func (c *ProjectsLocationsRolloutsCreateCall) RequestId(requestIdstring) *ProjectsLocationsRolloutsCreateCall
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¶
func (c *ProjectsLocationsRolloutsCreateCall) RolloutId(rolloutIdstring) *ProjectsLocationsRolloutsCreateCall
RolloutId sets the optional parameter "rolloutId": Required. The ID valuefor the new rollout.
func (*ProjectsLocationsRolloutsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsRolloutsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsRolloutsCreateCall
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¶
func (c *ProjectsLocationsRolloutsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutsDeleteCall)Do¶
func (c *ProjectsLocationsRolloutsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsRolloutsDeleteCall) Etag(etagstring) *ProjectsLocationsRolloutsDeleteCall
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¶
func (c *ProjectsLocationsRolloutsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutsDeleteCall)Header¶
func (c *ProjectsLocationsRolloutsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutsDeleteCall)RequestId¶
func (c *ProjectsLocationsRolloutsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsRolloutsDeleteCall
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¶
func (c *ProjectsLocationsRolloutsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsRolloutsDeleteCall
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¶
func (c *ProjectsLocationsRolloutsGetCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutsGetCall)Do¶
func (c *ProjectsLocationsRolloutsGetCall) Do(opts ...googleapi.CallOption) (*Rollout,error)
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¶
func (c *ProjectsLocationsRolloutsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutsGetCall)Header¶
func (c *ProjectsLocationsRolloutsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsRolloutsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsRolloutsGetCall
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¶
func (c *ProjectsLocationsRolloutsListCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutsListCall)Do¶
func (c *ProjectsLocationsRolloutsListCall) Do(opts ...googleapi.CallOption) (*ListRolloutsResponse,error)
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¶
func (c *ProjectsLocationsRolloutsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutsListCall)Filter¶
func (c *ProjectsLocationsRolloutsListCall) Filter(filterstring) *ProjectsLocationsRolloutsListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsRolloutsListCall)Header¶
func (c *ProjectsLocationsRolloutsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutsListCall)IfNoneMatch¶
func (c *ProjectsLocationsRolloutsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsRolloutsListCall
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¶
func (c *ProjectsLocationsRolloutsListCall) OrderBy(orderBystring) *ProjectsLocationsRolloutsListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsRolloutsListCall)PageSize¶
func (c *ProjectsLocationsRolloutsListCall) PageSize(pageSizeint64) *ProjectsLocationsRolloutsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofrollouts to send per page.
func (*ProjectsLocationsRolloutsListCall)PageToken¶
func (c *ProjectsLocationsRolloutsListCall) PageToken(pageTokenstring) *ProjectsLocationsRolloutsListCall
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¶
func (c *ProjectsLocationsRolloutsListCall) Pages(ctxcontext.Context, f func(*ListRolloutsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsRolloutsPatchCall¶
type ProjectsLocationsRolloutsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsRolloutsPatchCall)Context¶
func (c *ProjectsLocationsRolloutsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsRolloutsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRolloutsPatchCall)Do¶
func (c *ProjectsLocationsRolloutsPatchCall) Do(opts ...googleapi.CallOption) (*Rollout,error)
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¶
func (c *ProjectsLocationsRolloutsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRolloutsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRolloutsPatchCall)Header¶
func (c *ProjectsLocationsRolloutsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRolloutsPatchCall)RequestId¶
func (c *ProjectsLocationsRolloutsPatchCall) RequestId(requestIdstring) *ProjectsLocationsRolloutsPatchCall
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¶
func (c *ProjectsLocationsRolloutsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsRolloutsPatchCall
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¶
func (c *ProjectsLocationsRolloutsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsRolloutsPatchCall
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¶
func (r *ProjectsLocationsRolloutsService) Create(parentstring, rollout *Rollout) *ProjectsLocationsRolloutsCreateCall
Create: Create a new rollout.
- parent: The parent of the rollout.
func (*ProjectsLocationsRolloutsService)Delete¶
func (r *ProjectsLocationsRolloutsService) Delete(namestring) *ProjectsLocationsRolloutsDeleteCall
Delete: Delete a single rollout.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsRolloutsService)Get¶
func (r *ProjectsLocationsRolloutsService) Get(namestring) *ProjectsLocationsRolloutsGetCall
Get: Retrieve a single rollout.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsRolloutsService)List¶
func (r *ProjectsLocationsRolloutsService) List(parentstring) *ProjectsLocationsRolloutsListCall
List: Retrieve a collection of rollouts.
- parent: The parent of the rollout.
func (*ProjectsLocationsRolloutsService)Patch¶
func (r *ProjectsLocationsRolloutsService) Patch(namestring, rollout *Rollout) *ProjectsLocationsRolloutsPatchCall
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¶
func (c *ProjectsLocationsSaasCreateCall) Context(ctxcontext.Context) *ProjectsLocationsSaasCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSaasCreateCall)Do¶
func (c *ProjectsLocationsSaasCreateCall) Do(opts ...googleapi.CallOption) (*Saas,error)
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¶
func (c *ProjectsLocationsSaasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSaasCreateCall)Header¶
func (c *ProjectsLocationsSaasCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSaasCreateCall)RequestId¶
func (c *ProjectsLocationsSaasCreateCall) RequestId(requestIdstring) *ProjectsLocationsSaasCreateCall
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¶
func (c *ProjectsLocationsSaasCreateCall) SaasId(saasIdstring) *ProjectsLocationsSaasCreateCall
SaasId sets the optional parameter "saasId": Required. The ID value for thenew saas.
func (*ProjectsLocationsSaasCreateCall)ValidateOnly¶
func (c *ProjectsLocationsSaasCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsSaasCreateCall
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¶
func (c *ProjectsLocationsSaasDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsSaasDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSaasDeleteCall)Do¶
func (c *ProjectsLocationsSaasDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsSaasDeleteCall) Etag(etagstring) *ProjectsLocationsSaasDeleteCall
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¶
func (c *ProjectsLocationsSaasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSaasDeleteCall)Header¶
func (c *ProjectsLocationsSaasDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSaasDeleteCall)RequestId¶
func (c *ProjectsLocationsSaasDeleteCall) RequestId(requestIdstring) *ProjectsLocationsSaasDeleteCall
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¶
func (c *ProjectsLocationsSaasDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsSaasDeleteCall
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¶
func (c *ProjectsLocationsSaasGetCall) Context(ctxcontext.Context) *ProjectsLocationsSaasGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSaasGetCall)Do¶
func (c *ProjectsLocationsSaasGetCall) Do(opts ...googleapi.CallOption) (*Saas,error)
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¶
func (c *ProjectsLocationsSaasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSaasGetCall)Header¶
func (c *ProjectsLocationsSaasGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSaasGetCall)IfNoneMatch¶
func (c *ProjectsLocationsSaasGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSaasGetCall
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¶
func (c *ProjectsLocationsSaasListCall) Context(ctxcontext.Context) *ProjectsLocationsSaasListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSaasListCall)Do¶
func (c *ProjectsLocationsSaasListCall) Do(opts ...googleapi.CallOption) (*ListSaasResponse,error)
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¶
func (c *ProjectsLocationsSaasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSaasListCall)Filter¶
func (c *ProjectsLocationsSaasListCall) Filter(filterstring) *ProjectsLocationsSaasListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsSaasListCall)Header¶
func (c *ProjectsLocationsSaasListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSaasListCall)IfNoneMatch¶
func (c *ProjectsLocationsSaasListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsSaasListCall
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¶
func (c *ProjectsLocationsSaasListCall) OrderBy(orderBystring) *ProjectsLocationsSaasListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsSaasListCall)PageSize¶
func (c *ProjectsLocationsSaasListCall) PageSize(pageSizeint64) *ProjectsLocationsSaasListCall
PageSize sets the optional parameter "pageSize": The maximum number of saasto send per page.
func (*ProjectsLocationsSaasListCall)PageToken¶
func (c *ProjectsLocationsSaasListCall) PageToken(pageTokenstring) *ProjectsLocationsSaasListCall
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¶
func (c *ProjectsLocationsSaasListCall) Pages(ctxcontext.Context, f func(*ListSaasResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsSaasPatchCall¶
type ProjectsLocationsSaasPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsSaasPatchCall)Context¶
func (c *ProjectsLocationsSaasPatchCall) Context(ctxcontext.Context) *ProjectsLocationsSaasPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSaasPatchCall)Do¶
func (c *ProjectsLocationsSaasPatchCall) Do(opts ...googleapi.CallOption) (*Saas,error)
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¶
func (c *ProjectsLocationsSaasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSaasPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsSaasPatchCall)Header¶
func (c *ProjectsLocationsSaasPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsSaasPatchCall)RequestId¶
func (c *ProjectsLocationsSaasPatchCall) RequestId(requestIdstring) *ProjectsLocationsSaasPatchCall
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¶
func (c *ProjectsLocationsSaasPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsSaasPatchCall
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¶
func (c *ProjectsLocationsSaasPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsSaasPatchCall
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¶
func (r *ProjectsLocationsSaasService) Create(parentstring, saas *Saas) *ProjectsLocationsSaasCreateCall
Create: Create a new saas.
- parent: The parent of the saas.
func (*ProjectsLocationsSaasService)Delete¶
func (r *ProjectsLocationsSaasService) Delete(namestring) *ProjectsLocationsSaasDeleteCall
Delete: Delete a single saas.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsSaasService)Get¶
func (r *ProjectsLocationsSaasService) Get(namestring) *ProjectsLocationsSaasGetCall
Get: Retrieve a single saas.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsSaasService)List¶
func (r *ProjectsLocationsSaasService) List(parentstring) *ProjectsLocationsSaasListCall
List: Retrieve a collection of saas.
- parent: The parent of the saas.
func (*ProjectsLocationsSaasService)Patch¶
func (r *ProjectsLocationsSaasService) Patch(namestring, saas *Saas) *ProjectsLocationsSaasPatchCall
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¶
type ProjectsLocationsService struct {Releases *ProjectsLocationsReleasesServiceReplicationsInternal *ProjectsLocationsReplicationsInternalServiceRolloutKinds *ProjectsLocationsRolloutKindsServiceRollouts *ProjectsLocationsRolloutsServiceSaas *ProjectsLocationsSaasServiceTenants *ProjectsLocationsTenantsServiceUnitKinds *ProjectsLocationsUnitKindsServiceUnitOperations *ProjectsLocationsUnitOperationsServiceUnits *ProjectsLocationsUnitsService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsLocationsTenantsCreateCall¶
type ProjectsLocationsTenantsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTenantsCreateCall)Context¶
func (c *ProjectsLocationsTenantsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsTenantsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTenantsCreateCall)Do¶
func (c *ProjectsLocationsTenantsCreateCall) Do(opts ...googleapi.CallOption) (*Tenant,error)
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¶
func (c *ProjectsLocationsTenantsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTenantsCreateCall)Header¶
func (c *ProjectsLocationsTenantsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTenantsCreateCall)RequestId¶
func (c *ProjectsLocationsTenantsCreateCall) RequestId(requestIdstring) *ProjectsLocationsTenantsCreateCall
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¶
func (c *ProjectsLocationsTenantsCreateCall) TenantId(tenantIdstring) *ProjectsLocationsTenantsCreateCall
TenantId sets the optional parameter "tenantId": Required. The ID value forthe new tenant.
func (*ProjectsLocationsTenantsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsTenantsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsTenantsCreateCall
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¶
func (c *ProjectsLocationsTenantsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsTenantsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTenantsDeleteCall)Do¶
func (c *ProjectsLocationsTenantsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsTenantsDeleteCall) Etag(etagstring) *ProjectsLocationsTenantsDeleteCall
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¶
func (c *ProjectsLocationsTenantsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTenantsDeleteCall)Header¶
func (c *ProjectsLocationsTenantsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTenantsDeleteCall)RequestId¶
func (c *ProjectsLocationsTenantsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsTenantsDeleteCall
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¶
func (c *ProjectsLocationsTenantsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsTenantsDeleteCall
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¶
func (c *ProjectsLocationsTenantsGetCall) Context(ctxcontext.Context) *ProjectsLocationsTenantsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTenantsGetCall)Do¶
func (c *ProjectsLocationsTenantsGetCall) Do(opts ...googleapi.CallOption) (*Tenant,error)
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¶
func (c *ProjectsLocationsTenantsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTenantsGetCall)Header¶
func (c *ProjectsLocationsTenantsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTenantsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsTenantsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTenantsGetCall
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¶
func (c *ProjectsLocationsTenantsListCall) Context(ctxcontext.Context) *ProjectsLocationsTenantsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTenantsListCall)Do¶
func (c *ProjectsLocationsTenantsListCall) Do(opts ...googleapi.CallOption) (*ListTenantsResponse,error)
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¶
func (c *ProjectsLocationsTenantsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTenantsListCall)Filter¶
func (c *ProjectsLocationsTenantsListCall) Filter(filterstring) *ProjectsLocationsTenantsListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsTenantsListCall)Header¶
func (c *ProjectsLocationsTenantsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTenantsListCall)IfNoneMatch¶
func (c *ProjectsLocationsTenantsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTenantsListCall
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¶
func (c *ProjectsLocationsTenantsListCall) OrderBy(orderBystring) *ProjectsLocationsTenantsListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsTenantsListCall)PageSize¶
func (c *ProjectsLocationsTenantsListCall) PageSize(pageSizeint64) *ProjectsLocationsTenantsListCall
PageSize sets the optional parameter "pageSize": The maximum number oftenants to send per page.
func (*ProjectsLocationsTenantsListCall)PageToken¶
func (c *ProjectsLocationsTenantsListCall) PageToken(pageTokenstring) *ProjectsLocationsTenantsListCall
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¶
func (c *ProjectsLocationsTenantsListCall) Pages(ctxcontext.Context, f func(*ListTenantsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsTenantsPatchCall¶
type ProjectsLocationsTenantsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTenantsPatchCall)Context¶
func (c *ProjectsLocationsTenantsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsTenantsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTenantsPatchCall)Do¶
func (c *ProjectsLocationsTenantsPatchCall) Do(opts ...googleapi.CallOption) (*Tenant,error)
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¶
func (c *ProjectsLocationsTenantsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTenantsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTenantsPatchCall)Header¶
func (c *ProjectsLocationsTenantsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTenantsPatchCall)RequestId¶
func (c *ProjectsLocationsTenantsPatchCall) RequestId(requestIdstring) *ProjectsLocationsTenantsPatchCall
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¶
func (c *ProjectsLocationsTenantsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsTenantsPatchCall
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¶
func (c *ProjectsLocationsTenantsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsTenantsPatchCall
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¶
func (r *ProjectsLocationsTenantsService) Create(parentstring, tenant *Tenant) *ProjectsLocationsTenantsCreateCall
Create: Create a new tenant.
- parent: The parent of the tenant.
func (*ProjectsLocationsTenantsService)Delete¶
func (r *ProjectsLocationsTenantsService) Delete(namestring) *ProjectsLocationsTenantsDeleteCall
Delete: Delete a single tenant.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsTenantsService)Get¶
func (r *ProjectsLocationsTenantsService) Get(namestring) *ProjectsLocationsTenantsGetCall
Get: Retrieve a single tenant.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsTenantsService)List¶
func (r *ProjectsLocationsTenantsService) List(parentstring) *ProjectsLocationsTenantsListCall
List: Retrieve a collection of tenants.
- parent: The parent of the tenant.
func (*ProjectsLocationsTenantsService)Patch¶
func (r *ProjectsLocationsTenantsService) Patch(namestring, tenant *Tenant) *ProjectsLocationsTenantsPatchCall
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¶
func (c *ProjectsLocationsUnitKindsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsUnitKindsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitKindsCreateCall)Do¶
func (c *ProjectsLocationsUnitKindsCreateCall) Do(opts ...googleapi.CallOption) (*UnitKind,error)
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¶
func (c *ProjectsLocationsUnitKindsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitKindsCreateCall)Header¶
func (c *ProjectsLocationsUnitKindsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitKindsCreateCall)RequestId¶
func (c *ProjectsLocationsUnitKindsCreateCall) RequestId(requestIdstring) *ProjectsLocationsUnitKindsCreateCall
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¶
func (c *ProjectsLocationsUnitKindsCreateCall) UnitKindId(unitKindIdstring) *ProjectsLocationsUnitKindsCreateCall
UnitKindId sets the optional parameter "unitKindId": Required. The ID valuefor the new unit kind.
func (*ProjectsLocationsUnitKindsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsUnitKindsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitKindsCreateCall
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¶
func (c *ProjectsLocationsUnitKindsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsUnitKindsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitKindsDeleteCall)Do¶
func (c *ProjectsLocationsUnitKindsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsUnitKindsDeleteCall) Etag(etagstring) *ProjectsLocationsUnitKindsDeleteCall
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¶
func (c *ProjectsLocationsUnitKindsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitKindsDeleteCall)Header¶
func (c *ProjectsLocationsUnitKindsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitKindsDeleteCall)RequestId¶
func (c *ProjectsLocationsUnitKindsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsUnitKindsDeleteCall
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¶
func (c *ProjectsLocationsUnitKindsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitKindsDeleteCall
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¶
func (c *ProjectsLocationsUnitKindsGetCall) Context(ctxcontext.Context) *ProjectsLocationsUnitKindsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitKindsGetCall)Do¶
func (c *ProjectsLocationsUnitKindsGetCall) Do(opts ...googleapi.CallOption) (*UnitKind,error)
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¶
func (c *ProjectsLocationsUnitKindsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitKindsGetCall)Header¶
func (c *ProjectsLocationsUnitKindsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitKindsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsUnitKindsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsUnitKindsGetCall
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¶
func (c *ProjectsLocationsUnitKindsListCall) Context(ctxcontext.Context) *ProjectsLocationsUnitKindsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitKindsListCall)Do¶
func (c *ProjectsLocationsUnitKindsListCall) Do(opts ...googleapi.CallOption) (*ListUnitKindsResponse,error)
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¶
func (c *ProjectsLocationsUnitKindsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitKindsListCall)Filter¶
func (c *ProjectsLocationsUnitKindsListCall) Filter(filterstring) *ProjectsLocationsUnitKindsListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsUnitKindsListCall)Header¶
func (c *ProjectsLocationsUnitKindsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitKindsListCall)IfNoneMatch¶
func (c *ProjectsLocationsUnitKindsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsUnitKindsListCall
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¶
func (c *ProjectsLocationsUnitKindsListCall) OrderBy(orderBystring) *ProjectsLocationsUnitKindsListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsUnitKindsListCall)PageSize¶
func (c *ProjectsLocationsUnitKindsListCall) PageSize(pageSizeint64) *ProjectsLocationsUnitKindsListCall
PageSize sets the optional parameter "pageSize": The maximum number of unitkinds to send per page.
func (*ProjectsLocationsUnitKindsListCall)PageToken¶
func (c *ProjectsLocationsUnitKindsListCall) PageToken(pageTokenstring) *ProjectsLocationsUnitKindsListCall
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¶
func (c *ProjectsLocationsUnitKindsListCall) Pages(ctxcontext.Context, f func(*ListUnitKindsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsUnitKindsPatchCall¶
type ProjectsLocationsUnitKindsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsUnitKindsPatchCall)Context¶
func (c *ProjectsLocationsUnitKindsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsUnitKindsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitKindsPatchCall)Do¶
func (c *ProjectsLocationsUnitKindsPatchCall) Do(opts ...googleapi.CallOption) (*UnitKind,error)
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¶
func (c *ProjectsLocationsUnitKindsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitKindsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitKindsPatchCall)Header¶
func (c *ProjectsLocationsUnitKindsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitKindsPatchCall)RequestId¶
func (c *ProjectsLocationsUnitKindsPatchCall) RequestId(requestIdstring) *ProjectsLocationsUnitKindsPatchCall
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¶
func (c *ProjectsLocationsUnitKindsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsUnitKindsPatchCall
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¶
func (c *ProjectsLocationsUnitKindsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitKindsPatchCall
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¶
func (r *ProjectsLocationsUnitKindsService) Create(parentstring, unitkind *UnitKind) *ProjectsLocationsUnitKindsCreateCall
Create: Create a new unit kind.
- parent: The parent of the unit kind.
func (*ProjectsLocationsUnitKindsService)Delete¶
func (r *ProjectsLocationsUnitKindsService) Delete(namestring) *ProjectsLocationsUnitKindsDeleteCall
Delete: Delete a single unit kind.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsUnitKindsService)Get¶
func (r *ProjectsLocationsUnitKindsService) Get(namestring) *ProjectsLocationsUnitKindsGetCall
Get: Retrieve a single unit kind.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsUnitKindsService)List¶
func (r *ProjectsLocationsUnitKindsService) List(parentstring) *ProjectsLocationsUnitKindsListCall
List: Retrieve a collection of unit kinds.
- parent: The parent of the unit kind.
func (*ProjectsLocationsUnitKindsService)Patch¶
func (r *ProjectsLocationsUnitKindsService) Patch(namestring, unitkind *UnitKind) *ProjectsLocationsUnitKindsPatchCall
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¶
func (c *ProjectsLocationsUnitOperationsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsUnitOperationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitOperationsCreateCall)Do¶
func (c *ProjectsLocationsUnitOperationsCreateCall) Do(opts ...googleapi.CallOption) (*UnitOperation,error)
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¶
func (c *ProjectsLocationsUnitOperationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitOperationsCreateCall)Header¶
func (c *ProjectsLocationsUnitOperationsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitOperationsCreateCall)RequestId¶
func (c *ProjectsLocationsUnitOperationsCreateCall) RequestId(requestIdstring) *ProjectsLocationsUnitOperationsCreateCall
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¶
func (c *ProjectsLocationsUnitOperationsCreateCall) UnitOperationId(unitOperationIdstring) *ProjectsLocationsUnitOperationsCreateCall
UnitOperationId sets the optional parameter "unitOperationId": Required. TheID value for the new unit operation.
func (*ProjectsLocationsUnitOperationsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsUnitOperationsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitOperationsCreateCall
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¶
func (c *ProjectsLocationsUnitOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsUnitOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitOperationsDeleteCall)Do¶
func (c *ProjectsLocationsUnitOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsUnitOperationsDeleteCall) Etag(etagstring) *ProjectsLocationsUnitOperationsDeleteCall
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¶
func (c *ProjectsLocationsUnitOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitOperationsDeleteCall)Header¶
func (c *ProjectsLocationsUnitOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitOperationsDeleteCall)RequestId¶
func (c *ProjectsLocationsUnitOperationsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsUnitOperationsDeleteCall
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¶
func (c *ProjectsLocationsUnitOperationsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitOperationsDeleteCall
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¶
func (c *ProjectsLocationsUnitOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsUnitOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitOperationsGetCall)Do¶
func (c *ProjectsLocationsUnitOperationsGetCall) Do(opts ...googleapi.CallOption) (*UnitOperation,error)
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¶
func (c *ProjectsLocationsUnitOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitOperationsGetCall)Header¶
func (c *ProjectsLocationsUnitOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsUnitOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsUnitOperationsGetCall
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¶
func (c *ProjectsLocationsUnitOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsUnitOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitOperationsListCall)Do¶
func (c *ProjectsLocationsUnitOperationsListCall) Do(opts ...googleapi.CallOption) (*ListUnitOperationsResponse,error)
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¶
func (c *ProjectsLocationsUnitOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitOperationsListCall)Filter¶
func (c *ProjectsLocationsUnitOperationsListCall) Filter(filterstring) *ProjectsLocationsUnitOperationsListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsUnitOperationsListCall)Header¶
func (c *ProjectsLocationsUnitOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsUnitOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsUnitOperationsListCall
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¶
func (c *ProjectsLocationsUnitOperationsListCall) OrderBy(orderBystring) *ProjectsLocationsUnitOperationsListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsUnitOperationsListCall)PageSize¶
func (c *ProjectsLocationsUnitOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsUnitOperationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of unitoperations to send per page.
func (*ProjectsLocationsUnitOperationsListCall)PageToken¶
func (c *ProjectsLocationsUnitOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsUnitOperationsListCall
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¶
func (c *ProjectsLocationsUnitOperationsListCall) Pages(ctxcontext.Context, f func(*ListUnitOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsUnitOperationsPatchCall¶
type ProjectsLocationsUnitOperationsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsUnitOperationsPatchCall)Context¶
func (c *ProjectsLocationsUnitOperationsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsUnitOperationsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitOperationsPatchCall)Do¶
func (c *ProjectsLocationsUnitOperationsPatchCall) Do(opts ...googleapi.CallOption) (*UnitOperation,error)
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¶
func (c *ProjectsLocationsUnitOperationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitOperationsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitOperationsPatchCall)Header¶
func (c *ProjectsLocationsUnitOperationsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitOperationsPatchCall)RequestId¶
func (c *ProjectsLocationsUnitOperationsPatchCall) RequestId(requestIdstring) *ProjectsLocationsUnitOperationsPatchCall
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¶
func (c *ProjectsLocationsUnitOperationsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsUnitOperationsPatchCall
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¶
func (c *ProjectsLocationsUnitOperationsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitOperationsPatchCall
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}funcNewProjectsLocationsUnitOperationsService¶
func NewProjectsLocationsUnitOperationsService(s *Service) *ProjectsLocationsUnitOperationsService
func (*ProjectsLocationsUnitOperationsService)Create¶
func (r *ProjectsLocationsUnitOperationsService) Create(parentstring, unitoperation *UnitOperation) *ProjectsLocationsUnitOperationsCreateCall
Create: Create a new unit operation.
- parent: The parent of the unit operation.
func (*ProjectsLocationsUnitOperationsService)Delete¶
func (r *ProjectsLocationsUnitOperationsService) Delete(namestring) *ProjectsLocationsUnitOperationsDeleteCall
Delete: Delete a single unit operation.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsUnitOperationsService)Get¶
func (r *ProjectsLocationsUnitOperationsService) Get(namestring) *ProjectsLocationsUnitOperationsGetCall
Get: Retrieve a single unit operation.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsUnitOperationsService)List¶
func (r *ProjectsLocationsUnitOperationsService) List(parentstring) *ProjectsLocationsUnitOperationsListCall
List: Retrieve a collection of unit operations.
- parent: The parent of the unit operation.
func (*ProjectsLocationsUnitOperationsService)Patch¶
func (r *ProjectsLocationsUnitOperationsService) Patch(namestring, unitoperation *UnitOperation) *ProjectsLocationsUnitOperationsPatchCall
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¶
func (c *ProjectsLocationsUnitsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsUnitsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitsCreateCall)Do¶
func (c *ProjectsLocationsUnitsCreateCall) Do(opts ...googleapi.CallOption) (*Unit,error)
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¶
func (c *ProjectsLocationsUnitsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitsCreateCall)Header¶
func (c *ProjectsLocationsUnitsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitsCreateCall)RequestId¶
func (c *ProjectsLocationsUnitsCreateCall) RequestId(requestIdstring) *ProjectsLocationsUnitsCreateCall
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¶
func (c *ProjectsLocationsUnitsCreateCall) UnitId(unitIdstring) *ProjectsLocationsUnitsCreateCall
UnitId sets the optional parameter "unitId": Required. The ID value for thenew unit.
func (*ProjectsLocationsUnitsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsUnitsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitsCreateCall
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¶
func (c *ProjectsLocationsUnitsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsUnitsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitsDeleteCall)Do¶
func (c *ProjectsLocationsUnitsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsUnitsDeleteCall) Etag(etagstring) *ProjectsLocationsUnitsDeleteCall
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¶
func (c *ProjectsLocationsUnitsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitsDeleteCall)Header¶
func (c *ProjectsLocationsUnitsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitsDeleteCall)RequestId¶
func (c *ProjectsLocationsUnitsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsUnitsDeleteCall
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¶
func (c *ProjectsLocationsUnitsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitsDeleteCall
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¶
func (c *ProjectsLocationsUnitsGetCall) Context(ctxcontext.Context) *ProjectsLocationsUnitsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitsGetCall)Do¶
func (c *ProjectsLocationsUnitsGetCall) Do(opts ...googleapi.CallOption) (*Unit,error)
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¶
func (c *ProjectsLocationsUnitsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitsGetCall)Header¶
func (c *ProjectsLocationsUnitsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsUnitsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsUnitsGetCall
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¶
func (c *ProjectsLocationsUnitsListCall) Context(ctxcontext.Context) *ProjectsLocationsUnitsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitsListCall)Do¶
func (c *ProjectsLocationsUnitsListCall) Do(opts ...googleapi.CallOption) (*ListUnitsResponse,error)
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¶
func (c *ProjectsLocationsUnitsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitsListCall)Filter¶
func (c *ProjectsLocationsUnitsListCall) Filter(filterstring) *ProjectsLocationsUnitsListCall
Filter sets the optional parameter "filter": Filter the list as specified inhttps://google.aip.dev/160.
func (*ProjectsLocationsUnitsListCall)Header¶
func (c *ProjectsLocationsUnitsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitsListCall)IfNoneMatch¶
func (c *ProjectsLocationsUnitsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsUnitsListCall
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¶
func (c *ProjectsLocationsUnitsListCall) OrderBy(orderBystring) *ProjectsLocationsUnitsListCall
OrderBy sets the optional parameter "orderBy": Order results as specified inhttps://google.aip.dev/132.
func (*ProjectsLocationsUnitsListCall)PageSize¶
func (c *ProjectsLocationsUnitsListCall) PageSize(pageSizeint64) *ProjectsLocationsUnitsListCall
PageSize sets the optional parameter "pageSize": The maximum number of unitsto send per page.
func (*ProjectsLocationsUnitsListCall)PageToken¶
func (c *ProjectsLocationsUnitsListCall) PageToken(pageTokenstring) *ProjectsLocationsUnitsListCall
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¶
func (c *ProjectsLocationsUnitsListCall) Pages(ctxcontext.Context, f func(*ListUnitsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsUnitsPatchCall¶
type ProjectsLocationsUnitsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsUnitsPatchCall)Context¶
func (c *ProjectsLocationsUnitsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsUnitsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUnitsPatchCall)Do¶
func (c *ProjectsLocationsUnitsPatchCall) Do(opts ...googleapi.CallOption) (*Unit,error)
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¶
func (c *ProjectsLocationsUnitsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsUnitsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsUnitsPatchCall)Header¶
func (c *ProjectsLocationsUnitsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsUnitsPatchCall)RequestId¶
func (c *ProjectsLocationsUnitsPatchCall) RequestId(requestIdstring) *ProjectsLocationsUnitsPatchCall
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¶
func (c *ProjectsLocationsUnitsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsUnitsPatchCall
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¶
func (c *ProjectsLocationsUnitsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsUnitsPatchCall
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¶
func (r *ProjectsLocationsUnitsService) Create(parentstring, unit *Unit) *ProjectsLocationsUnitsCreateCall
Create: Create a new unit.
- parent: The parent of the unit.
func (*ProjectsLocationsUnitsService)Delete¶
func (r *ProjectsLocationsUnitsService) Delete(namestring) *ProjectsLocationsUnitsDeleteCall
Delete: Delete a single unit.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsUnitsService)Get¶
func (r *ProjectsLocationsUnitsService) Get(namestring) *ProjectsLocationsUnitsGetCall
Get: Retrieve a single unit.
- name: The resource name of the resource within a service.
func (*ProjectsLocationsUnitsService)List¶
func (r *ProjectsLocationsUnitsService) List(parentstring) *ProjectsLocationsUnitsListCall
List: Retrieve a collection of units.
- parent: The parent of the unit.
func (*ProjectsLocationsUnitsService)Patch¶
func (r *ProjectsLocationsUnitsService) Patch(namestring, unit *Unit) *ProjectsLocationsUnitsPatchCall
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¶
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¶
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)
typeReplicationInternal¶added 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)MarshalJSON¶added inv0.251.0
func (sReplicationInternal) MarshalJSON() ([]byte,error)
typeReplicationStats¶added 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)MarshalJSON¶added 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¶
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¶
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¶
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeStatus¶added 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)MarshalJSON¶added inv0.251.0
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¶
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¶
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¶
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¶
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¶
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)