apigeeregistry
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 apigeeregistry provides access to the Apigee Registry API.
For product documentation, see:https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub
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/apigeeregistry/v1"...ctx := context.Background()apigeeregistryService, err := apigeeregistry.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:
apigeeregistryService, err := apigeeregistry.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, ...)apigeeregistryService, err := apigeeregistry.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type Api
- type ApiDeployment
- type ApiSpec
- type ApiVersion
- type Artifact
- type Binding
- type Build
- type CancelOperationRequest
- type Config
- type Empty
- type Expr
- type HttpBody
- type Instance
- type ListApiDeploymentRevisionsResponse
- type ListApiDeploymentsResponse
- type ListApiSpecRevisionsResponse
- type ListApiSpecsResponse
- type ListApiVersionsResponse
- type ListApisResponse
- type ListArtifactsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type Location
- type Operation
- type OperationMetadata
- type Policy
- type ProjectsLocationsApisArtifactsCreateCall
- func (c *ProjectsLocationsApisArtifactsCreateCall) ArtifactId(artifactId string) *ProjectsLocationsApisArtifactsCreateCall
- func (c *ProjectsLocationsApisArtifactsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsCreateCall
- func (c *ProjectsLocationsApisArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsCreateCall
- func (c *ProjectsLocationsApisArtifactsCreateCall) Header() http.Header
- type ProjectsLocationsApisArtifactsDeleteCall
- func (c *ProjectsLocationsApisArtifactsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsDeleteCall
- func (c *ProjectsLocationsApisArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsDeleteCall
- func (c *ProjectsLocationsApisArtifactsDeleteCall) Header() http.Header
- type ProjectsLocationsApisArtifactsGetCall
- func (c *ProjectsLocationsApisArtifactsGetCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsGetCall
- func (c *ProjectsLocationsApisArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsGetCall
- func (c *ProjectsLocationsApisArtifactsGetCall) Header() http.Header
- func (c *ProjectsLocationsApisArtifactsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisArtifactsGetCall
- type ProjectsLocationsApisArtifactsGetContentsCall
- func (c *ProjectsLocationsApisArtifactsGetContentsCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsGetContentsCall
- func (c *ProjectsLocationsApisArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody, error)
- func (c *ProjectsLocationsApisArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsGetContentsCall
- func (c *ProjectsLocationsApisArtifactsGetContentsCall) Header() http.Header
- func (c *ProjectsLocationsApisArtifactsGetContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisArtifactsGetContentsCall
- type ProjectsLocationsApisArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisArtifactsGetIamPolicyCall
- type ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse, error)
- func (c *ProjectsLocationsApisArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) Filter(filter string) *ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) Header() http.Header
- func (c *ProjectsLocationsApisArtifactsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) PageToken(pageToken string) *ProjectsLocationsApisArtifactsListCall
- func (c *ProjectsLocationsApisArtifactsListCall) Pages(ctx context.Context, f func(*ListArtifactsResponse) error) error
- type ProjectsLocationsApisArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Header() http.Header
- type ProjectsLocationsApisArtifactsService
- func (r *ProjectsLocationsApisArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisArtifactsCreateCall
- func (r *ProjectsLocationsApisArtifactsService) Delete(name string) *ProjectsLocationsApisArtifactsDeleteCall
- func (r *ProjectsLocationsApisArtifactsService) Get(name string) *ProjectsLocationsApisArtifactsGetCall
- func (r *ProjectsLocationsApisArtifactsService) GetContents(name string) *ProjectsLocationsApisArtifactsGetContentsCall
- func (r *ProjectsLocationsApisArtifactsService) GetIamPolicy(resource string) *ProjectsLocationsApisArtifactsGetIamPolicyCall
- func (r *ProjectsLocationsApisArtifactsService) List(parent string) *ProjectsLocationsApisArtifactsListCall
- func (r *ProjectsLocationsApisArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisArtifactsReplaceArtifactCall
- func (r *ProjectsLocationsApisArtifactsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisArtifactsSetIamPolicyCall
- func (r *ProjectsLocationsApisArtifactsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisArtifactsTestIamPermissionsCall
- type ProjectsLocationsApisArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsApisArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsApisCreateCall
- func (c *ProjectsLocationsApisCreateCall) ApiId(apiId string) *ProjectsLocationsApisCreateCall
- func (c *ProjectsLocationsApisCreateCall) Context(ctx context.Context) *ProjectsLocationsApisCreateCall
- func (c *ProjectsLocationsApisCreateCall) Do(opts ...googleapi.CallOption) (*Api, error)
- func (c *ProjectsLocationsApisCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisCreateCall
- func (c *ProjectsLocationsApisCreateCall) Header() http.Header
- type ProjectsLocationsApisDeleteCall
- func (c *ProjectsLocationsApisDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisDeleteCall
- func (c *ProjectsLocationsApisDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeleteCall
- func (c *ProjectsLocationsApisDeleteCall) Force(force bool) *ProjectsLocationsApisDeleteCall
- func (c *ProjectsLocationsApisDeleteCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsArtifactsCreateCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) ArtifactId(artifactId string) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsArtifactsDeleteCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsArtifactsDeleteCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsDeleteCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsArtifactsGetCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsArtifactsGetCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsGetCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisDeploymentsArtifactsGetCall
- type ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody, error)
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
- type ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse, error)
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Filter(filter string) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) PageToken(pageToken string) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Pages(ctx context.Context, f func(*ListArtifactsResponse) error) error
- type ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsArtifactsService
- func (r *ProjectsLocationsApisDeploymentsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
- func (r *ProjectsLocationsApisDeploymentsArtifactsService) Delete(name string) *ProjectsLocationsApisDeploymentsArtifactsDeleteCall
- func (r *ProjectsLocationsApisDeploymentsArtifactsService) Get(name string) *ProjectsLocationsApisDeploymentsArtifactsGetCall
- func (r *ProjectsLocationsApisDeploymentsArtifactsService) GetContents(name string) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
- func (r *ProjectsLocationsApisDeploymentsArtifactsService) List(parent string) *ProjectsLocationsApisDeploymentsArtifactsListCall
- func (r *ProjectsLocationsApisDeploymentsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall
- type ProjectsLocationsApisDeploymentsCreateCall
- func (c *ProjectsLocationsApisDeploymentsCreateCall) ApiDeploymentId(apiDeploymentId string) *ProjectsLocationsApisDeploymentsCreateCall
- func (c *ProjectsLocationsApisDeploymentsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsCreateCall
- func (c *ProjectsLocationsApisDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*ApiDeployment, error)
- func (c *ProjectsLocationsApisDeploymentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsCreateCall
- func (c *ProjectsLocationsApisDeploymentsCreateCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsDeleteCall
- func (c *ProjectsLocationsApisDeploymentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsDeleteCall
- func (c *ProjectsLocationsApisDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisDeploymentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsDeleteCall
- func (c *ProjectsLocationsApisDeploymentsDeleteCall) Force(force bool) *ProjectsLocationsApisDeploymentsDeleteCall
- func (c *ProjectsLocationsApisDeploymentsDeleteCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsDeleteRevisionCall
- func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsDeleteRevisionCall
- func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Do(opts ...googleapi.CallOption) (*ApiDeployment, error)
- func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsDeleteRevisionCall
- func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsGetCall
- func (c *ProjectsLocationsApisDeploymentsGetCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsGetCall
- func (c *ProjectsLocationsApisDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*ApiDeployment, error)
- func (c *ProjectsLocationsApisDeploymentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsGetCall
- func (c *ProjectsLocationsApisDeploymentsGetCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisDeploymentsGetCall
- type ProjectsLocationsApisDeploymentsGetIamPolicyCall
- func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
- func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
- func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
- func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
- type ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) Do(opts ...googleapi.CallOption) (*ListApiDeploymentsResponse, error)
- func (c *ProjectsLocationsApisDeploymentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) Filter(filter string) *ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) OrderBy(orderBy string) *ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) PageSize(pageSize int64) *ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) PageToken(pageToken string) *ProjectsLocationsApisDeploymentsListCall
- func (c *ProjectsLocationsApisDeploymentsListCall) Pages(ctx context.Context, f func(*ListApiDeploymentsResponse) error) error
- type ProjectsLocationsApisDeploymentsListRevisionsCall
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsListRevisionsCall
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Do(opts ...googleapi.CallOption) (*ListApiDeploymentRevisionsResponse, error)
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsListRevisionsCall
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Filter(filter string) *ProjectsLocationsApisDeploymentsListRevisionsCall
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisDeploymentsListRevisionsCall
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsApisDeploymentsListRevisionsCall
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsApisDeploymentsListRevisionsCall
- func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Pages(ctx context.Context, f func(*ListApiDeploymentRevisionsResponse) error) error
- type ProjectsLocationsApisDeploymentsPatchCall
- func (c *ProjectsLocationsApisDeploymentsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsApisDeploymentsPatchCall
- func (c *ProjectsLocationsApisDeploymentsPatchCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsPatchCall
- func (c *ProjectsLocationsApisDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*ApiDeployment, error)
- func (c *ProjectsLocationsApisDeploymentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsPatchCall
- func (c *ProjectsLocationsApisDeploymentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsApisDeploymentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisDeploymentsPatchCall
- type ProjectsLocationsApisDeploymentsRollbackCall
- func (c *ProjectsLocationsApisDeploymentsRollbackCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsRollbackCall
- func (c *ProjectsLocationsApisDeploymentsRollbackCall) Do(opts ...googleapi.CallOption) (*ApiDeployment, error)
- func (c *ProjectsLocationsApisDeploymentsRollbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsRollbackCall
- func (c *ProjectsLocationsApisDeploymentsRollbackCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsService
- func (r *ProjectsLocationsApisDeploymentsService) Create(parent string, apideployment *ApiDeployment) *ProjectsLocationsApisDeploymentsCreateCall
- func (r *ProjectsLocationsApisDeploymentsService) Delete(name string) *ProjectsLocationsApisDeploymentsDeleteCall
- func (r *ProjectsLocationsApisDeploymentsService) DeleteRevision(name string) *ProjectsLocationsApisDeploymentsDeleteRevisionCall
- func (r *ProjectsLocationsApisDeploymentsService) Get(name string) *ProjectsLocationsApisDeploymentsGetCall
- func (r *ProjectsLocationsApisDeploymentsService) GetIamPolicy(resource string) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
- func (r *ProjectsLocationsApisDeploymentsService) List(parent string) *ProjectsLocationsApisDeploymentsListCall
- func (r *ProjectsLocationsApisDeploymentsService) ListRevisions(name string) *ProjectsLocationsApisDeploymentsListRevisionsCall
- func (r *ProjectsLocationsApisDeploymentsService) Patch(name string, apideployment *ApiDeployment) *ProjectsLocationsApisDeploymentsPatchCall
- func (r *ProjectsLocationsApisDeploymentsService) Rollback(name string, rollbackapideploymentrequest *RollbackApiDeploymentRequest) *ProjectsLocationsApisDeploymentsRollbackCall
- func (r *ProjectsLocationsApisDeploymentsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisDeploymentsSetIamPolicyCall
- func (r *ProjectsLocationsApisDeploymentsService) TagRevision(name string, tagapideploymentrevisionrequest *TagApiDeploymentRevisionRequest) *ProjectsLocationsApisDeploymentsTagRevisionCall
- func (r *ProjectsLocationsApisDeploymentsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisDeploymentsTestIamPermissionsCall
- type ProjectsLocationsApisDeploymentsSetIamPolicyCall
- func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsSetIamPolicyCall
- func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsSetIamPolicyCall
- func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsTagRevisionCall
- func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsTagRevisionCall
- func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Do(opts ...googleapi.CallOption) (*ApiDeployment, error)
- func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsTagRevisionCall
- func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Header() http.Header
- type ProjectsLocationsApisDeploymentsTestIamPermissionsCall
- func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisDeploymentsTestIamPermissionsCall
- func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsTestIamPermissionsCall
- func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsApisGetCall
- func (c *ProjectsLocationsApisGetCall) Context(ctx context.Context) *ProjectsLocationsApisGetCall
- func (c *ProjectsLocationsApisGetCall) Do(opts ...googleapi.CallOption) (*Api, error)
- func (c *ProjectsLocationsApisGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisGetCall
- func (c *ProjectsLocationsApisGetCall) Header() http.Header
- func (c *ProjectsLocationsApisGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisGetCall
- type ProjectsLocationsApisGetIamPolicyCall
- func (c *ProjectsLocationsApisGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisGetIamPolicyCall
- func (c *ProjectsLocationsApisGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisGetIamPolicyCall
- func (c *ProjectsLocationsApisGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsApisGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisGetIamPolicyCall
- func (c *ProjectsLocationsApisGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisGetIamPolicyCall
- type ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) Context(ctx context.Context) *ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) Do(opts ...googleapi.CallOption) (*ListApisResponse, error)
- func (c *ProjectsLocationsApisListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) Filter(filter string) *ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) Header() http.Header
- func (c *ProjectsLocationsApisListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) OrderBy(orderBy string) *ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) PageSize(pageSize int64) *ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) PageToken(pageToken string) *ProjectsLocationsApisListCall
- func (c *ProjectsLocationsApisListCall) Pages(ctx context.Context, f func(*ListApisResponse) error) error
- type ProjectsLocationsApisPatchCall
- func (c *ProjectsLocationsApisPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsApisPatchCall
- func (c *ProjectsLocationsApisPatchCall) Context(ctx context.Context) *ProjectsLocationsApisPatchCall
- func (c *ProjectsLocationsApisPatchCall) Do(opts ...googleapi.CallOption) (*Api, error)
- func (c *ProjectsLocationsApisPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisPatchCall
- func (c *ProjectsLocationsApisPatchCall) Header() http.Header
- func (c *ProjectsLocationsApisPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisPatchCall
- type ProjectsLocationsApisService
- func (r *ProjectsLocationsApisService) Create(parent string, api *Api) *ProjectsLocationsApisCreateCall
- func (r *ProjectsLocationsApisService) Delete(name string) *ProjectsLocationsApisDeleteCall
- func (r *ProjectsLocationsApisService) Get(name string) *ProjectsLocationsApisGetCall
- func (r *ProjectsLocationsApisService) GetIamPolicy(resource string) *ProjectsLocationsApisGetIamPolicyCall
- func (r *ProjectsLocationsApisService) List(parent string) *ProjectsLocationsApisListCall
- func (r *ProjectsLocationsApisService) Patch(name string, api *Api) *ProjectsLocationsApisPatchCall
- func (r *ProjectsLocationsApisService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisSetIamPolicyCall
- func (r *ProjectsLocationsApisService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisTestIamPermissionsCall
- type ProjectsLocationsApisSetIamPolicyCall
- func (c *ProjectsLocationsApisSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisSetIamPolicyCall
- func (c *ProjectsLocationsApisSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisSetIamPolicyCall
- func (c *ProjectsLocationsApisSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsApisTestIamPermissionsCall
- func (c *ProjectsLocationsApisTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisTestIamPermissionsCall
- func (c *ProjectsLocationsApisTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsApisTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisTestIamPermissionsCall
- func (c *ProjectsLocationsApisTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsApisVersionsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) ArtifactId(artifactId string) *ProjectsLocationsApisVersionsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Header() http.Header
- type ProjectsLocationsApisVersionsArtifactsDeleteCall
- func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsDeleteCall
- func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsDeleteCall
- func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Header() http.Header
- type ProjectsLocationsApisVersionsArtifactsGetCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsGetCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsGetCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsArtifactsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsArtifactsGetCall
- type ProjectsLocationsApisVersionsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody, error)
- func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
- type ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
- type ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse, error)
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) Filter(filter string) *ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) PageToken(pageToken string) *ProjectsLocationsApisVersionsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsArtifactsListCall) Pages(ctx context.Context, f func(*ListArtifactsResponse) error) error
- type ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Header() http.Header
- type ProjectsLocationsApisVersionsArtifactsService
- func (r *ProjectsLocationsApisVersionsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisVersionsArtifactsCreateCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) Delete(name string) *ProjectsLocationsApisVersionsArtifactsDeleteCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) Get(name string) *ProjectsLocationsApisVersionsArtifactsGetCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) GetContents(name string) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) GetIamPolicy(resource string) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) List(parent string) *ProjectsLocationsApisVersionsArtifactsListCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsArtifactsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall
- type ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsApisVersionsCreateCall
- func (c *ProjectsLocationsApisVersionsCreateCall) ApiVersionId(apiVersionId string) *ProjectsLocationsApisVersionsCreateCall
- func (c *ProjectsLocationsApisVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsCreateCall
- func (c *ProjectsLocationsApisVersionsCreateCall) Do(opts ...googleapi.CallOption) (*ApiVersion, error)
- func (c *ProjectsLocationsApisVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsCreateCall
- func (c *ProjectsLocationsApisVersionsCreateCall) Header() http.Header
- type ProjectsLocationsApisVersionsDeleteCall
- func (c *ProjectsLocationsApisVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsDeleteCall
- func (c *ProjectsLocationsApisVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsDeleteCall
- func (c *ProjectsLocationsApisVersionsDeleteCall) Force(force bool) *ProjectsLocationsApisVersionsDeleteCall
- func (c *ProjectsLocationsApisVersionsDeleteCall) Header() http.Header
- type ProjectsLocationsApisVersionsGetCall
- func (c *ProjectsLocationsApisVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsGetCall
- func (c *ProjectsLocationsApisVersionsGetCall) Do(opts ...googleapi.CallOption) (*ApiVersion, error)
- func (c *ProjectsLocationsApisVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsGetCall
- func (c *ProjectsLocationsApisVersionsGetCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsGetCall
- type ProjectsLocationsApisVersionsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisVersionsGetIamPolicyCall
- type ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) Do(opts ...googleapi.CallOption) (*ListApiVersionsResponse, error)
- func (c *ProjectsLocationsApisVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) Filter(filter string) *ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) PageToken(pageToken string) *ProjectsLocationsApisVersionsListCall
- func (c *ProjectsLocationsApisVersionsListCall) Pages(ctx context.Context, f func(*ListApiVersionsResponse) error) error
- type ProjectsLocationsApisVersionsPatchCall
- func (c *ProjectsLocationsApisVersionsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsApisVersionsPatchCall
- func (c *ProjectsLocationsApisVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsPatchCall
- func (c *ProjectsLocationsApisVersionsPatchCall) Do(opts ...googleapi.CallOption) (*ApiVersion, error)
- func (c *ProjectsLocationsApisVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsPatchCall
- func (c *ProjectsLocationsApisVersionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisVersionsPatchCall
- type ProjectsLocationsApisVersionsService
- func (r *ProjectsLocationsApisVersionsService) Create(parent string, apiversion *ApiVersion) *ProjectsLocationsApisVersionsCreateCall
- func (r *ProjectsLocationsApisVersionsService) Delete(name string) *ProjectsLocationsApisVersionsDeleteCall
- func (r *ProjectsLocationsApisVersionsService) Get(name string) *ProjectsLocationsApisVersionsGetCall
- func (r *ProjectsLocationsApisVersionsService) GetIamPolicy(resource string) *ProjectsLocationsApisVersionsGetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsService) List(parent string) *ProjectsLocationsApisVersionsListCall
- func (r *ProjectsLocationsApisVersionsService) Patch(name string, apiversion *ApiVersion) *ProjectsLocationsApisVersionsPatchCall
- func (r *ProjectsLocationsApisVersionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsSetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsTestIamPermissionsCall
- type ProjectsLocationsApisVersionsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) ArtifactId(artifactId string) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsArtifactsGetCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
- type ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
- type ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
- type ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Filter(filter string) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) PageToken(pageToken string) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Pages(ctx context.Context, f func(*ListArtifactsResponse) error) error
- type ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsArtifactsService
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Delete(name string) *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Get(name string) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) GetContents(name string) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) GetIamPolicy(resource string) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) List(parent string) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall
- type ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsCreateCall) ApiSpecId(apiSpecId string) *ProjectsLocationsApisVersionsSpecsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Do(opts ...googleapi.CallOption) (*ApiSpec, error)
- func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsCreateCall
- func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsDeleteCall
- func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsDeleteCall
- func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsDeleteCall
- func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Force(force bool) *ProjectsLocationsApisVersionsSpecsDeleteCall
- func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsDeleteRevisionCall
- func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall
- func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Do(opts ...googleapi.CallOption) (*ApiSpec, error)
- func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall
- func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsGetCall
- func (c *ProjectsLocationsApisVersionsSpecsGetCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsGetCall
- func (c *ProjectsLocationsApisVersionsSpecsGetCall) Do(opts ...googleapi.CallOption) (*ApiSpec, error)
- func (c *ProjectsLocationsApisVersionsSpecsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsGetCall
- func (c *ProjectsLocationsApisVersionsSpecsGetCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsGetCall
- type ProjectsLocationsApisVersionsSpecsGetContentsCall
- func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsGetContentsCall
- func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody, error)
- func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsGetContentsCall
- func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsGetContentsCall
- type ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
- type ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) Do(opts ...googleapi.CallOption) (*ListApiSpecsResponse, error)
- func (c *ProjectsLocationsApisVersionsSpecsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) Filter(filter string) *ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) PageSize(pageSize int64) *ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) PageToken(pageToken string) *ProjectsLocationsApisVersionsSpecsListCall
- func (c *ProjectsLocationsApisVersionsSpecsListCall) Pages(ctx context.Context, f func(*ListApiSpecsResponse) error) error
- type ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Do(opts ...googleapi.CallOption) (*ListApiSpecRevisionsResponse, error)
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Filter(filter string) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Pages(ctx context.Context, f func(*ListApiSpecRevisionsResponse) error) error
- type ProjectsLocationsApisVersionsSpecsPatchCall
- func (c *ProjectsLocationsApisVersionsSpecsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsApisVersionsSpecsPatchCall
- func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsPatchCall
- func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Do(opts ...googleapi.CallOption) (*ApiSpec, error)
- func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsPatchCall
- func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Header() http.Header
- func (c *ProjectsLocationsApisVersionsSpecsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisVersionsSpecsPatchCall
- type ProjectsLocationsApisVersionsSpecsRollbackCall
- func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsRollbackCall
- func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Do(opts ...googleapi.CallOption) (*ApiSpec, error)
- func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsRollbackCall
- func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsService
- func (r *ProjectsLocationsApisVersionsSpecsService) Create(parent string, apispec *ApiSpec) *ProjectsLocationsApisVersionsSpecsCreateCall
- func (r *ProjectsLocationsApisVersionsSpecsService) Delete(name string) *ProjectsLocationsApisVersionsSpecsDeleteCall
- func (r *ProjectsLocationsApisVersionsSpecsService) DeleteRevision(name string) *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall
- func (r *ProjectsLocationsApisVersionsSpecsService) Get(name string) *ProjectsLocationsApisVersionsSpecsGetCall
- func (r *ProjectsLocationsApisVersionsSpecsService) GetContents(name string) *ProjectsLocationsApisVersionsSpecsGetContentsCall
- func (r *ProjectsLocationsApisVersionsSpecsService) GetIamPolicy(resource string) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsSpecsService) List(parent string) *ProjectsLocationsApisVersionsSpecsListCall
- func (r *ProjectsLocationsApisVersionsSpecsService) ListRevisions(name string) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
- func (r *ProjectsLocationsApisVersionsSpecsService) Patch(name string, apispec *ApiSpec) *ProjectsLocationsApisVersionsSpecsPatchCall
- func (r *ProjectsLocationsApisVersionsSpecsService) Rollback(name string, rollbackapispecrequest *RollbackApiSpecRequest) *ProjectsLocationsApisVersionsSpecsRollbackCall
- func (r *ProjectsLocationsApisVersionsSpecsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall
- func (r *ProjectsLocationsApisVersionsSpecsService) TagRevision(name string, tagapispecrevisionrequest *TagApiSpecRevisionRequest) *ProjectsLocationsApisVersionsSpecsTagRevisionCall
- func (r *ProjectsLocationsApisVersionsSpecsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall
- type ProjectsLocationsApisVersionsSpecsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall
- func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsTagRevisionCall
- func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsTagRevisionCall
- func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Do(opts ...googleapi.CallOption) (*ApiSpec, error)
- func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsTagRevisionCall
- func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Header() http.Header
- type ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsApisVersionsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisVersionsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsTestIamPermissionsCall
- func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsArtifactsCreateCall
- func (c *ProjectsLocationsArtifactsCreateCall) ArtifactId(artifactId string) *ProjectsLocationsArtifactsCreateCall
- func (c *ProjectsLocationsArtifactsCreateCall) Context(ctx context.Context) *ProjectsLocationsArtifactsCreateCall
- func (c *ProjectsLocationsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsCreateCall
- func (c *ProjectsLocationsArtifactsCreateCall) Header() http.Header
- type ProjectsLocationsArtifactsDeleteCall
- func (c *ProjectsLocationsArtifactsDeleteCall) Context(ctx context.Context) *ProjectsLocationsArtifactsDeleteCall
- func (c *ProjectsLocationsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsDeleteCall
- func (c *ProjectsLocationsArtifactsDeleteCall) Header() http.Header
- type ProjectsLocationsArtifactsGetCall
- func (c *ProjectsLocationsArtifactsGetCall) Context(ctx context.Context) *ProjectsLocationsArtifactsGetCall
- func (c *ProjectsLocationsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsGetCall
- func (c *ProjectsLocationsArtifactsGetCall) Header() http.Header
- func (c *ProjectsLocationsArtifactsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsArtifactsGetCall
- type ProjectsLocationsArtifactsGetContentsCall
- func (c *ProjectsLocationsArtifactsGetContentsCall) Context(ctx context.Context) *ProjectsLocationsArtifactsGetContentsCall
- func (c *ProjectsLocationsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody, error)
- func (c *ProjectsLocationsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsGetContentsCall
- func (c *ProjectsLocationsArtifactsGetContentsCall) Header() http.Header
- func (c *ProjectsLocationsArtifactsGetContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsArtifactsGetContentsCall
- type ProjectsLocationsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsArtifactsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsArtifactsGetIamPolicyCall
- func (c *ProjectsLocationsArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsArtifactsGetIamPolicyCall
- type ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) Context(ctx context.Context) *ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse, error)
- func (c *ProjectsLocationsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) Filter(filter string) *ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) Header() http.Header
- func (c *ProjectsLocationsArtifactsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) PageToken(pageToken string) *ProjectsLocationsArtifactsListCall
- func (c *ProjectsLocationsArtifactsListCall) Pages(ctx context.Context, f func(*ListArtifactsResponse) error) error
- type ProjectsLocationsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Context(ctx context.Context) *ProjectsLocationsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact, error)
- func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsReplaceArtifactCall
- func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Header() http.Header
- type ProjectsLocationsArtifactsService
- func (r *ProjectsLocationsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsArtifactsCreateCall
- func (r *ProjectsLocationsArtifactsService) Delete(name string) *ProjectsLocationsArtifactsDeleteCall
- func (r *ProjectsLocationsArtifactsService) Get(name string) *ProjectsLocationsArtifactsGetCall
- func (r *ProjectsLocationsArtifactsService) GetContents(name string) *ProjectsLocationsArtifactsGetContentsCall
- func (r *ProjectsLocationsArtifactsService) GetIamPolicy(resource string) *ProjectsLocationsArtifactsGetIamPolicyCall
- func (r *ProjectsLocationsArtifactsService) List(parent string) *ProjectsLocationsArtifactsListCall
- func (r *ProjectsLocationsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsArtifactsReplaceArtifactCall
- func (r *ProjectsLocationsArtifactsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsArtifactsSetIamPolicyCall
- func (r *ProjectsLocationsArtifactsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsArtifactsTestIamPermissionsCall
- type ProjectsLocationsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsSetIamPolicyCall
- func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsTestIamPermissionsCall
- func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsDocumentsGetIamPolicyCall
- func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDocumentsGetIamPolicyCall
- func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDocumentsGetIamPolicyCall
- func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsDocumentsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsDocumentsGetIamPolicyCall
- func (c *ProjectsLocationsDocumentsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsDocumentsGetIamPolicyCall
- type ProjectsLocationsDocumentsService
- func (r *ProjectsLocationsDocumentsService) GetIamPolicy(resource string) *ProjectsLocationsDocumentsGetIamPolicyCall
- func (r *ProjectsLocationsDocumentsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDocumentsSetIamPolicyCall
- func (r *ProjectsLocationsDocumentsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDocumentsTestIamPermissionsCall
- type ProjectsLocationsDocumentsSetIamPolicyCall
- func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDocumentsSetIamPolicyCall
- func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDocumentsSetIamPolicyCall
- func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsDocumentsTestIamPermissionsCall
- func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsDocumentsTestIamPermissionsCall
- func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsDocumentsTestIamPermissionsCall
- func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsInstancesCreateCall
- func (c *ProjectsLocationsInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsInstancesCreateCall
- func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesCreateCall
- func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header
- func (c *ProjectsLocationsInstancesCreateCall) InstanceId(instanceId string) *ProjectsLocationsInstancesCreateCall
- type ProjectsLocationsInstancesDeleteCall
- func (c *ProjectsLocationsInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsInstancesDeleteCall
- func (c *ProjectsLocationsInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesDeleteCall
- func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header
- type ProjectsLocationsInstancesGetCall
- func (c *ProjectsLocationsInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsInstancesGetCall
- func (c *ProjectsLocationsInstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance, error)
- func (c *ProjectsLocationsInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetCall
- func (c *ProjectsLocationsInstancesGetCall) Header() http.Header
- func (c *ProjectsLocationsInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesGetCall
- type ProjectsLocationsInstancesGetIamPolicyCall
- func (c *ProjectsLocationsInstancesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsInstancesGetIamPolicyCall
- func (c *ProjectsLocationsInstancesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsInstancesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetIamPolicyCall
- func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsInstancesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesGetIamPolicyCall
- func (c *ProjectsLocationsInstancesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsInstancesGetIamPolicyCall
- type ProjectsLocationsInstancesService
- func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall
- func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall
- func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall
- func (r *ProjectsLocationsInstancesService) GetIamPolicy(resource string) *ProjectsLocationsInstancesGetIamPolicyCall
- func (r *ProjectsLocationsInstancesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesSetIamPolicyCall
- func (r *ProjectsLocationsInstancesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesTestIamPermissionsCall
- type ProjectsLocationsInstancesSetIamPolicyCall
- func (c *ProjectsLocationsInstancesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsInstancesSetIamPolicyCall
- func (c *ProjectsLocationsInstancesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsInstancesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesSetIamPolicyCall
- func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsInstancesTestIamPermissionsCall
- func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsInstancesTestIamPermissionsCall
- func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesTestIamPermissionsCall
- func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsRuntimeGetIamPolicyCall
- func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRuntimeGetIamPolicyCall
- func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeGetIamPolicyCall
- func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsRuntimeGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsRuntimeGetIamPolicyCall
- func (c *ProjectsLocationsRuntimeGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsRuntimeGetIamPolicyCall
- type ProjectsLocationsRuntimeService
- func (r *ProjectsLocationsRuntimeService) GetIamPolicy(resource string) *ProjectsLocationsRuntimeGetIamPolicyCall
- func (r *ProjectsLocationsRuntimeService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRuntimeSetIamPolicyCall
- func (r *ProjectsLocationsRuntimeService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRuntimeTestIamPermissionsCall
- type ProjectsLocationsRuntimeSetIamPolicyCall
- func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRuntimeSetIamPolicyCall
- func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeSetIamPolicyCall
- func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsRuntimeTestIamPermissionsCall
- func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsRuntimeTestIamPermissionsCall
- func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeTestIamPermissionsCall
- func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsService
- type ProjectsService
- type RollbackApiDeploymentRequest
- type RollbackApiSpecRequest
- type Service
- type SetIamPolicyRequest
- type Status
- type TagApiDeploymentRevisionRequest
- type TagApiSpecRevisionRequest
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
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¶
typeApi¶
type Api struct {// Annotations: Annotations attach non-identifying metadata to resources.// Annotation keys and values are less restricted than those of labels, but// should be generally used for small values of broad interest. Larger, topic-// specific metadata should be stored in Artifacts.Annotations map[string]string `json:"annotations,omitempty"`// Availability: A user-definable description of the availability of this// service. Format: free-form, but we expect single words that describe// availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED",// "SHUTDOWN".Availabilitystring `json:"availability,omitempty"`// CreateTime: Output only. Creation timestamp.CreateTimestring `json:"createTime,omitempty"`// Description: A detailed description.Descriptionstring `json:"description,omitempty"`// DisplayName: Human-meaningful name.DisplayNamestring `json:"displayName,omitempty"`// Labels: Labels attach identifying metadata to resources. Identifying// metadata can be used to filter list operations. Label keys and values can be// no longer than 64 characters (Unicode codepoints), can only contain// lowercase letters, numeric characters, underscores, and dashes.// International characters are allowed. No more than 64 user labels can be// associated with one resource (System labels are excluded). See//https://goo.gl/xmQnxf for more information and examples of labels. System// reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and// cannot be changed.Labels map[string]string `json:"labels,omitempty"`// Name: Resource name.Namestring `json:"name,omitempty"`// RecommendedDeployment: The recommended deployment of the API. Format:// `projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}`RecommendedDeploymentstring `json:"recommendedDeployment,omitempty"`// RecommendedVersion: The recommended version of the API. Format:// `projects/{project}/locations/{location}/apis/{api}/versions/{version}`RecommendedVersionstring `json:"recommendedVersion,omitempty"`// UpdateTime: Output only. Last update timestamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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:"-"`}Api: A top-level description of an API. Produced by producers and arecommitments to provide services.
func (Api)MarshalJSON¶
typeApiDeployment¶
type ApiDeployment struct {// AccessGuidance: Text briefly describing how to access the endpoint. Changes// to this value will not affect the revision.AccessGuidancestring `json:"accessGuidance,omitempty"`// Annotations: Annotations attach non-identifying metadata to resources.// Annotation keys and values are less restricted than those of labels, but// should be generally used for small values of broad interest. Larger, topic-// specific metadata should be stored in Artifacts.Annotations map[string]string `json:"annotations,omitempty"`// ApiSpecRevision: The full resource name (including revision ID) of the spec// of the API being served by the deployment. Changes to this value will update// the revision. Format:// `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/// {spec@revision}`ApiSpecRevisionstring `json:"apiSpecRevision,omitempty"`// CreateTime: Output only. Creation timestamp; when the deployment resource// was created.CreateTimestring `json:"createTime,omitempty"`// Description: A detailed description.Descriptionstring `json:"description,omitempty"`// DisplayName: Human-meaningful name.DisplayNamestring `json:"displayName,omitempty"`// EndpointUri: The address where the deployment is serving. Changes to this// value will update the revision.EndpointUristring `json:"endpointUri,omitempty"`// ExternalChannelUri: The address of the external channel of the API (e.g.,// the Developer Portal). Changes to this value will not affect the revision.ExternalChannelUristring `json:"externalChannelUri,omitempty"`// IntendedAudience: Text briefly identifying the intended audience of the API.// Changes to this value will not affect the revision.IntendedAudiencestring `json:"intendedAudience,omitempty"`// Labels: Labels attach identifying metadata to resources. Identifying// metadata can be used to filter list operations. Label keys and values can be// no longer than 64 characters (Unicode codepoints), can only contain// lowercase letters, numeric characters, underscores and dashes. International// characters are allowed. No more than 64 user labels can be associated with// one resource (System labels are excluded). Seehttps://goo.gl/xmQnxf for// more information and examples of labels. System reserved label keys are// prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.Labels map[string]string `json:"labels,omitempty"`// Name: Resource name.Namestring `json:"name,omitempty"`// RevisionCreateTime: Output only. Revision creation timestamp; when the// represented revision was created.RevisionCreateTimestring `json:"revisionCreateTime,omitempty"`// RevisionId: Output only. Immutable. The revision ID of the deployment. A new// revision is committed whenever the deployment contents are changed. The// format is an 8-character hexadecimal string.RevisionIdstring `json:"revisionId,omitempty"`// RevisionUpdateTime: Output only. Last update timestamp: when the represented// revision was last modified.RevisionUpdateTimestring `json:"revisionUpdateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AccessGuidance") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AccessGuidance") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ApiDeployment: Describes a service running at particular address thatprovides a particular version of an API. ApiDeployments have revisions whichcorrespond to different configurations of a single deployment in time.Revision identifiers should be updated whenever the served API spec orendpoint address changes.
func (ApiDeployment)MarshalJSON¶
func (sApiDeployment) MarshalJSON() ([]byte,error)
typeApiSpec¶
type ApiSpec struct {// Annotations: Annotations attach non-identifying metadata to resources.// Annotation keys and values are less restricted than those of labels, but// should be generally used for small values of broad interest. Larger, topic-// specific metadata should be stored in Artifacts.Annotations map[string]string `json:"annotations,omitempty"`// Contents: Input only. The contents of the spec. Provided by API callers when// specs are created or updated. To access the contents of a spec, use// GetApiSpecContents.Contentsstring `json:"contents,omitempty"`// CreateTime: Output only. Creation timestamp; when the spec resource was// created.CreateTimestring `json:"createTime,omitempty"`// Description: A detailed description.Descriptionstring `json:"description,omitempty"`// Filename: A possibly-hierarchical name used to refer to the spec from other// specs.Filenamestring `json:"filename,omitempty"`// Hash: Output only. A SHA-256 hash of the spec's contents. If the spec is// gzipped, this is the hash of the uncompressed spec.Hashstring `json:"hash,omitempty"`// Labels: Labels attach identifying metadata to resources. Identifying// metadata can be used to filter list operations. Label keys and values can be// no longer than 64 characters (Unicode codepoints), can only contain// lowercase letters, numeric characters, underscores and dashes. International// characters are allowed. No more than 64 user labels can be associated with// one resource (System labels are excluded). Seehttps://goo.gl/xmQnxf for// more information and examples of labels. System reserved label keys are// prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.Labels map[string]string `json:"labels,omitempty"`// MimeType: A style (format) descriptor for this spec that is specified as a// Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values// include `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`,// and `application/vnd.apigee.graphql`, with possible suffixes representing// compression types. These hypothetical names are defined in the vendor tree// defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.// Content types can specify compression. Currently only GZip compression is// supported (indicated with "+gzip").MimeTypestring `json:"mimeType,omitempty"`// Name: Resource name.Namestring `json:"name,omitempty"`// RevisionCreateTime: Output only. Revision creation timestamp; when the// represented revision was created.RevisionCreateTimestring `json:"revisionCreateTime,omitempty"`// RevisionId: Output only. Immutable. The revision ID of the spec. A new// revision is committed whenever the spec contents are changed. The format is// an 8-character hexadecimal string.RevisionIdstring `json:"revisionId,omitempty"`// RevisionUpdateTime: Output only. Last update timestamp: when the represented// revision was last modified.RevisionUpdateTimestring `json:"revisionUpdateTime,omitempty"`// SizeBytes: Output only. The size of the spec file in bytes. If the spec is// gzipped, this is the size of the uncompressed spec.SizeBytesint64 `json:"sizeBytes,omitempty"`// SourceUri: The original source URI of the spec (if one exists). This is an// external location that can be used for reference purposes but which may not// be authoritative since this external resource may change after the spec is// retrieved.SourceUristring `json:"sourceUri,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:"-"`}ApiSpec: Describes a version of an API in a structured way. ApiSpecs provideformal descriptions that consumers can use to use a version. ApiSpecresources are intended to be fully-resolved descriptions of an ApiVersion.When specs consist of multiple files, these should be bundled together(e.g., in a zip archive) and stored as a unit. Multiple specs can exist toprovide representations in different API description formats.Synchronization of these representations would be provided by tooling andbackground services.
func (ApiSpec)MarshalJSON¶
typeApiVersion¶
type ApiVersion struct {// Annotations: Annotations attach non-identifying metadata to resources.// Annotation keys and values are less restricted than those of labels, but// should be generally used for small values of broad interest. Larger, topic-// specific metadata should be stored in Artifacts.Annotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. Creation timestamp.CreateTimestring `json:"createTime,omitempty"`// Description: A detailed description.Descriptionstring `json:"description,omitempty"`// DisplayName: Human-meaningful name.DisplayNamestring `json:"displayName,omitempty"`// Labels: Labels attach identifying metadata to resources. Identifying// metadata can be used to filter list operations. Label keys and values can be// no longer than 64 characters (Unicode codepoints), can only contain// lowercase letters, numeric characters, underscores and dashes. International// characters are allowed. No more than 64 user labels can be associated with// one resource (System labels are excluded). Seehttps://goo.gl/xmQnxf for// more information and examples of labels. System reserved label keys are// prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.Labels map[string]string `json:"labels,omitempty"`// Name: Resource name.Namestring `json:"name,omitempty"`// PrimarySpec: The primary spec for this version. Format:// projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{// spec}PrimarySpecstring `json:"primarySpec,omitempty"`// State: A user-definable description of the lifecycle phase of this API// version. Format: free-form, but we expect single words that describe API// maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",// "DEPRECATED", "RETIRED".Statestring `json:"state,omitempty"`// UpdateTime: Output only. Last update timestamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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:"-"`}ApiVersion: Describes a particular version of an API. ApiVersions are whatconsumers actually use.
func (ApiVersion)MarshalJSON¶
func (sApiVersion) MarshalJSON() ([]byte,error)
typeArtifact¶
type Artifact struct {// Annotations: Annotations attach non-identifying metadata to resources.// Annotation keys and values are less restricted than those of labels, but// should be generally used for small values of broad interest. Larger, topic-// specific metadata should be stored in Artifacts.Annotations map[string]string `json:"annotations,omitempty"`// Contents: Input only. The contents of the artifact. Provided by API callers// when artifacts are created or replaced. To access the contents of an// artifact, use GetArtifactContents.Contentsstring `json:"contents,omitempty"`// CreateTime: Output only. Creation timestamp.CreateTimestring `json:"createTime,omitempty"`// Hash: Output only. A SHA-256 hash of the artifact's contents. If the// artifact is gzipped, this is the hash of the uncompressed artifact.Hashstring `json:"hash,omitempty"`// Labels: Labels attach identifying metadata to resources. Identifying// metadata can be used to filter list operations. Label keys and values can be// no longer than 64 characters (Unicode codepoints), can only contain// lowercase letters, numeric characters, underscores and dashes. International// characters are allowed. No more than 64 user labels can be associated with// one resource (System labels are excluded). Seehttps://goo.gl/xmQnxf for// more information and examples of labels. System reserved label keys are// prefixed with "registry.googleapis.com/" and cannot be changed.Labels map[string]string `json:"labels,omitempty"`// MimeType: A content type specifier for the artifact. Content type specifiers// are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible// "schema" parameter that specifies a schema for the stored information.// Content types can specify compression. Currently only GZip compression is// supported (indicated with "+gzip").MimeTypestring `json:"mimeType,omitempty"`// Name: Resource name.Namestring `json:"name,omitempty"`// SizeBytes: Output only. The size of the artifact in bytes. If the artifact// is gzipped, this is the size of the uncompressed artifact.SizeBytesint64 `json:"sizeBytes,omitempty"`// UpdateTime: Output only. Last update timestamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "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:"-"`}Artifact: Artifacts of resources. Artifacts are unique (single-value) perresource and are used to store metadata that is too large or numerous to bestored directly on the resource. Since artifacts are stored separately fromparent resources, they should generally be used for metadata that is neededinfrequently, i.e., not for display in primary views of the resource butperhaps displayed or downloaded upon request. The `ListArtifacts` methodallows artifacts to be quickly enumerated and checked for presence withoutdownloading their (potentially-large) contents.
func (Artifact)MarshalJSON¶
typeBinding¶
type Binding struct {// Condition: The condition that is associated with this binding. If the// condition evaluates to `true`, then this binding applies to the current// request. If the condition evaluates to `false`, then this binding does not// apply to the current request. However, a different role binding might grant// the same role to one or more of the principals in this binding. To learn// which resources support conditions in their IAM policies, see the IAM// documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Condition *Expr `json:"condition,omitempty"`// Members: Specifies the principals requesting access for a Google Cloud// resource. `members` can have the following values: * `allUsers`: A special// identifier that represents anyone who is on the internet; with or without a// Google account. * `allAuthenticatedUsers`: A special identifier that// represents anyone who is authenticated with a Google account or a service// account. Does not include identities that come from external identity// providers (IdPs) through identity federation. * `user:{emailid}`: An email// address that represents a specific Google account. For example,// `alice@example.com` . * `serviceAccount:{emailid}`: An email address that// represents a Google service account. For example,// `my-other-app@appspot.gserviceaccount.com`. *// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An// identifier for a Kubernetes service account// (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).// For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *// `group:{emailid}`: An email address that represents a Google group. For// example, `admins@example.com`. * `domain:{domain}`: The G Suite domain// (primary) that represents all the users of that domain. For example,// `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An// email address (plus unique identifier) representing a user that has been// recently deleted. For example,// `alice@example.com?uid=123456789012345678901`. If the user is recovered,// this value reverts to `user:{emailid}` and the recovered user retains the// role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An// email address (plus unique identifier) representing a service account that// has been recently deleted. For example,// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the// service account is undeleted, this value reverts to// `serviceAccount:{emailid}` and the undeleted service account retains the// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email// address (plus unique identifier) representing a Google group that has been// recently deleted. For example,// `admins@example.com?uid=123456789012345678901`. If the group is recovered,// this value reverts to `group:{emailid}` and the recovered group retains the// role in the binding.Members []string `json:"members,omitempty"`// Role: Role that is assigned to the list of `members`, or principals. For// example, `roles/viewer`, `roles/editor`, or `roles/owner`.Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "Condition") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Condition") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Binding: Associates `members`, or principals, with a `role`.
func (Binding)MarshalJSON¶
typeBuild¶added inv0.110.0
type Build struct {// CommitId: Output only. Commit ID of the latest commit in the build.CommitIdstring `json:"commitId,omitempty"`// CommitTime: Output only. Commit time of the latest commit in the build.CommitTimestring `json:"commitTime,omitempty"`// Repo: Output only. Path of the open source repository:// github.com/apigee/registry.Repostring `json:"repo,omitempty"`// ForceSendFields is a list of field names (e.g. "CommitId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CommitId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Build: Build information of the Instance if it's in `ACTIVE` state.
func (Build)MarshalJSON¶added inv0.110.0
typeCancelOperationRequest¶
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeConfig¶
type Config struct {// CmekKeyName: Required. The Customer Managed Encryption Key (CMEK) used for// data encryption. The CMEK name should follow the format of// `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,// where the `location` must match InstanceConfig.location.CmekKeyNamestring `json:"cmekKeyName,omitempty"`// Location: Output only. The GCP location where the Instance resides.Locationstring `json:"location,omitempty"`// ForceSendFields is a list of field names (e.g. "CmekKeyName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CmekKeyName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Config: Available configurations to provision an Instance.
func (Config)MarshalJSON¶
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); }
typeExpr¶
type Expr struct {// Description: Optional. Description of the expression. This is a longer text// which describes the expression, e.g. when hovered over it in a UI.Descriptionstring `json:"description,omitempty"`// Expression: Textual representation of an expression in Common Expression// Language syntax.Expressionstring `json:"expression,omitempty"`// Location: Optional. String indicating the location of the expression for// error reporting, e.g. a file name and a position in the file.Locationstring `json:"location,omitempty"`// Title: Optional. Title for the expression, i.e. a short string describing// its purpose. This can be used e.g. in UIs which allow to enter the// expression.Titlestring `json:"title,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Description") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Expr: Represents a textual expression in the Common Expression Language(CEL) syntax. CEL is a C-like expression language. The syntax and semanticsof CEL are documented athttps://github.com/google/cel-spec. Example(Comparison): title: "Summary size limit" description: "Determines if asummary is less than 100 chars" expression: "document.summary.size() < 100"Example (Equality): title: "Requestor is owner" description: "Determines ifrequestor is the document owner" expression: "document.owner ==request.auth.claims.email" Example (Logic): title: "Public documents"description: "Determine whether the document should be publicly visible"expression: "document.type != 'private' && document.type != 'internal'"Example (Data Manipulation): title: "Notification string" description:"Create a notification string with a timestamp." expression: "'New messagereceived at ' + string(document.create_time)" The exact variables andfunctions that may be referenced within an expression are determined by theservice that evaluates it. See the service documentation for additionalinformation.
func (Expr)MarshalJSON¶
typeHttpBody¶
type HttpBody struct {// ContentType: The HTTP Content-Type header value specifying the content type// of the body.ContentTypestring `json:"contentType,omitempty"`// Data: The HTTP request/response body as raw binary.Datastring `json:"data,omitempty"`// Extensions: Application specific response metadata. Must be set in the first// response for streaming APIs.Extensions []googleapi.RawMessage `json:"extensions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ContentType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpBody: Message that represents an arbitrary HTTP body. It should only beused for payload formats that can't be represented as JSON, such as rawbinary or an HTML page. This message can be used both in streaming andnon-streaming API methods in the request as well as the response. It can beused as a top-level request field, which is convenient if one wants toextract parameters from either the URL or HTTP template into the requestfields and also want access to the raw HTTP body. Example: messageGetResourceRequest { // A unique request id. string request_id = 1; // Theraw HTTP body is bound to this field. google.api.HttpBody http_body = 2; }service ResourceService { rpc GetResource(GetResourceRequest) returns(google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns(google.protobuf.Empty); } Example with streaming methods: serviceCaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (streamgoogle.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns(stream google.api.HttpBody); } Use of this type only changes how therequest and response bodies are handled, all other features will continue towork unchanged.
func (HttpBody)MarshalJSON¶
typeInstance¶
type Instance struct {// Build: Output only. Build info of the Instance if it's in `ACTIVE` state.Build *Build `json:"build,omitempty"`// Config: Required. Config of the Instance.Config *Config `json:"config,omitempty"`// CreateTime: Output only. Creation timestamp.CreateTimestring `json:"createTime,omitempty"`// Name: Format: `projects/*/locations/*/instance`. Currently only// `locations/global` is supported.Namestring `json:"name,omitempty"`// State: Output only. The current state of the Instance.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value is used if the state// is omitted.// "INACTIVE" - The Instance has not been initialized or has been deleted.// "CREATING" - The Instance is being created.// "ACTIVE" - The Instance has been created and is ready for use.// "UPDATING" - The Instance is being updated.// "DELETING" - The Instance is being deleted.// "FAILED" - The Instance encountered an error during a state change.Statestring `json:"state,omitempty"`// StateMessage: Output only. Extra information of Instance.State if the state// is `FAILED`.StateMessagestring `json:"stateMessage,omitempty"`// UpdateTime: Output only. Last update timestamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Build") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Build") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Instance: An Instance represents the instance resources of the Registry.Currently, only one instance is allowed for each project.
func (Instance)MarshalJSON¶
typeListApiDeploymentRevisionsResponse¶
type ListApiDeploymentRevisionsResponse struct {// ApiDeployments: The revisions of the deployment.ApiDeployments []*ApiDeployment `json:"apiDeployments,omitempty"`// NextPageToken: A token that can be sent as `page_token` to retrieve the next// page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ApiDeployments") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiDeployments") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListApiDeploymentRevisionsResponse: Response message forListApiDeploymentRevisionsResponse.
func (ListApiDeploymentRevisionsResponse)MarshalJSON¶
func (sListApiDeploymentRevisionsResponse) MarshalJSON() ([]byte,error)
typeListApiDeploymentsResponse¶
type ListApiDeploymentsResponse struct {// ApiDeployments: The deployments from the specified publisher.ApiDeployments []*ApiDeployment `json:"apiDeployments,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ApiDeployments") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiDeployments") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListApiDeploymentsResponse: Response message for ListApiDeployments.
func (ListApiDeploymentsResponse)MarshalJSON¶
func (sListApiDeploymentsResponse) MarshalJSON() ([]byte,error)
typeListApiSpecRevisionsResponse¶
type ListApiSpecRevisionsResponse struct {// ApiSpecs: The revisions of the spec.ApiSpecs []*ApiSpec `json:"apiSpecs,omitempty"`// NextPageToken: A token that can be sent as `page_token` to retrieve the next// page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ApiSpecs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiSpecs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListApiSpecRevisionsResponse: Response message forListApiSpecRevisionsResponse.
func (ListApiSpecRevisionsResponse)MarshalJSON¶
func (sListApiSpecRevisionsResponse) MarshalJSON() ([]byte,error)
typeListApiSpecsResponse¶
type ListApiSpecsResponse struct {// ApiSpecs: The specs from the specified publisher.ApiSpecs []*ApiSpec `json:"apiSpecs,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ApiSpecs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiSpecs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListApiSpecsResponse: Response message for ListApiSpecs.
func (ListApiSpecsResponse)MarshalJSON¶
func (sListApiSpecsResponse) MarshalJSON() ([]byte,error)
typeListApiVersionsResponse¶
type ListApiVersionsResponse struct {// ApiVersions: The versions from the specified publisher.ApiVersions []*ApiVersion `json:"apiVersions,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ApiVersions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListApiVersionsResponse: Response message for ListApiVersions.
func (ListApiVersionsResponse)MarshalJSON¶
func (sListApiVersionsResponse) MarshalJSON() ([]byte,error)
typeListApisResponse¶
type ListApisResponse struct {// Apis: The APIs from the specified publisher.Apis []*Api `json:"apis,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Apis") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Apis") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListApisResponse: Response message for ListApis.
func (ListApisResponse)MarshalJSON¶
func (sListApisResponse) MarshalJSON() ([]byte,error)
typeListArtifactsResponse¶
type ListArtifactsResponse struct {// Artifacts: The artifacts from the specified publisher.Artifacts []*Artifact `json:"artifacts,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Artifacts") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Artifacts") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListArtifactsResponse: Response message for ListArtifacts.
func (ListArtifactsResponse)MarshalJSON¶
func (sListArtifactsResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeOperation¶
type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶
type OperationMetadata struct {// ApiVersion: API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CancellationRequested: Identifies whether the user has requested// cancellation of the operation. Operations that have successfully been// cancelled have Operation.error value with a google.rpc.Status.code of 1,// corresponding to `Code.CANCELLED`.CancellationRequestedbool `json:"cancellationRequested,omitempty"`// CreateTime: The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// StatusMessage: Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Server-defined resource path for the target of the operation.Targetstring `json:"target,omitempty"`// Verb: Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationMetadata: Represents the metadata of the long-running operation.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typePolicy¶
type Policy struct {// Bindings: Associates a list of `members`, or principals, with a `role`.// Optionally, may specify a `condition` that determines how and when the// `bindings` are applied. Each of the `bindings` must contain at least one// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals;// up to 250 of these principals can be Google groups. Each occurrence of a// principal counts towards these limits. For example, if the `bindings` grant// 50 different roles to `user:alice@example.com`, and not to any other// principal, then you can add another 1,450 principals to the `bindings` in// the `Policy`.Bindings []*Binding `json:"bindings,omitempty"`// Etag: `etag` is used for optimistic concurrency control as a way to help// prevent simultaneous updates of a policy from overwriting each other. It is// strongly suggested that systems make use of the `etag` in the// read-modify-write cycle to perform policy updates in order to avoid race// conditions: An `etag` is returned in the response to `getIamPolicy`, and// systems are expected to put that etag in the request to `setIamPolicy` to// ensure that their change will be applied to the same version of the policy.// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost.Etagstring `json:"etag,omitempty"`// Version: Specifies the format of the policy. Valid values are `0`, `1`, and// `3`. Requests that specify an invalid value are rejected. Any operation that// affects conditional role bindings must specify version `3`. This requirement// applies to the following operations: * Getting a policy that includes a// conditional role binding * Adding a conditional role binding to a policy *// Changing a conditional role binding in a policy * Removing any role binding,// with or without a condition, from a policy that includes conditions// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost. If a policy does not// include any conditions, operations on that policy may specify any valid// version or leave the field unset. To learn which resources support// conditions in their IAM policies, see the IAM documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Versionint64 `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Bindings") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Bindings") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Policy: An Identity and Access Management (IAM) policy, which specifiesaccess controls for Google Cloud resources. A `Policy` is a collection of`bindings`. A `binding` binds one or more `members`, or principals, to asingle `role`. Principals can be user accounts, service accounts, Googlegroups, and domains (such as G Suite). A `role` is a named list ofpermissions; each `role` can be an IAM predefined role or a user-createdcustom role. For some types of Google Cloud resources, a `binding` can alsospecify a `condition`, which is a logical expression that allows access to aresource only if the expression evaluates to `true`. A condition can addconstraints based on attributes of the request, the resource, or both. Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies). **JSONexample:** ``` { "bindings": [ { "role":"roles/resourcemanager.organizationAdmin", "members": ["user:mike@example.com", "group:admins@example.com", "domain:google.com","serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role":"roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com" ], "condition": { "title": "expirable access","description": "Does not grant access after Sep 2020", "expression":"request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag":"BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: -members: - user:mike@example.com - group:admins@example.com -domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.comrole: roles/resourcemanager.organizationAdmin - members: -user:eve@example.com role: roles/resourcemanager.organizationViewercondition: title: expirable access description: Does not grant access afterSep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z')etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features,see the IAM documentation (https://cloud.google.com/iam/docs/).
func (Policy)MarshalJSON¶
typeProjectsLocationsApisArtifactsCreateCall¶
type ProjectsLocationsApisArtifactsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsCreateCall)ArtifactId¶
func (c *ProjectsLocationsApisArtifactsCreateCall) ArtifactId(artifactIdstring) *ProjectsLocationsApisArtifactsCreateCall
ArtifactId sets the optional parameter "artifactId": Required. The ID to usefor the artifact, which will become the final component of the artifact'sresource name. This value should be 4-63 characters, and valid charactersare /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsApisArtifactsCreateCall)Context¶
func (c *ProjectsLocationsApisArtifactsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsCreateCall)Do¶
func (c *ProjectsLocationsApisArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.create" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisArtifactsCreateCall)Fields¶
func (c *ProjectsLocationsApisArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsCreateCall)Header¶
func (c *ProjectsLocationsApisArtifactsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisArtifactsDeleteCall¶
type ProjectsLocationsApisArtifactsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsDeleteCall)Context¶
func (c *ProjectsLocationsApisArtifactsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsDeleteCall)Do¶
func (c *ProjectsLocationsApisArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.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 (*ProjectsLocationsApisArtifactsDeleteCall)Fields¶
func (c *ProjectsLocationsApisArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsDeleteCall)Header¶
func (c *ProjectsLocationsApisArtifactsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisArtifactsGetCall¶
type ProjectsLocationsApisArtifactsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsGetCall)Context¶
func (c *ProjectsLocationsApisArtifactsGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsGetCall)Do¶
func (c *ProjectsLocationsApisArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.get" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisArtifactsGetCall)Fields¶
func (c *ProjectsLocationsApisArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsGetCall)Header¶
func (c *ProjectsLocationsApisArtifactsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisArtifactsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisArtifactsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisArtifactsGetCall
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.
typeProjectsLocationsApisArtifactsGetContentsCall¶
type ProjectsLocationsApisArtifactsGetContentsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsGetContentsCall)Context¶
func (c *ProjectsLocationsApisArtifactsGetContentsCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsGetContentsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsGetContentsCall)Do¶
func (c *ProjectsLocationsApisArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.getContents" call.Any non-2xx status code is an error. Response headers are in either*HttpBody.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 (*ProjectsLocationsApisArtifactsGetContentsCall)Fields¶
func (c *ProjectsLocationsApisArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsGetContentsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsGetContentsCall)Header¶
func (c *ProjectsLocationsApisArtifactsGetContentsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisArtifactsGetContentsCall)IfNoneMatch¶
func (c *ProjectsLocationsApisArtifactsGetContentsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisArtifactsGetContentsCall
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.
typeProjectsLocationsApisArtifactsGetIamPolicyCall¶
type ProjectsLocationsApisArtifactsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisArtifactsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisArtifactsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisArtifactsGetIamPolicyCall
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 (*ProjectsLocationsApisArtifactsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsApisArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApisArtifactsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsApisArtifactsListCall¶
type ProjectsLocationsApisArtifactsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsListCall)Context¶
func (c *ProjectsLocationsApisArtifactsListCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsListCall)Do¶
func (c *ProjectsLocationsApisArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.list" call.Any non-2xx status code is an error. Response headers are in either*ListArtifactsResponse.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 (*ProjectsLocationsApisArtifactsListCall)Fields¶
func (c *ProjectsLocationsApisArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsListCall)Filter¶
func (c *ProjectsLocationsApisArtifactsListCall) Filter(filterstring) *ProjectsLocationsApisArtifactsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields except contents.
func (*ProjectsLocationsApisArtifactsListCall)Header¶
func (c *ProjectsLocationsApisArtifactsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisArtifactsListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisArtifactsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisArtifactsListCall
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 (*ProjectsLocationsApisArtifactsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisArtifactsListCall) OrderBy(orderBystring) *ProjectsLocationsApisArtifactsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisArtifactsListCall)PageSize¶
func (c *ProjectsLocationsApisArtifactsListCall) PageSize(pageSizeint64) *ProjectsLocationsApisArtifactsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofartifacts to return. The service may return fewer than this value. Ifunspecified, at most 50 values will be returned. The maximum is 1000; valuesabove 1000 will be coerced to 1000.
func (*ProjectsLocationsApisArtifactsListCall)PageToken¶
func (c *ProjectsLocationsApisArtifactsListCall) PageToken(pageTokenstring) *ProjectsLocationsApisArtifactsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListArtifacts` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListArtifacts` must match the call that provided the page token.
func (*ProjectsLocationsApisArtifactsListCall)Pages¶
func (c *ProjectsLocationsApisArtifactsListCall) Pages(ctxcontext.Context, f func(*ListArtifactsResponse)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.
typeProjectsLocationsApisArtifactsReplaceArtifactCall¶
type ProjectsLocationsApisArtifactsReplaceArtifactCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsReplaceArtifactCall)Context¶
func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsReplaceArtifactCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsReplaceArtifactCall)Do¶
func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.replaceArtifact" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisArtifactsReplaceArtifactCall)Fields¶
func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsReplaceArtifactCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsReplaceArtifactCall)Header¶
func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisArtifactsService¶
type ProjectsLocationsApisArtifactsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsApisArtifactsService¶
func NewProjectsLocationsApisArtifactsService(s *Service) *ProjectsLocationsApisArtifactsService
func (*ProjectsLocationsApisArtifactsService)Create¶
func (r *ProjectsLocationsApisArtifactsService) Create(parentstring, artifact *Artifact) *ProjectsLocationsApisArtifactsCreateCall
Create: Creates a specified artifact.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisArtifactsService)Delete¶
func (r *ProjectsLocationsApisArtifactsService) Delete(namestring) *ProjectsLocationsApisArtifactsDeleteCall
Delete: Removes a specified artifact.
- name: The name of the artifact to delete. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisArtifactsService)Get¶
func (r *ProjectsLocationsApisArtifactsService) Get(namestring) *ProjectsLocationsApisArtifactsGetCall
Get: Returns a specified artifact.
- name: The name of the artifact to retrieve. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisArtifactsService)GetContents¶
func (r *ProjectsLocationsApisArtifactsService) GetContents(namestring) *ProjectsLocationsApisArtifactsGetContentsCall
GetContents: Returns the contents of a specified artifact. If artifacts arestored with GZip compression, the default behavior is to return the artifactuncompressed (the mime_type response field indicates the exact formatreturned).
- name: The name of the artifact whose contents should be retrieved. Format:`{parent}/artifacts/*`.
func (*ProjectsLocationsApisArtifactsService)GetIamPolicy¶
func (r *ProjectsLocationsApisArtifactsService) GetIamPolicy(resourcestring) *ProjectsLocationsApisArtifactsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisArtifactsService)List¶
func (r *ProjectsLocationsApisArtifactsService) List(parentstring) *ProjectsLocationsApisArtifactsListCall
List: Returns matching artifacts.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisArtifactsService)ReplaceArtifact¶
func (r *ProjectsLocationsApisArtifactsService) ReplaceArtifact(namestring, artifact *Artifact) *ProjectsLocationsApisArtifactsReplaceArtifactCall
ReplaceArtifact: Used to replace a specified artifact.
- name: Resource name.
func (*ProjectsLocationsApisArtifactsService)SetIamPolicy¶
func (r *ProjectsLocationsApisArtifactsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisArtifactsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisArtifactsService)TestIamPermissions¶
func (r *ProjectsLocationsApisArtifactsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisArtifactsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsApisArtifactsSetIamPolicyCall¶
type ProjectsLocationsApisArtifactsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisArtifactsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisArtifactsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisArtifactsTestIamPermissionsCall¶
type ProjectsLocationsApisArtifactsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisArtifactsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisArtifactsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisArtifactsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.artifacts.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsApisArtifactsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisArtifactsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisArtifactsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsApisArtifactsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisCreateCall¶
type ProjectsLocationsApisCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisCreateCall)ApiId¶
func (c *ProjectsLocationsApisCreateCall) ApiId(apiIdstring) *ProjectsLocationsApisCreateCall
ApiId sets the optional parameter "apiId": Required. The ID to use for theAPI, which will become the final component of the API's resource name. Thisvalue should be 4-63 characters, and valid characters are /a-z-/. FollowingAIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsApisCreateCall)Context¶
func (c *ProjectsLocationsApisCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisCreateCall)Do¶
func (c *ProjectsLocationsApisCreateCall) Do(opts ...googleapi.CallOption) (*Api,error)
Do executes the "apigeeregistry.projects.locations.apis.create" call.Any non-2xx status code is an error. Response headers are in either*Api.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 (*ProjectsLocationsApisCreateCall)Fields¶
func (c *ProjectsLocationsApisCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisCreateCall)Header¶
func (c *ProjectsLocationsApisCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeleteCall¶
type ProjectsLocationsApisDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeleteCall)Context¶
func (c *ProjectsLocationsApisDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeleteCall)Do¶
func (c *ProjectsLocationsApisDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.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 (*ProjectsLocationsApisDeleteCall)Fields¶
func (c *ProjectsLocationsApisDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeleteCall)Force¶added inv0.88.0
func (c *ProjectsLocationsApisDeleteCall) Force(forcebool) *ProjectsLocationsApisDeleteCall
Force sets the optional parameter "force": If set to true, any childresources will also be deleted. (Otherwise, the request will only work ifthere are no child resources.)
func (*ProjectsLocationsApisDeleteCall)Header¶
func (c *ProjectsLocationsApisDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsArtifactsCreateCall¶
type ProjectsLocationsApisDeploymentsArtifactsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsArtifactsCreateCall)ArtifactId¶
func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) ArtifactId(artifactIdstring) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
ArtifactId sets the optional parameter "artifactId": Required. The ID to usefor the artifact, which will become the final component of the artifact'sresource name. This value should be 4-63 characters, and valid charactersare /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsApisDeploymentsArtifactsCreateCall)Context¶
func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsArtifactsCreateCall)Do¶
func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.artifacts.create" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisDeploymentsArtifactsCreateCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsArtifactsCreateCall)Header¶
func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsArtifactsDeleteCall¶
type ProjectsLocationsApisDeploymentsArtifactsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsArtifactsDeleteCall)Context¶
func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsArtifactsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsArtifactsDeleteCall)Do¶
func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.artifacts.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 (*ProjectsLocationsApisDeploymentsArtifactsDeleteCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsArtifactsDeleteCall)Header¶
func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsArtifactsGetCall¶
type ProjectsLocationsApisDeploymentsArtifactsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsArtifactsGetCall)Context¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsArtifactsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsArtifactsGetCall)Do¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.artifacts.get" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisDeploymentsArtifactsGetCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsArtifactsGetCall)Header¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsArtifactsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisDeploymentsArtifactsGetCall
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.
typeProjectsLocationsApisDeploymentsArtifactsGetContentsCall¶
type ProjectsLocationsApisDeploymentsArtifactsGetContentsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsArtifactsGetContentsCall)Context¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsArtifactsGetContentsCall)Do¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.artifacts.getContents" call.Any non-2xx status code is an error. Response headers are in either*HttpBody.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 (*ProjectsLocationsApisDeploymentsArtifactsGetContentsCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsArtifactsGetContentsCall)Header¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsArtifactsGetContentsCall)IfNoneMatch¶
func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
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.
typeProjectsLocationsApisDeploymentsArtifactsListCall¶
type ProjectsLocationsApisDeploymentsArtifactsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsArtifactsListCall)Context¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsArtifactsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsArtifactsListCall)Do¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.artifacts.list" call.Any non-2xx status code is an error. Response headers are in either*ListArtifactsResponse.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 (*ProjectsLocationsApisDeploymentsArtifactsListCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsArtifactsListCall)Filter¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Filter(filterstring) *ProjectsLocationsApisDeploymentsArtifactsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields except contents.
func (*ProjectsLocationsApisDeploymentsArtifactsListCall)Header¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsArtifactsListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisDeploymentsArtifactsListCall
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 (*ProjectsLocationsApisDeploymentsArtifactsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) OrderBy(orderBystring) *ProjectsLocationsApisDeploymentsArtifactsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisDeploymentsArtifactsListCall)PageSize¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) PageSize(pageSizeint64) *ProjectsLocationsApisDeploymentsArtifactsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofartifacts to return. The service may return fewer than this value. Ifunspecified, at most 50 values will be returned. The maximum is 1000; valuesabove 1000 will be coerced to 1000.
func (*ProjectsLocationsApisDeploymentsArtifactsListCall)PageToken¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) PageToken(pageTokenstring) *ProjectsLocationsApisDeploymentsArtifactsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListArtifacts` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListArtifacts` must match the call that provided the page token.
func (*ProjectsLocationsApisDeploymentsArtifactsListCall)Pages¶
func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Pages(ctxcontext.Context, f func(*ListArtifactsResponse)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.
typeProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall¶
type ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall)Context¶
func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall)Do¶
func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.artifacts.replaceArtifact" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall)Header¶
func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsArtifactsService¶
type ProjectsLocationsApisDeploymentsArtifactsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsApisDeploymentsArtifactsService¶
func NewProjectsLocationsApisDeploymentsArtifactsService(s *Service) *ProjectsLocationsApisDeploymentsArtifactsService
func (*ProjectsLocationsApisDeploymentsArtifactsService)Create¶
func (r *ProjectsLocationsApisDeploymentsArtifactsService) Create(parentstring, artifact *Artifact) *ProjectsLocationsApisDeploymentsArtifactsCreateCall
Create: Creates a specified artifact.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisDeploymentsArtifactsService)Delete¶
func (r *ProjectsLocationsApisDeploymentsArtifactsService) Delete(namestring) *ProjectsLocationsApisDeploymentsArtifactsDeleteCall
Delete: Removes a specified artifact.
- name: The name of the artifact to delete. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisDeploymentsArtifactsService)Get¶
func (r *ProjectsLocationsApisDeploymentsArtifactsService) Get(namestring) *ProjectsLocationsApisDeploymentsArtifactsGetCall
Get: Returns a specified artifact.
- name: The name of the artifact to retrieve. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisDeploymentsArtifactsService)GetContents¶
func (r *ProjectsLocationsApisDeploymentsArtifactsService) GetContents(namestring) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall
GetContents: Returns the contents of a specified artifact. If artifacts arestored with GZip compression, the default behavior is to return the artifactuncompressed (the mime_type response field indicates the exact formatreturned).
- name: The name of the artifact whose contents should be retrieved. Format:`{parent}/artifacts/*`.
func (*ProjectsLocationsApisDeploymentsArtifactsService)List¶
func (r *ProjectsLocationsApisDeploymentsArtifactsService) List(parentstring) *ProjectsLocationsApisDeploymentsArtifactsListCall
List: Returns matching artifacts.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisDeploymentsArtifactsService)ReplaceArtifact¶
func (r *ProjectsLocationsApisDeploymentsArtifactsService) ReplaceArtifact(namestring, artifact *Artifact) *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall
ReplaceArtifact: Used to replace a specified artifact.
- name: Resource name.
typeProjectsLocationsApisDeploymentsCreateCall¶
type ProjectsLocationsApisDeploymentsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsCreateCall)ApiDeploymentId¶
func (c *ProjectsLocationsApisDeploymentsCreateCall) ApiDeploymentId(apiDeploymentIdstring) *ProjectsLocationsApisDeploymentsCreateCall
ApiDeploymentId sets the optional parameter "apiDeploymentId": Required. TheID to use for the deployment, which will become the final component of thedeployment's resource name. This value should be 4-63 characters, and validcharacters are /a-z-/. Following AIP-162, IDs must not have the form of aUUID.
func (*ProjectsLocationsApisDeploymentsCreateCall)Context¶
func (c *ProjectsLocationsApisDeploymentsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsCreateCall)Do¶
func (c *ProjectsLocationsApisDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*ApiDeployment,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.create" call.Any non-2xx status code is an error. Response headers are in either*ApiDeployment.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 (*ProjectsLocationsApisDeploymentsCreateCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsCreateCall)Header¶
func (c *ProjectsLocationsApisDeploymentsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsDeleteCall¶
type ProjectsLocationsApisDeploymentsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsDeleteCall)Context¶
func (c *ProjectsLocationsApisDeploymentsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsDeleteCall)Do¶
func (c *ProjectsLocationsApisDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.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 (*ProjectsLocationsApisDeploymentsDeleteCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsDeleteCall)Force¶
func (c *ProjectsLocationsApisDeploymentsDeleteCall) Force(forcebool) *ProjectsLocationsApisDeploymentsDeleteCall
Force sets the optional parameter "force": If set to true, any childresources will also be deleted. (Otherwise, the request will only work ifthere are no child resources.)
func (*ProjectsLocationsApisDeploymentsDeleteCall)Header¶
func (c *ProjectsLocationsApisDeploymentsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsDeleteRevisionCall¶
type ProjectsLocationsApisDeploymentsDeleteRevisionCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsDeleteRevisionCall)Context¶
func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsDeleteRevisionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsDeleteRevisionCall)Do¶
func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Do(opts ...googleapi.CallOption) (*ApiDeployment,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.deleteRevision" call.Any non-2xx status code is an error. Response headers are in either*ApiDeployment.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 (*ProjectsLocationsApisDeploymentsDeleteRevisionCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsDeleteRevisionCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsDeleteRevisionCall)Header¶
func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsGetCall¶
type ProjectsLocationsApisDeploymentsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsGetCall)Context¶
func (c *ProjectsLocationsApisDeploymentsGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsGetCall)Do¶
func (c *ProjectsLocationsApisDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*ApiDeployment,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.get" call.Any non-2xx status code is an error. Response headers are in either*ApiDeployment.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 (*ProjectsLocationsApisDeploymentsGetCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsGetCall)Header¶
func (c *ProjectsLocationsApisDeploymentsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisDeploymentsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisDeploymentsGetCall
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.
typeProjectsLocationsApisDeploymentsGetIamPolicyCall¶
type ProjectsLocationsApisDeploymentsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisDeploymentsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
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 (*ProjectsLocationsApisDeploymentsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsApisDeploymentsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsApisDeploymentsListCall¶
type ProjectsLocationsApisDeploymentsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsListCall)Context¶
func (c *ProjectsLocationsApisDeploymentsListCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsListCall)Do¶
func (c *ProjectsLocationsApisDeploymentsListCall) Do(opts ...googleapi.CallOption) (*ListApiDeploymentsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.list" call.Any non-2xx status code is an error. Response headers are in either*ListApiDeploymentsResponse.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 (*ProjectsLocationsApisDeploymentsListCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsListCall)Filter¶
func (c *ProjectsLocationsApisDeploymentsListCall) Filter(filterstring) *ProjectsLocationsApisDeploymentsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields.
func (*ProjectsLocationsApisDeploymentsListCall)Header¶
func (c *ProjectsLocationsApisDeploymentsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisDeploymentsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisDeploymentsListCall
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 (*ProjectsLocationsApisDeploymentsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisDeploymentsListCall) OrderBy(orderBystring) *ProjectsLocationsApisDeploymentsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisDeploymentsListCall)PageSize¶
func (c *ProjectsLocationsApisDeploymentsListCall) PageSize(pageSizeint64) *ProjectsLocationsApisDeploymentsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofdeployments to return. The service may return fewer than this value. Ifunspecified, at most 50 values will be returned. The maximum is 1000; valuesabove 1000 will be coerced to 1000.
func (*ProjectsLocationsApisDeploymentsListCall)PageToken¶
func (c *ProjectsLocationsApisDeploymentsListCall) PageToken(pageTokenstring) *ProjectsLocationsApisDeploymentsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListApiDeployments` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListApiDeployments` must match the call that provided the page token.
func (*ProjectsLocationsApisDeploymentsListCall)Pages¶
func (c *ProjectsLocationsApisDeploymentsListCall) Pages(ctxcontext.Context, f func(*ListApiDeploymentsResponse)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.
typeProjectsLocationsApisDeploymentsListRevisionsCall¶
type ProjectsLocationsApisDeploymentsListRevisionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsListRevisionsCall)Context¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsListRevisionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsListRevisionsCall)Do¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Do(opts ...googleapi.CallOption) (*ListApiDeploymentRevisionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.listRevisions" call.Any non-2xx status code is an error. Response headers are in either*ListApiDeploymentRevisionsResponse.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 (*ProjectsLocationsApisDeploymentsListRevisionsCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsListRevisionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsListRevisionsCall)Filter¶added inv0.109.0
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Filter(filterstring) *ProjectsLocationsApisDeploymentsListRevisionsCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields.
func (*ProjectsLocationsApisDeploymentsListRevisionsCall)Header¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsListRevisionsCall)IfNoneMatch¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisDeploymentsListRevisionsCall
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 (*ProjectsLocationsApisDeploymentsListRevisionsCall)PageSize¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) PageSize(pageSizeint64) *ProjectsLocationsApisDeploymentsListRevisionsCall
PageSize sets the optional parameter "pageSize": The maximum number ofrevisions to return per page.
func (*ProjectsLocationsApisDeploymentsListRevisionsCall)PageToken¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) PageToken(pageTokenstring) *ProjectsLocationsApisDeploymentsListRevisionsCall
PageToken sets the optional parameter "pageToken": The page token, receivedfrom a previous ListApiDeploymentRevisions call. Provide this to retrievethe subsequent page.
func (*ProjectsLocationsApisDeploymentsListRevisionsCall)Pages¶
func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Pages(ctxcontext.Context, f func(*ListApiDeploymentRevisionsResponse)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.
typeProjectsLocationsApisDeploymentsPatchCall¶
type ProjectsLocationsApisDeploymentsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsPatchCall)AllowMissing¶
func (c *ProjectsLocationsApisDeploymentsPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsApisDeploymentsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe deployment is not found, a new deployment will be created. In thissituation, `update_mask` is ignored.
func (*ProjectsLocationsApisDeploymentsPatchCall)Context¶
func (c *ProjectsLocationsApisDeploymentsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsPatchCall)Do¶
func (c *ProjectsLocationsApisDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*ApiDeployment,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.patch" call.Any non-2xx status code is an error. Response headers are in either*ApiDeployment.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 (*ProjectsLocationsApisDeploymentsPatchCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsPatchCall)Header¶
func (c *ProjectsLocationsApisDeploymentsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisDeploymentsPatchCall)UpdateMask¶
func (c *ProjectsLocationsApisDeploymentsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsApisDeploymentsPatchCall
UpdateMask sets the optional parameter "updateMask": The list of fields tobe updated. If omitted, all fields are updated that are set in the requestmessage (fields set to default values are ignored). If an asterisk "*" isspecified, all fields are updated, including fields that areunspecified/default in the request.
typeProjectsLocationsApisDeploymentsRollbackCall¶
type ProjectsLocationsApisDeploymentsRollbackCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsRollbackCall)Context¶
func (c *ProjectsLocationsApisDeploymentsRollbackCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsRollbackCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsRollbackCall)Do¶
func (c *ProjectsLocationsApisDeploymentsRollbackCall) Do(opts ...googleapi.CallOption) (*ApiDeployment,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.rollback" call.Any non-2xx status code is an error. Response headers are in either*ApiDeployment.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 (*ProjectsLocationsApisDeploymentsRollbackCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsRollbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsRollbackCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsRollbackCall)Header¶
func (c *ProjectsLocationsApisDeploymentsRollbackCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsService¶
type ProjectsLocationsApisDeploymentsService struct {Artifacts *ProjectsLocationsApisDeploymentsArtifactsService// contains filtered or unexported fields}funcNewProjectsLocationsApisDeploymentsService¶
func NewProjectsLocationsApisDeploymentsService(s *Service) *ProjectsLocationsApisDeploymentsService
func (*ProjectsLocationsApisDeploymentsService)Create¶
func (r *ProjectsLocationsApisDeploymentsService) Create(parentstring, apideployment *ApiDeployment) *ProjectsLocationsApisDeploymentsCreateCall
Create: Creates a specified deployment.
- parent: The parent, which owns this collection of deployments. Format:`projects/*/locations/*/apis/*`.
func (*ProjectsLocationsApisDeploymentsService)Delete¶
func (r *ProjectsLocationsApisDeploymentsService) Delete(namestring) *ProjectsLocationsApisDeploymentsDeleteCall
Delete: Removes a specified deployment, all revisions, and all childresources (e.g., artifacts).
- name: The name of the deployment to delete. Format:`projects/*/locations/*/apis/*/deployments/*`.
func (*ProjectsLocationsApisDeploymentsService)DeleteRevision¶
func (r *ProjectsLocationsApisDeploymentsService) DeleteRevision(namestring) *ProjectsLocationsApisDeploymentsDeleteRevisionCall
DeleteRevision: Deletes a revision of a deployment.
- name: The name of the deployment revision to be deleted, with a revisionID explicitly included. Example:`projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`.
func (*ProjectsLocationsApisDeploymentsService)Get¶
func (r *ProjectsLocationsApisDeploymentsService) Get(namestring) *ProjectsLocationsApisDeploymentsGetCall
Get: Returns a specified deployment.
- name: The name of the deployment to retrieve. Format:`projects/*/locations/*/apis/*/deployments/*`.
func (*ProjectsLocationsApisDeploymentsService)GetIamPolicy¶
func (r *ProjectsLocationsApisDeploymentsService) GetIamPolicy(resourcestring) *ProjectsLocationsApisDeploymentsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisDeploymentsService)List¶
func (r *ProjectsLocationsApisDeploymentsService) List(parentstring) *ProjectsLocationsApisDeploymentsListCall
List: Returns matching deployments.
- parent: The parent, which owns this collection of deployments. Format:`projects/*/locations/*/apis/*`.
func (*ProjectsLocationsApisDeploymentsService)ListRevisions¶
func (r *ProjectsLocationsApisDeploymentsService) ListRevisions(namestring) *ProjectsLocationsApisDeploymentsListRevisionsCall
ListRevisions: Lists all revisions of a deployment. Revisions are returnedin descending order of revision creation time.
- name: The name of the deployment to list revisions for.
func (*ProjectsLocationsApisDeploymentsService)Patch¶
func (r *ProjectsLocationsApisDeploymentsService) Patch(namestring, apideployment *ApiDeployment) *ProjectsLocationsApisDeploymentsPatchCall
Patch: Used to modify a specified deployment.
- name: Resource name.
func (*ProjectsLocationsApisDeploymentsService)Rollback¶
func (r *ProjectsLocationsApisDeploymentsService) Rollback(namestring, rollbackapideploymentrequest *RollbackApiDeploymentRequest) *ProjectsLocationsApisDeploymentsRollbackCall
Rollback: Sets the current revision to a specified prior revision. Note thatthis creates a new revision with a new revision ID.
- name: The deployment being rolled back.
func (*ProjectsLocationsApisDeploymentsService)SetIamPolicy¶
func (r *ProjectsLocationsApisDeploymentsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisDeploymentsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisDeploymentsService)TagRevision¶
func (r *ProjectsLocationsApisDeploymentsService) TagRevision(namestring, tagapideploymentrevisionrequest *TagApiDeploymentRevisionRequest) *ProjectsLocationsApisDeploymentsTagRevisionCall
TagRevision: Adds a tag to a specified revision of a deployment.
- name: The name of the deployment to be tagged, including the revision IDis optional. If a revision is not specified, it will tag the latestrevision.
func (*ProjectsLocationsApisDeploymentsService)TestIamPermissions¶
func (r *ProjectsLocationsApisDeploymentsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisDeploymentsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsApisDeploymentsSetIamPolicyCall¶
type ProjectsLocationsApisDeploymentsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisDeploymentsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisDeploymentsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsTagRevisionCall¶
type ProjectsLocationsApisDeploymentsTagRevisionCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsTagRevisionCall)Context¶
func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsTagRevisionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsTagRevisionCall)Do¶
func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Do(opts ...googleapi.CallOption) (*ApiDeployment,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.tagRevision" call.Any non-2xx status code is an error. Response headers are in either*ApiDeployment.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 (*ProjectsLocationsApisDeploymentsTagRevisionCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsTagRevisionCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsTagRevisionCall)Header¶
func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisDeploymentsTestIamPermissionsCall¶
type ProjectsLocationsApisDeploymentsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisDeploymentsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisDeploymentsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisDeploymentsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.deployments.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsApisDeploymentsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeploymentsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisDeploymentsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsApisDeploymentsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisGetCall¶
type ProjectsLocationsApisGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisGetCall)Context¶
func (c *ProjectsLocationsApisGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisGetCall)Do¶
func (c *ProjectsLocationsApisGetCall) Do(opts ...googleapi.CallOption) (*Api,error)
Do executes the "apigeeregistry.projects.locations.apis.get" call.Any non-2xx status code is an error. Response headers are in either*Api.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 (*ProjectsLocationsApisGetCall)Fields¶
func (c *ProjectsLocationsApisGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisGetCall)Header¶
func (c *ProjectsLocationsApisGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisGetCall
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.
typeProjectsLocationsApisGetIamPolicyCall¶
type ProjectsLocationsApisGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisGetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisGetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisGetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsApisGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisGetIamPolicyCall
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 (*ProjectsLocationsApisGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsApisGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApisGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsApisListCall¶
type ProjectsLocationsApisListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisListCall)Context¶
func (c *ProjectsLocationsApisListCall) Context(ctxcontext.Context) *ProjectsLocationsApisListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisListCall)Do¶
func (c *ProjectsLocationsApisListCall) Do(opts ...googleapi.CallOption) (*ListApisResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.list" call.Any non-2xx status code is an error. Response headers are in either*ListApisResponse.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 (*ProjectsLocationsApisListCall)Fields¶
func (c *ProjectsLocationsApisListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisListCall)Filter¶
func (c *ProjectsLocationsApisListCall) Filter(filterstring) *ProjectsLocationsApisListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields.
func (*ProjectsLocationsApisListCall)Header¶
func (c *ProjectsLocationsApisListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisListCall
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 (*ProjectsLocationsApisListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisListCall) OrderBy(orderBystring) *ProjectsLocationsApisListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisListCall)PageSize¶
func (c *ProjectsLocationsApisListCall) PageSize(pageSizeint64) *ProjectsLocationsApisListCall
PageSize sets the optional parameter "pageSize": The maximum number of APIsto return. The service may return fewer than this value. If unspecified, atmost 50 values will be returned. The maximum is 1000; values above 1000 willbe coerced to 1000.
func (*ProjectsLocationsApisListCall)PageToken¶
func (c *ProjectsLocationsApisListCall) PageToken(pageTokenstring) *ProjectsLocationsApisListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListApis` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListApis` mustmatch the call that provided the page token.
func (*ProjectsLocationsApisListCall)Pages¶
func (c *ProjectsLocationsApisListCall) Pages(ctxcontext.Context, f func(*ListApisResponse)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.
typeProjectsLocationsApisPatchCall¶
type ProjectsLocationsApisPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisPatchCall)AllowMissing¶
func (c *ProjectsLocationsApisPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsApisPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe API is not found, a new API will be created. In this situation,`update_mask` is ignored.
func (*ProjectsLocationsApisPatchCall)Context¶
func (c *ProjectsLocationsApisPatchCall) Context(ctxcontext.Context) *ProjectsLocationsApisPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisPatchCall)Do¶
func (c *ProjectsLocationsApisPatchCall) Do(opts ...googleapi.CallOption) (*Api,error)
Do executes the "apigeeregistry.projects.locations.apis.patch" call.Any non-2xx status code is an error. Response headers are in either*Api.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 (*ProjectsLocationsApisPatchCall)Fields¶
func (c *ProjectsLocationsApisPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisPatchCall)Header¶
func (c *ProjectsLocationsApisPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisPatchCall)UpdateMask¶
func (c *ProjectsLocationsApisPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsApisPatchCall
UpdateMask sets the optional parameter "updateMask": The list of fields tobe updated. If omitted, all fields are updated that are set in the requestmessage (fields set to default values are ignored). If an asterisk "*" isspecified, all fields are updated, including fields that areunspecified/default in the request.
typeProjectsLocationsApisService¶
type ProjectsLocationsApisService struct {Artifacts *ProjectsLocationsApisArtifactsServiceDeployments *ProjectsLocationsApisDeploymentsServiceVersions *ProjectsLocationsApisVersionsService// contains filtered or unexported fields}funcNewProjectsLocationsApisService¶
func NewProjectsLocationsApisService(s *Service) *ProjectsLocationsApisService
func (*ProjectsLocationsApisService)Create¶
func (r *ProjectsLocationsApisService) Create(parentstring, api *Api) *ProjectsLocationsApisCreateCall
Create: Creates a specified API.
- parent: The parent, which owns this collection of APIs. Format:`projects/*/locations/*`.
func (*ProjectsLocationsApisService)Delete¶
func (r *ProjectsLocationsApisService) Delete(namestring) *ProjectsLocationsApisDeleteCall
Delete: Removes a specified API and all of the resources that it owns.
- name: The name of the API to delete. Format:`projects/*/locations/*/apis/*`.
func (*ProjectsLocationsApisService)Get¶
func (r *ProjectsLocationsApisService) Get(namestring) *ProjectsLocationsApisGetCall
Get: Returns a specified API.
- name: The name of the API to retrieve. Format:`projects/*/locations/*/apis/*`.
func (*ProjectsLocationsApisService)GetIamPolicy¶
func (r *ProjectsLocationsApisService) GetIamPolicy(resourcestring) *ProjectsLocationsApisGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisService)List¶
func (r *ProjectsLocationsApisService) List(parentstring) *ProjectsLocationsApisListCall
List: Returns matching APIs.
- parent: The parent, which owns this collection of APIs. Format:`projects/*/locations/*`.
func (*ProjectsLocationsApisService)Patch¶
func (r *ProjectsLocationsApisService) Patch(namestring, api *Api) *ProjectsLocationsApisPatchCall
Patch: Used to modify a specified API.
- name: Resource name.
func (*ProjectsLocationsApisService)SetIamPolicy¶
func (r *ProjectsLocationsApisService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisService)TestIamPermissions¶
func (r *ProjectsLocationsApisService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsApisSetIamPolicyCall¶
type ProjectsLocationsApisSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisSetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisSetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisSetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisTestIamPermissionsCall¶
type ProjectsLocationsApisTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsApisTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsApisTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsApisTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsApisTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsApisTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsArtifactsCreateCall¶
type ProjectsLocationsApisVersionsArtifactsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsCreateCall)ArtifactId¶
func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) ArtifactId(artifactIdstring) *ProjectsLocationsApisVersionsArtifactsCreateCall
ArtifactId sets the optional parameter "artifactId": Required. The ID to usefor the artifact, which will become the final component of the artifact'sresource name. This value should be 4-63 characters, and valid charactersare /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsApisVersionsArtifactsCreateCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsCreateCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.create" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisVersionsArtifactsCreateCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsCreateCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsArtifactsDeleteCall¶
type ProjectsLocationsApisVersionsArtifactsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsDeleteCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsDeleteCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.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 (*ProjectsLocationsApisVersionsArtifactsDeleteCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsDeleteCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsArtifactsGetCall¶
type ProjectsLocationsApisVersionsArtifactsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsGetCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsGetCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.get" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisVersionsArtifactsGetCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsGetCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsArtifactsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsArtifactsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsArtifactsGetCall
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.
typeProjectsLocationsApisVersionsArtifactsGetContentsCall¶
type ProjectsLocationsApisVersionsArtifactsGetContentsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsGetContentsCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsGetContentsCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.getContents" call.Any non-2xx status code is an error. Response headers are in either*HttpBody.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 (*ProjectsLocationsApisVersionsArtifactsGetContentsCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsGetContentsCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsArtifactsGetContentsCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
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.
typeProjectsLocationsApisVersionsArtifactsGetIamPolicyCall¶
type ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
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 (*ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsApisVersionsArtifactsListCall¶
type ProjectsLocationsApisVersionsArtifactsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsListCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsListCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.list" call.Any non-2xx status code is an error. Response headers are in either*ListArtifactsResponse.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 (*ProjectsLocationsApisVersionsArtifactsListCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsListCall)Filter¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) Filter(filterstring) *ProjectsLocationsApisVersionsArtifactsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields except contents.
func (*ProjectsLocationsApisVersionsArtifactsListCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsArtifactsListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsArtifactsListCall
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 (*ProjectsLocationsApisVersionsArtifactsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisVersionsArtifactsListCall) OrderBy(orderBystring) *ProjectsLocationsApisVersionsArtifactsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisVersionsArtifactsListCall)PageSize¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) PageSize(pageSizeint64) *ProjectsLocationsApisVersionsArtifactsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofartifacts to return. The service may return fewer than this value. Ifunspecified, at most 50 values will be returned. The maximum is 1000; valuesabove 1000 will be coerced to 1000.
func (*ProjectsLocationsApisVersionsArtifactsListCall)PageToken¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) PageToken(pageTokenstring) *ProjectsLocationsApisVersionsArtifactsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListArtifacts` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListArtifacts` must match the call that provided the page token.
func (*ProjectsLocationsApisVersionsArtifactsListCall)Pages¶
func (c *ProjectsLocationsApisVersionsArtifactsListCall) Pages(ctxcontext.Context, f func(*ListArtifactsResponse)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.
typeProjectsLocationsApisVersionsArtifactsReplaceArtifactCall¶
type ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.replaceArtifact" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsArtifactsService¶
type ProjectsLocationsApisVersionsArtifactsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsApisVersionsArtifactsService¶
func NewProjectsLocationsApisVersionsArtifactsService(s *Service) *ProjectsLocationsApisVersionsArtifactsService
func (*ProjectsLocationsApisVersionsArtifactsService)Create¶
func (r *ProjectsLocationsApisVersionsArtifactsService) Create(parentstring, artifact *Artifact) *ProjectsLocationsApisVersionsArtifactsCreateCall
Create: Creates a specified artifact.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisVersionsArtifactsService)Delete¶
func (r *ProjectsLocationsApisVersionsArtifactsService) Delete(namestring) *ProjectsLocationsApisVersionsArtifactsDeleteCall
Delete: Removes a specified artifact.
- name: The name of the artifact to delete. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisVersionsArtifactsService)Get¶
func (r *ProjectsLocationsApisVersionsArtifactsService) Get(namestring) *ProjectsLocationsApisVersionsArtifactsGetCall
Get: Returns a specified artifact.
- name: The name of the artifact to retrieve. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisVersionsArtifactsService)GetContents¶
func (r *ProjectsLocationsApisVersionsArtifactsService) GetContents(namestring) *ProjectsLocationsApisVersionsArtifactsGetContentsCall
GetContents: Returns the contents of a specified artifact. If artifacts arestored with GZip compression, the default behavior is to return the artifactuncompressed (the mime_type response field indicates the exact formatreturned).
- name: The name of the artifact whose contents should be retrieved. Format:`{parent}/artifacts/*`.
func (*ProjectsLocationsApisVersionsArtifactsService)GetIamPolicy¶
func (r *ProjectsLocationsApisVersionsArtifactsService) GetIamPolicy(resourcestring) *ProjectsLocationsApisVersionsArtifactsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsArtifactsService)List¶
func (r *ProjectsLocationsApisVersionsArtifactsService) List(parentstring) *ProjectsLocationsApisVersionsArtifactsListCall
List: Returns matching artifacts.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisVersionsArtifactsService)ReplaceArtifact¶
func (r *ProjectsLocationsApisVersionsArtifactsService) ReplaceArtifact(namestring, artifact *Artifact) *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall
ReplaceArtifact: Used to replace a specified artifact.
- name: Resource name.
func (*ProjectsLocationsApisVersionsArtifactsService)SetIamPolicy¶
func (r *ProjectsLocationsApisVersionsArtifactsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsArtifactsService)TestIamPermissions¶
func (r *ProjectsLocationsApisVersionsArtifactsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsApisVersionsArtifactsSetIamPolicyCall¶
type ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall¶
type ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.artifacts.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsApisVersionsArtifactsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsCreateCall¶
type ProjectsLocationsApisVersionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsCreateCall)ApiVersionId¶
func (c *ProjectsLocationsApisVersionsCreateCall) ApiVersionId(apiVersionIdstring) *ProjectsLocationsApisVersionsCreateCall
ApiVersionId sets the optional parameter "apiVersionId": Required. The ID touse for the version, which will become the final component of the version'sresource name. This value should be 1-63 characters, and valid charactersare /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsApisVersionsCreateCall)Context¶
func (c *ProjectsLocationsApisVersionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsCreateCall)Do¶
func (c *ProjectsLocationsApisVersionsCreateCall) Do(opts ...googleapi.CallOption) (*ApiVersion,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.create" call.Any non-2xx status code is an error. Response headers are in either*ApiVersion.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 (*ProjectsLocationsApisVersionsCreateCall)Fields¶
func (c *ProjectsLocationsApisVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsCreateCall)Header¶
func (c *ProjectsLocationsApisVersionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsDeleteCall¶
type ProjectsLocationsApisVersionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsDeleteCall)Context¶
func (c *ProjectsLocationsApisVersionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsDeleteCall)Do¶
func (c *ProjectsLocationsApisVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.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 (*ProjectsLocationsApisVersionsDeleteCall)Fields¶
func (c *ProjectsLocationsApisVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsDeleteCall)Force¶added inv0.88.0
func (c *ProjectsLocationsApisVersionsDeleteCall) Force(forcebool) *ProjectsLocationsApisVersionsDeleteCall
Force sets the optional parameter "force": If set to true, any childresources will also be deleted. (Otherwise, the request will only work ifthere are no child resources.)
func (*ProjectsLocationsApisVersionsDeleteCall)Header¶
func (c *ProjectsLocationsApisVersionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsGetCall¶
type ProjectsLocationsApisVersionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsGetCall)Context¶
func (c *ProjectsLocationsApisVersionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsGetCall)Do¶
func (c *ProjectsLocationsApisVersionsGetCall) Do(opts ...googleapi.CallOption) (*ApiVersion,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.get" call.Any non-2xx status code is an error. Response headers are in either*ApiVersion.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 (*ProjectsLocationsApisVersionsGetCall)Fields¶
func (c *ProjectsLocationsApisVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsGetCall)Header¶
func (c *ProjectsLocationsApisVersionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsGetCall
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.
typeProjectsLocationsApisVersionsGetIamPolicyCall¶
type ProjectsLocationsApisVersionsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsGetIamPolicyCall
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 (*ProjectsLocationsApisVersionsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsApisVersionsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApisVersionsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsApisVersionsListCall¶
type ProjectsLocationsApisVersionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsListCall)Context¶
func (c *ProjectsLocationsApisVersionsListCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsListCall)Do¶
func (c *ProjectsLocationsApisVersionsListCall) Do(opts ...googleapi.CallOption) (*ListApiVersionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.list" call.Any non-2xx status code is an error. Response headers are in either*ListApiVersionsResponse.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 (*ProjectsLocationsApisVersionsListCall)Fields¶
func (c *ProjectsLocationsApisVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsListCall)Filter¶
func (c *ProjectsLocationsApisVersionsListCall) Filter(filterstring) *ProjectsLocationsApisVersionsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields.
func (*ProjectsLocationsApisVersionsListCall)Header¶
func (c *ProjectsLocationsApisVersionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsListCall
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 (*ProjectsLocationsApisVersionsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisVersionsListCall) OrderBy(orderBystring) *ProjectsLocationsApisVersionsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisVersionsListCall)PageSize¶
func (c *ProjectsLocationsApisVersionsListCall) PageSize(pageSizeint64) *ProjectsLocationsApisVersionsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofversions to return. The service may return fewer than this value. Ifunspecified, at most 50 values will be returned. The maximum is 1000; valuesabove 1000 will be coerced to 1000.
func (*ProjectsLocationsApisVersionsListCall)PageToken¶
func (c *ProjectsLocationsApisVersionsListCall) PageToken(pageTokenstring) *ProjectsLocationsApisVersionsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListApiVersions` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListApiVersions` must match the call that provided the page token.
func (*ProjectsLocationsApisVersionsListCall)Pages¶
func (c *ProjectsLocationsApisVersionsListCall) Pages(ctxcontext.Context, f func(*ListApiVersionsResponse)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.
typeProjectsLocationsApisVersionsPatchCall¶
type ProjectsLocationsApisVersionsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsPatchCall)AllowMissing¶
func (c *ProjectsLocationsApisVersionsPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsApisVersionsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe version is not found, a new version will be created. In this situation,`update_mask` is ignored.
func (*ProjectsLocationsApisVersionsPatchCall)Context¶
func (c *ProjectsLocationsApisVersionsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsPatchCall)Do¶
func (c *ProjectsLocationsApisVersionsPatchCall) Do(opts ...googleapi.CallOption) (*ApiVersion,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.patch" call.Any non-2xx status code is an error. Response headers are in either*ApiVersion.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 (*ProjectsLocationsApisVersionsPatchCall)Fields¶
func (c *ProjectsLocationsApisVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsPatchCall)Header¶
func (c *ProjectsLocationsApisVersionsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsPatchCall)UpdateMask¶
func (c *ProjectsLocationsApisVersionsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsApisVersionsPatchCall
UpdateMask sets the optional parameter "updateMask": The list of fields tobe updated. If omitted, all fields are updated that are set in the requestmessage (fields set to default values are ignored). If an asterisk "*" isspecified, all fields are updated, including fields that areunspecified/default in the request.
typeProjectsLocationsApisVersionsService¶
type ProjectsLocationsApisVersionsService struct {Artifacts *ProjectsLocationsApisVersionsArtifactsServiceSpecs *ProjectsLocationsApisVersionsSpecsService// contains filtered or unexported fields}funcNewProjectsLocationsApisVersionsService¶
func NewProjectsLocationsApisVersionsService(s *Service) *ProjectsLocationsApisVersionsService
func (*ProjectsLocationsApisVersionsService)Create¶
func (r *ProjectsLocationsApisVersionsService) Create(parentstring, apiversion *ApiVersion) *ProjectsLocationsApisVersionsCreateCall
Create: Creates a specified version.
- parent: The parent, which owns this collection of versions. Format:`projects/*/locations/*/apis/*`.
func (*ProjectsLocationsApisVersionsService)Delete¶
func (r *ProjectsLocationsApisVersionsService) Delete(namestring) *ProjectsLocationsApisVersionsDeleteCall
Delete: Removes a specified version and all of the resources that it owns.
- name: The name of the version to delete. Format:`projects/*/locations/*/apis/*/versions/*`.
func (*ProjectsLocationsApisVersionsService)Get¶
func (r *ProjectsLocationsApisVersionsService) Get(namestring) *ProjectsLocationsApisVersionsGetCall
Get: Returns a specified version.
- name: The name of the version to retrieve. Format:`projects/*/locations/*/apis/*/versions/*`.
func (*ProjectsLocationsApisVersionsService)GetIamPolicy¶
func (r *ProjectsLocationsApisVersionsService) GetIamPolicy(resourcestring) *ProjectsLocationsApisVersionsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsService)List¶
func (r *ProjectsLocationsApisVersionsService) List(parentstring) *ProjectsLocationsApisVersionsListCall
List: Returns matching versions.
- parent: The parent, which owns this collection of versions. Format:`projects/*/locations/*/apis/*`.
func (*ProjectsLocationsApisVersionsService)Patch¶
func (r *ProjectsLocationsApisVersionsService) Patch(namestring, apiversion *ApiVersion) *ProjectsLocationsApisVersionsPatchCall
Patch: Used to modify a specified version.
- name: Resource name.
func (*ProjectsLocationsApisVersionsService)SetIamPolicy¶
func (r *ProjectsLocationsApisVersionsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsService)TestIamPermissions¶
func (r *ProjectsLocationsApisVersionsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsApisVersionsSetIamPolicyCall¶
type ProjectsLocationsApisVersionsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsArtifactsCreateCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsCreateCall)ArtifactId¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) ArtifactId(artifactIdstring) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
ArtifactId sets the optional parameter "artifactId": Required. The ID to usefor the artifact, which will become the final component of the artifact'sresource name. This value should be 4-63 characters, and valid charactersare /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsApisVersionsSpecsArtifactsCreateCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsCreateCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.create" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisVersionsSpecsArtifactsCreateCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsCreateCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsArtifactsDeleteCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.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 (*ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsArtifactsGetCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsGetCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.get" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisVersionsSpecsArtifactsGetCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
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.
typeProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.getContents" call.Any non-2xx status code is an error. Response headers are in either*HttpBody.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 (*ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
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.
typeProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
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 (*ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsApisVersionsSpecsArtifactsListCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.list" call.Any non-2xx status code is an error. Response headers are in either*ListArtifactsResponse.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 (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)Filter¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Filter(filterstring) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields except contents.
func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
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 (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) OrderBy(orderBystring) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)PageSize¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) PageSize(pageSizeint64) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofartifacts to return. The service may return fewer than this value. Ifunspecified, at most 50 values will be returned. The maximum is 1000; valuesabove 1000 will be coerced to 1000.
func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)PageToken¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) PageToken(pageTokenstring) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListArtifacts` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListArtifacts` must match the call that provided the page token.
func (*ProjectsLocationsApisVersionsSpecsArtifactsListCall)Pages¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Pages(ctxcontext.Context, f func(*ListArtifactsResponse)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.
typeProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.replaceArtifact" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsArtifactsService¶
type ProjectsLocationsApisVersionsSpecsArtifactsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsApisVersionsSpecsArtifactsService¶
func NewProjectsLocationsApisVersionsSpecsArtifactsService(s *Service) *ProjectsLocationsApisVersionsSpecsArtifactsService
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)Create¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Create(parentstring, artifact *Artifact) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall
Create: Creates a specified artifact.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)Delete¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Delete(namestring) *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall
Delete: Removes a specified artifact.
- name: The name of the artifact to delete. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)Get¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Get(namestring) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall
Get: Returns a specified artifact.
- name: The name of the artifact to retrieve. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)GetContents¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) GetContents(namestring) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall
GetContents: Returns the contents of a specified artifact. If artifacts arestored with GZip compression, the default behavior is to return the artifactuncompressed (the mime_type response field indicates the exact formatreturned).
- name: The name of the artifact whose contents should be retrieved. Format:`{parent}/artifacts/*`.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)GetIamPolicy¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) GetIamPolicy(resourcestring) *ProjectsLocationsApisVersionsSpecsArtifactsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)List¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) List(parentstring) *ProjectsLocationsApisVersionsSpecsArtifactsListCall
List: Returns matching artifacts.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)ReplaceArtifact¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) ReplaceArtifact(namestring, artifact *Artifact) *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall
ReplaceArtifact: Used to replace a specified artifact.
- name: Resource name.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)SetIamPolicy¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsSpecsArtifactsService)TestIamPermissions¶
func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall¶
type ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.artifacts.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsArtifactsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsCreateCall¶
type ProjectsLocationsApisVersionsSpecsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsCreateCall)ApiSpecId¶
func (c *ProjectsLocationsApisVersionsSpecsCreateCall) ApiSpecId(apiSpecIdstring) *ProjectsLocationsApisVersionsSpecsCreateCall
ApiSpecId sets the optional parameter "apiSpecId": Required. The ID to usefor the spec, which will become the final component of the spec's resourcename. This value should be 4-63 characters, and valid characters are /a-z-/.Following AIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsApisVersionsSpecsCreateCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsCreateCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Do(opts ...googleapi.CallOption) (*ApiSpec,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.create" call.Any non-2xx status code is an error. Response headers are in either*ApiSpec.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 (*ProjectsLocationsApisVersionsSpecsCreateCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsCreateCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsDeleteCall¶
type ProjectsLocationsApisVersionsSpecsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsDeleteCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsDeleteCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.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 (*ProjectsLocationsApisVersionsSpecsDeleteCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsDeleteCall)Force¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Force(forcebool) *ProjectsLocationsApisVersionsSpecsDeleteCall
Force sets the optional parameter "force": If set to true, any childresources will also be deleted. (Otherwise, the request will only work ifthere are no child resources.)
func (*ProjectsLocationsApisVersionsSpecsDeleteCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsDeleteRevisionCall¶
type ProjectsLocationsApisVersionsSpecsDeleteRevisionCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsDeleteRevisionCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsDeleteRevisionCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Do(opts ...googleapi.CallOption) (*ApiSpec,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.deleteRevision" call.Any non-2xx status code is an error. Response headers are in either*ApiSpec.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 (*ProjectsLocationsApisVersionsSpecsDeleteRevisionCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsDeleteRevisionCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsGetCall¶
type ProjectsLocationsApisVersionsSpecsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsGetCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsGetCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsGetCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsGetCall) Do(opts ...googleapi.CallOption) (*ApiSpec,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.get" call.Any non-2xx status code is an error. Response headers are in either*ApiSpec.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 (*ProjectsLocationsApisVersionsSpecsGetCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsGetCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsGetCall
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.
typeProjectsLocationsApisVersionsSpecsGetContentsCall¶
type ProjectsLocationsApisVersionsSpecsGetContentsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsGetContentsCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsGetContentsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsGetContentsCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.getContents" call.Any non-2xx status code is an error. Response headers are in either*HttpBody.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 (*ProjectsLocationsApisVersionsSpecsGetContentsCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsGetContentsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsGetContentsCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsGetContentsCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsGetContentsCall
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.
typeProjectsLocationsApisVersionsSpecsGetIamPolicyCall¶
type ProjectsLocationsApisVersionsSpecsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsSpecsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
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 (*ProjectsLocationsApisVersionsSpecsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsApisVersionsSpecsListCall¶
type ProjectsLocationsApisVersionsSpecsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsListCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsListCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) Do(opts ...googleapi.CallOption) (*ListApiSpecsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.list" call.Any non-2xx status code is an error. Response headers are in either*ListApiSpecsResponse.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 (*ProjectsLocationsApisVersionsSpecsListCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsListCall)Filter¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) Filter(filterstring) *ProjectsLocationsApisVersionsSpecsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields except contents.
func (*ProjectsLocationsApisVersionsSpecsListCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsListCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsListCall
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 (*ProjectsLocationsApisVersionsSpecsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsApisVersionsSpecsListCall) OrderBy(orderBystring) *ProjectsLocationsApisVersionsSpecsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsApisVersionsSpecsListCall)PageSize¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) PageSize(pageSizeint64) *ProjectsLocationsApisVersionsSpecsListCall
PageSize sets the optional parameter "pageSize": The maximum number of specsto return. The service may return fewer than this value. If unspecified, atmost 50 values will be returned. The maximum is 1000; values above 1000 willbe coerced to 1000.
func (*ProjectsLocationsApisVersionsSpecsListCall)PageToken¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) PageToken(pageTokenstring) *ProjectsLocationsApisVersionsSpecsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListApiSpecs` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListApiSpecs` mustmatch the call that provided the page token.
func (*ProjectsLocationsApisVersionsSpecsListCall)Pages¶
func (c *ProjectsLocationsApisVersionsSpecsListCall) Pages(ctxcontext.Context, f func(*ListApiSpecsResponse)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.
typeProjectsLocationsApisVersionsSpecsListRevisionsCall¶
type ProjectsLocationsApisVersionsSpecsListRevisionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Do(opts ...googleapi.CallOption) (*ListApiSpecRevisionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.listRevisions" call.Any non-2xx status code is an error. Response headers are in either*ListApiSpecRevisionsResponse.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 (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)Filter¶added inv0.109.0
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Filter(filterstring) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields.
func (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)IfNoneMatch¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
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 (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)PageSize¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) PageSize(pageSizeint64) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
PageSize sets the optional parameter "pageSize": The maximum number ofrevisions to return per page.
func (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)PageToken¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) PageToken(pageTokenstring) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
PageToken sets the optional parameter "pageToken": The page token, receivedfrom a previous ListApiSpecRevisions call. Provide this to retrieve thesubsequent page.
func (*ProjectsLocationsApisVersionsSpecsListRevisionsCall)Pages¶
func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Pages(ctxcontext.Context, f func(*ListApiSpecRevisionsResponse)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.
typeProjectsLocationsApisVersionsSpecsPatchCall¶
type ProjectsLocationsApisVersionsSpecsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsPatchCall)AllowMissing¶
func (c *ProjectsLocationsApisVersionsSpecsPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsApisVersionsSpecsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe spec is not found, a new spec will be created. In this situation,`update_mask` is ignored.
func (*ProjectsLocationsApisVersionsSpecsPatchCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsPatchCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Do(opts ...googleapi.CallOption) (*ApiSpec,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.patch" call.Any non-2xx status code is an error. Response headers are in either*ApiSpec.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 (*ProjectsLocationsApisVersionsSpecsPatchCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsPatchCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsApisVersionsSpecsPatchCall)UpdateMask¶
func (c *ProjectsLocationsApisVersionsSpecsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsApisVersionsSpecsPatchCall
UpdateMask sets the optional parameter "updateMask": The list of fields tobe updated. If omitted, all fields are updated that are set in the requestmessage (fields set to default values are ignored). If an asterisk "*" isspecified, all fields are updated, including fields that areunspecified/default in the request.
typeProjectsLocationsApisVersionsSpecsRollbackCall¶
type ProjectsLocationsApisVersionsSpecsRollbackCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsRollbackCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsRollbackCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsRollbackCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Do(opts ...googleapi.CallOption) (*ApiSpec,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.rollback" call.Any non-2xx status code is an error. Response headers are in either*ApiSpec.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 (*ProjectsLocationsApisVersionsSpecsRollbackCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsRollbackCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsRollbackCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsService¶
type ProjectsLocationsApisVersionsSpecsService struct {Artifacts *ProjectsLocationsApisVersionsSpecsArtifactsService// contains filtered or unexported fields}funcNewProjectsLocationsApisVersionsSpecsService¶
func NewProjectsLocationsApisVersionsSpecsService(s *Service) *ProjectsLocationsApisVersionsSpecsService
func (*ProjectsLocationsApisVersionsSpecsService)Create¶
func (r *ProjectsLocationsApisVersionsSpecsService) Create(parentstring, apispec *ApiSpec) *ProjectsLocationsApisVersionsSpecsCreateCall
Create: Creates a specified spec.
- parent: The parent, which owns this collection of specs. Format:`projects/*/locations/*/apis/*/versions/*`.
func (*ProjectsLocationsApisVersionsSpecsService)Delete¶
func (r *ProjectsLocationsApisVersionsSpecsService) Delete(namestring) *ProjectsLocationsApisVersionsSpecsDeleteCall
Delete: Removes a specified spec, all revisions, and all child resources(e.g., artifacts).
- name: The name of the spec to delete. Format:`projects/*/locations/*/apis/*/versions/*/specs/*`.
func (*ProjectsLocationsApisVersionsSpecsService)DeleteRevision¶
func (r *ProjectsLocationsApisVersionsSpecsService) DeleteRevision(namestring) *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall
DeleteRevision: Deletes a revision of a spec.
- name: The name of the spec revision to be deleted, with a revision IDexplicitly included. Example:`projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`.
func (*ProjectsLocationsApisVersionsSpecsService)Get¶
func (r *ProjectsLocationsApisVersionsSpecsService) Get(namestring) *ProjectsLocationsApisVersionsSpecsGetCall
Get: Returns a specified spec.
- name: The name of the spec to retrieve. Format:`projects/*/locations/*/apis/*/versions/*/specs/*`.
func (*ProjectsLocationsApisVersionsSpecsService)GetContents¶
func (r *ProjectsLocationsApisVersionsSpecsService) GetContents(namestring) *ProjectsLocationsApisVersionsSpecsGetContentsCall
GetContents: Returns the contents of a specified spec. If specs are storedwith GZip compression, the default behavior is to return the specuncompressed (the mime_type response field indicates the exact formatreturned).
- name: The name of the spec whose contents should be retrieved. Format:`projects/*/locations/*/apis/*/versions/*/specs/*`.
func (*ProjectsLocationsApisVersionsSpecsService)GetIamPolicy¶
func (r *ProjectsLocationsApisVersionsSpecsService) GetIamPolicy(resourcestring) *ProjectsLocationsApisVersionsSpecsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsSpecsService)List¶
func (r *ProjectsLocationsApisVersionsSpecsService) List(parentstring) *ProjectsLocationsApisVersionsSpecsListCall
List: Returns matching specs.
- parent: The parent, which owns this collection of specs. Format:`projects/*/locations/*/apis/*/versions/*`.
func (*ProjectsLocationsApisVersionsSpecsService)ListRevisions¶
func (r *ProjectsLocationsApisVersionsSpecsService) ListRevisions(namestring) *ProjectsLocationsApisVersionsSpecsListRevisionsCall
ListRevisions: Lists all revisions of a spec. Revisions are returned indescending order of revision creation time.
- name: The name of the spec to list revisions for.
func (*ProjectsLocationsApisVersionsSpecsService)Patch¶
func (r *ProjectsLocationsApisVersionsSpecsService) Patch(namestring, apispec *ApiSpec) *ProjectsLocationsApisVersionsSpecsPatchCall
Patch: Used to modify a specified spec.
- name: Resource name.
func (*ProjectsLocationsApisVersionsSpecsService)Rollback¶
func (r *ProjectsLocationsApisVersionsSpecsService) Rollback(namestring, rollbackapispecrequest *RollbackApiSpecRequest) *ProjectsLocationsApisVersionsSpecsRollbackCall
Rollback: Sets the current revision to a specified prior revision. Note thatthis creates a new revision with a new revision ID.
- name: The spec being rolled back.
func (*ProjectsLocationsApisVersionsSpecsService)SetIamPolicy¶
func (r *ProjectsLocationsApisVersionsSpecsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsApisVersionsSpecsService)TagRevision¶
func (r *ProjectsLocationsApisVersionsSpecsService) TagRevision(namestring, tagapispecrevisionrequest *TagApiSpecRevisionRequest) *ProjectsLocationsApisVersionsSpecsTagRevisionCall
TagRevision: Adds a tag to a specified revision of a spec.
- name: The name of the spec to be tagged, including the revision ID isoptional. If a revision is not specified, it will tag the latest revision.
func (*ProjectsLocationsApisVersionsSpecsService)TestIamPermissions¶
func (r *ProjectsLocationsApisVersionsSpecsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsApisVersionsSpecsSetIamPolicyCall¶
type ProjectsLocationsApisVersionsSpecsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsApisVersionsSpecsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsTagRevisionCall¶
type ProjectsLocationsApisVersionsSpecsTagRevisionCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsTagRevisionCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsTagRevisionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsTagRevisionCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Do(opts ...googleapi.CallOption) (*ApiSpec,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.tagRevision" call.Any non-2xx status code is an error. Response headers are in either*ApiSpec.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 (*ProjectsLocationsApisVersionsSpecsTagRevisionCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsTagRevisionCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsTagRevisionCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsSpecsTestIamPermissionsCall¶
type ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.specs.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsApisVersionsSpecsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsApisVersionsTestIamPermissionsCall¶
type ProjectsLocationsApisVersionsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsApisVersionsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsApisVersionsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsApisVersionsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.apis.versions.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsApisVersionsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisVersionsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsApisVersionsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsApisVersionsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsArtifactsCreateCall¶
type ProjectsLocationsArtifactsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsCreateCall)ArtifactId¶
func (c *ProjectsLocationsArtifactsCreateCall) ArtifactId(artifactIdstring) *ProjectsLocationsArtifactsCreateCall
ArtifactId sets the optional parameter "artifactId": Required. The ID to usefor the artifact, which will become the final component of the artifact'sresource name. This value should be 4-63 characters, and valid charactersare /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
func (*ProjectsLocationsArtifactsCreateCall)Context¶
func (c *ProjectsLocationsArtifactsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsCreateCall)Do¶
func (c *ProjectsLocationsArtifactsCreateCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.artifacts.create" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsArtifactsCreateCall)Fields¶
func (c *ProjectsLocationsArtifactsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsCreateCall)Header¶
func (c *ProjectsLocationsArtifactsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsArtifactsDeleteCall¶
type ProjectsLocationsArtifactsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsDeleteCall)Context¶
func (c *ProjectsLocationsArtifactsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsDeleteCall)Do¶
func (c *ProjectsLocationsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.artifacts.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 (*ProjectsLocationsArtifactsDeleteCall)Fields¶
func (c *ProjectsLocationsArtifactsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsDeleteCall)Header¶
func (c *ProjectsLocationsArtifactsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsArtifactsGetCall¶
type ProjectsLocationsArtifactsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsGetCall)Context¶
func (c *ProjectsLocationsArtifactsGetCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsGetCall)Do¶
func (c *ProjectsLocationsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.artifacts.get" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsArtifactsGetCall)Fields¶
func (c *ProjectsLocationsArtifactsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsGetCall)Header¶
func (c *ProjectsLocationsArtifactsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsArtifactsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsArtifactsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsArtifactsGetCall
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.
typeProjectsLocationsArtifactsGetContentsCall¶
type ProjectsLocationsArtifactsGetContentsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsGetContentsCall)Context¶
func (c *ProjectsLocationsArtifactsGetContentsCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsGetContentsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsGetContentsCall)Do¶
func (c *ProjectsLocationsArtifactsGetContentsCall) Do(opts ...googleapi.CallOption) (*HttpBody,error)
Do executes the "apigeeregistry.projects.locations.artifacts.getContents" call.Any non-2xx status code is an error. Response headers are in either*HttpBody.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 (*ProjectsLocationsArtifactsGetContentsCall)Fields¶
func (c *ProjectsLocationsArtifactsGetContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsGetContentsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsGetContentsCall)Header¶
func (c *ProjectsLocationsArtifactsGetContentsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsArtifactsGetContentsCall)IfNoneMatch¶
func (c *ProjectsLocationsArtifactsGetContentsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsArtifactsGetContentsCall
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.
typeProjectsLocationsArtifactsGetIamPolicyCall¶
type ProjectsLocationsArtifactsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.artifacts.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsArtifactsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsArtifactsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsArtifactsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsArtifactsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsArtifactsGetIamPolicyCall
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 (*ProjectsLocationsArtifactsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsArtifactsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsArtifactsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsArtifactsListCall¶
type ProjectsLocationsArtifactsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsListCall)Context¶
func (c *ProjectsLocationsArtifactsListCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsListCall)Do¶
func (c *ProjectsLocationsArtifactsListCall) Do(opts ...googleapi.CallOption) (*ListArtifactsResponse,error)
Do executes the "apigeeregistry.projects.locations.artifacts.list" call.Any non-2xx status code is an error. Response headers are in either*ListArtifactsResponse.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 (*ProjectsLocationsArtifactsListCall)Fields¶
func (c *ProjectsLocationsArtifactsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsListCall)Filter¶
func (c *ProjectsLocationsArtifactsListCall) Filter(filterstring) *ProjectsLocationsArtifactsListCall
Filter sets the optional parameter "filter": An expression that can be usedto filter the list. Filters use the Common Expression Language and can referto all message fields except contents.
func (*ProjectsLocationsArtifactsListCall)Header¶
func (c *ProjectsLocationsArtifactsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsArtifactsListCall)IfNoneMatch¶
func (c *ProjectsLocationsArtifactsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsArtifactsListCall
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 (*ProjectsLocationsArtifactsListCall)OrderBy¶added inv0.96.0
func (c *ProjectsLocationsArtifactsListCall) OrderBy(orderBystring) *ProjectsLocationsArtifactsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list offields, e.g. "foo,bar" Fields can be sorted in descending order using the"desc" identifier, e.g. "foo desc,bar"
func (*ProjectsLocationsArtifactsListCall)PageSize¶
func (c *ProjectsLocationsArtifactsListCall) PageSize(pageSizeint64) *ProjectsLocationsArtifactsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofartifacts to return. The service may return fewer than this value. Ifunspecified, at most 50 values will be returned. The maximum is 1000; valuesabove 1000 will be coerced to 1000.
func (*ProjectsLocationsArtifactsListCall)PageToken¶
func (c *ProjectsLocationsArtifactsListCall) PageToken(pageTokenstring) *ProjectsLocationsArtifactsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListArtifacts` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListArtifacts` must match the call that provided the page token.
func (*ProjectsLocationsArtifactsListCall)Pages¶
func (c *ProjectsLocationsArtifactsListCall) Pages(ctxcontext.Context, f func(*ListArtifactsResponse)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.
typeProjectsLocationsArtifactsReplaceArtifactCall¶
type ProjectsLocationsArtifactsReplaceArtifactCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsReplaceArtifactCall)Context¶
func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsReplaceArtifactCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsReplaceArtifactCall)Do¶
func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Do(opts ...googleapi.CallOption) (*Artifact,error)
Do executes the "apigeeregistry.projects.locations.artifacts.replaceArtifact" call.Any non-2xx status code is an error. Response headers are in either*Artifact.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 (*ProjectsLocationsArtifactsReplaceArtifactCall)Fields¶
func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsReplaceArtifactCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsReplaceArtifactCall)Header¶
func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsArtifactsService¶
type ProjectsLocationsArtifactsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsArtifactsService¶
func NewProjectsLocationsArtifactsService(s *Service) *ProjectsLocationsArtifactsService
func (*ProjectsLocationsArtifactsService)Create¶
func (r *ProjectsLocationsArtifactsService) Create(parentstring, artifact *Artifact) *ProjectsLocationsArtifactsCreateCall
Create: Creates a specified artifact.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsArtifactsService)Delete¶
func (r *ProjectsLocationsArtifactsService) Delete(namestring) *ProjectsLocationsArtifactsDeleteCall
Delete: Removes a specified artifact.
- name: The name of the artifact to delete. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsArtifactsService)Get¶
func (r *ProjectsLocationsArtifactsService) Get(namestring) *ProjectsLocationsArtifactsGetCall
Get: Returns a specified artifact.
- name: The name of the artifact to retrieve. Format: `{parent}/artifacts/*`.
func (*ProjectsLocationsArtifactsService)GetContents¶
func (r *ProjectsLocationsArtifactsService) GetContents(namestring) *ProjectsLocationsArtifactsGetContentsCall
GetContents: Returns the contents of a specified artifact. If artifacts arestored with GZip compression, the default behavior is to return the artifactuncompressed (the mime_type response field indicates the exact formatreturned).
- name: The name of the artifact whose contents should be retrieved. Format:`{parent}/artifacts/*`.
func (*ProjectsLocationsArtifactsService)GetIamPolicy¶
func (r *ProjectsLocationsArtifactsService) GetIamPolicy(resourcestring) *ProjectsLocationsArtifactsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsArtifactsService)List¶
func (r *ProjectsLocationsArtifactsService) List(parentstring) *ProjectsLocationsArtifactsListCall
List: Returns matching artifacts.
- parent: The parent, which owns this collection of artifacts. Format:`{parent}`.
func (*ProjectsLocationsArtifactsService)ReplaceArtifact¶
func (r *ProjectsLocationsArtifactsService) ReplaceArtifact(namestring, artifact *Artifact) *ProjectsLocationsArtifactsReplaceArtifactCall
ReplaceArtifact: Used to replace a specified artifact.
- name: Resource name.
func (*ProjectsLocationsArtifactsService)SetIamPolicy¶
func (r *ProjectsLocationsArtifactsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsArtifactsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsArtifactsService)TestIamPermissions¶
func (r *ProjectsLocationsArtifactsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsArtifactsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsArtifactsSetIamPolicyCall¶
type ProjectsLocationsArtifactsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.artifacts.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsArtifactsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsArtifactsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsArtifactsTestIamPermissionsCall¶
type ProjectsLocationsArtifactsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsArtifactsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsArtifactsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsArtifactsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.artifacts.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsArtifactsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsArtifactsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsArtifactsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsArtifactsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsDocumentsGetIamPolicyCall¶added inv0.144.0
type ProjectsLocationsDocumentsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDocumentsGetIamPolicyCall)Context¶added inv0.144.0
func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsDocumentsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDocumentsGetIamPolicyCall)Do¶added inv0.144.0
func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.documents.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsDocumentsGetIamPolicyCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDocumentsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDocumentsGetIamPolicyCall)Header¶added inv0.144.0
func (c *ProjectsLocationsDocumentsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsDocumentsGetIamPolicyCall)IfNoneMatch¶added inv0.144.0
func (c *ProjectsLocationsDocumentsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsDocumentsGetIamPolicyCall
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 (*ProjectsLocationsDocumentsGetIamPolicyCall)OptionsRequestedPolicyVersion¶added inv0.144.0
func (c *ProjectsLocationsDocumentsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsDocumentsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsDocumentsService¶added inv0.144.0
type ProjectsLocationsDocumentsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsDocumentsService¶added inv0.144.0
func NewProjectsLocationsDocumentsService(s *Service) *ProjectsLocationsDocumentsService
func (*ProjectsLocationsDocumentsService)GetIamPolicy¶added inv0.144.0
func (r *ProjectsLocationsDocumentsService) GetIamPolicy(resourcestring) *ProjectsLocationsDocumentsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsDocumentsService)SetIamPolicy¶added inv0.144.0
func (r *ProjectsLocationsDocumentsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDocumentsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsDocumentsService)TestIamPermissions¶added inv0.144.0
func (r *ProjectsLocationsDocumentsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDocumentsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsDocumentsSetIamPolicyCall¶added inv0.144.0
type ProjectsLocationsDocumentsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDocumentsSetIamPolicyCall)Context¶added inv0.144.0
func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsDocumentsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDocumentsSetIamPolicyCall)Do¶added inv0.144.0
func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.documents.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsDocumentsSetIamPolicyCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDocumentsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDocumentsSetIamPolicyCall)Header¶added inv0.144.0
func (c *ProjectsLocationsDocumentsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsDocumentsTestIamPermissionsCall¶added inv0.144.0
type ProjectsLocationsDocumentsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDocumentsTestIamPermissionsCall)Context¶added inv0.144.0
func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsDocumentsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDocumentsTestIamPermissionsCall)Do¶added inv0.144.0
func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.documents.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsDocumentsTestIamPermissionsCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsDocumentsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDocumentsTestIamPermissionsCall)Header¶added inv0.144.0
func (c *ProjectsLocationsDocumentsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
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) (*Location,error)
Do executes the "apigeeregistry.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall)Fields¶
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.
typeProjectsLocationsInstancesCreateCall¶
type ProjectsLocationsInstancesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesCreateCall)Context¶
func (c *ProjectsLocationsInstancesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesCreateCall)Do¶
func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "apigeeregistry.projects.locations.instances.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesCreateCall)Fields¶
func (c *ProjectsLocationsInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesCreateCall)Header¶
func (c *ProjectsLocationsInstancesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesCreateCall)InstanceId¶
func (c *ProjectsLocationsInstancesCreateCall) InstanceId(instanceIdstring) *ProjectsLocationsInstancesCreateCall
InstanceId sets the optional parameter "instanceId": Required. Identifier toassign to the Instance. Must be unique within scope of the parent resource.
typeProjectsLocationsInstancesDeleteCall¶
type ProjectsLocationsInstancesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesDeleteCall)Context¶
func (c *ProjectsLocationsInstancesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesDeleteCall)Do¶
func (c *ProjectsLocationsInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "apigeeregistry.projects.locations.instances.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsInstancesDeleteCall)Fields¶
func (c *ProjectsLocationsInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesDeleteCall)Header¶
func (c *ProjectsLocationsInstancesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsInstancesGetCall¶
type ProjectsLocationsInstancesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesGetCall)Context¶
func (c *ProjectsLocationsInstancesGetCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesGetCall)Do¶
func (c *ProjectsLocationsInstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance,error)
Do executes the "apigeeregistry.projects.locations.instances.get" call.Any non-2xx status code is an error. Response headers are in either*Instance.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 (*ProjectsLocationsInstancesGetCall)Fields¶
func (c *ProjectsLocationsInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesGetCall)Header¶
func (c *ProjectsLocationsInstancesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsInstancesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsInstancesGetCall
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.
typeProjectsLocationsInstancesGetIamPolicyCall¶
type ProjectsLocationsInstancesGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesGetIamPolicyCall)Context¶
func (c *ProjectsLocationsInstancesGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesGetIamPolicyCall)Do¶
func (c *ProjectsLocationsInstancesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.instances.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsInstancesGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsInstancesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesGetIamPolicyCall)Header¶
func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsInstancesGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsInstancesGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsInstancesGetIamPolicyCall
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 (*ProjectsLocationsInstancesGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsInstancesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsInstancesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsInstancesService¶
type ProjectsLocationsInstancesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsInstancesService¶
func NewProjectsLocationsInstancesService(s *Service) *ProjectsLocationsInstancesService
func (*ProjectsLocationsInstancesService)Create¶
func (r *ProjectsLocationsInstancesService) Create(parentstring, instance *Instance) *ProjectsLocationsInstancesCreateCall
Create: Provisions instance resources for the Registry.
- parent: Parent resource of the Instance, of the form:`projects/*/locations/*`.
func (*ProjectsLocationsInstancesService)Delete¶
func (r *ProjectsLocationsInstancesService) Delete(namestring) *ProjectsLocationsInstancesDeleteCall
Delete: Deletes the Registry instance.
- name: The name of the Instance to delete. Format:`projects/*/locations/*/instances/*`.
func (*ProjectsLocationsInstancesService)Get¶
func (r *ProjectsLocationsInstancesService) Get(namestring) *ProjectsLocationsInstancesGetCall
Get: Gets details of a single Instance.
- name: The name of the Instance to retrieve. Format:`projects/*/locations/*/instances/*`.
func (*ProjectsLocationsInstancesService)GetIamPolicy¶
func (r *ProjectsLocationsInstancesService) GetIamPolicy(resourcestring) *ProjectsLocationsInstancesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsInstancesService)SetIamPolicy¶
func (r *ProjectsLocationsInstancesService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsInstancesService)TestIamPermissions¶
func (r *ProjectsLocationsInstancesService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsInstancesSetIamPolicyCall¶
type ProjectsLocationsInstancesSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesSetIamPolicyCall)Context¶
func (c *ProjectsLocationsInstancesSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesSetIamPolicyCall)Do¶
func (c *ProjectsLocationsInstancesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.instances.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsInstancesSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsInstancesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesSetIamPolicyCall)Header¶
func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsInstancesTestIamPermissionsCall¶
type ProjectsLocationsInstancesTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsInstancesTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsInstancesTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsInstancesTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.instances.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsInstancesTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsInstancesTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
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 "apigeeregistry.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)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.
typeProjectsLocationsOperationsCancelCall¶
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall)Fields¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶
func (c *ProjectsLocationsOperationsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "apigeeregistry.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsDeleteCall)Fields¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "apigeeregistry.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall)Fields¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "apigeeregistry.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of 1, corresponding to`Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService)Delete¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService)Get¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsRuntimeGetIamPolicyCall¶
type ProjectsLocationsRuntimeGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsRuntimeGetIamPolicyCall)Context¶
func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsRuntimeGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRuntimeGetIamPolicyCall)Do¶
func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.runtime.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsRuntimeGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRuntimeGetIamPolicyCall)Header¶
func (c *ProjectsLocationsRuntimeGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsRuntimeGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsRuntimeGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsRuntimeGetIamPolicyCall
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 (*ProjectsLocationsRuntimeGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsRuntimeGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsRuntimeGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsRuntimeService¶
type ProjectsLocationsRuntimeService struct {// contains filtered or unexported fields}funcNewProjectsLocationsRuntimeService¶
func NewProjectsLocationsRuntimeService(s *Service) *ProjectsLocationsRuntimeService
func (*ProjectsLocationsRuntimeService)GetIamPolicy¶
func (r *ProjectsLocationsRuntimeService) GetIamPolicy(resourcestring) *ProjectsLocationsRuntimeGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsRuntimeService)SetIamPolicy¶
func (r *ProjectsLocationsRuntimeService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRuntimeSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsRuntimeService)TestIamPermissions¶
func (r *ProjectsLocationsRuntimeService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRuntimeTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsRuntimeSetIamPolicyCall¶
type ProjectsLocationsRuntimeSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsRuntimeSetIamPolicyCall)Context¶
func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsRuntimeSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRuntimeSetIamPolicyCall)Do¶
func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "apigeeregistry.projects.locations.runtime.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.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 (*ProjectsLocationsRuntimeSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRuntimeSetIamPolicyCall)Header¶
func (c *ProjectsLocationsRuntimeSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsRuntimeTestIamPermissionsCall¶
type ProjectsLocationsRuntimeTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsRuntimeTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsRuntimeTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRuntimeTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "apigeeregistry.projects.locations.runtime.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.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 (*ProjectsLocationsRuntimeTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsRuntimeTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsRuntimeTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {Apis *ProjectsLocationsApisServiceArtifacts *ProjectsLocationsArtifactsServiceDocuments *ProjectsLocationsDocumentsServiceInstances *ProjectsLocationsInstancesServiceOperations *ProjectsLocationsOperationsServiceRuntime *ProjectsLocationsRuntimeService// 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.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeRollbackApiDeploymentRequest¶
type RollbackApiDeploymentRequest struct {// RevisionId: Required. The revision ID to roll back to. It must be a revision// of the same deployment. Example: `c7cfa2a8`RevisionIdstring `json:"revisionId,omitempty"`// ForceSendFields is a list of field names (e.g. "RevisionId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RevisionId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}RollbackApiDeploymentRequest: Request message for RollbackApiDeployment.
func (RollbackApiDeploymentRequest)MarshalJSON¶
func (sRollbackApiDeploymentRequest) MarshalJSON() ([]byte,error)
typeRollbackApiSpecRequest¶
type RollbackApiSpecRequest struct {// RevisionId: Required. The revision ID to roll back to. It must be a revision// of the same spec. Example: `c7cfa2a8`RevisionIdstring `json:"revisionId,omitempty"`// ForceSendFields is a list of field names (e.g. "RevisionId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RevisionId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}RollbackApiSpecRequest: Request message for RollbackApiSpec.
func (RollbackApiSpecRequest)MarshalJSON¶
func (sRollbackApiSpecRequest) MarshalJSON() ([]byte,error)
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.
typeSetIamPolicyRequest¶
type SetIamPolicyRequest struct {// Policy: REQUIRED: The complete policy to be applied to the `resource`. The// size of the policy is limited to a few 10s of KB. An empty policy is a valid// policy but certain Google Cloud services (such as Projects) might reject// them.Policy *Policy `json:"policy,omitempty"`// ForceSendFields is a list of field names (e.g. "Policy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Policy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (SetIamPolicyRequest)MarshalJSON¶
func (sSetIamPolicyRequest) MarshalJSON() ([]byte,error)
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeTagApiDeploymentRevisionRequest¶
type TagApiDeploymentRevisionRequest struct {// Tag: Required. The tag to apply. The tag should be at most 40 characters,// and match `a-z{3,39}`.Tagstring `json:"tag,omitempty"`// ForceSendFields is a list of field names (e.g. "Tag") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Tag") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TagApiDeploymentRevisionRequest: Request message forTagApiDeploymentRevision.
func (TagApiDeploymentRevisionRequest)MarshalJSON¶
func (sTagApiDeploymentRevisionRequest) MarshalJSON() ([]byte,error)
typeTagApiSpecRevisionRequest¶
type TagApiSpecRevisionRequest struct {// Tag: Required. The tag to apply. The tag should be at most 40 characters,// and match `a-z{3,39}`.Tagstring `json:"tag,omitempty"`// ForceSendFields is a list of field names (e.g. "Tag") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Tag") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TagApiSpecRevisionRequest: Request message for TagApiSpecRevision.
func (TagApiSpecRevisionRequest)MarshalJSON¶
func (sTagApiSpecRevisionRequest) MarshalJSON() ([]byte,error)
typeTestIamPermissionsRequest¶
type TestIamPermissionsRequest struct {// Permissions: The set of permissions to check for the `resource`. Permissions// with wildcards (such as `*` or `storage.*`) are not allowed. For more// information see IAM Overview// (https://cloud.google.com/iam/docs/overview#permissions).Permissions []string `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (TestIamPermissionsRequest)MarshalJSON¶
func (sTestIamPermissionsRequest) MarshalJSON() ([]byte,error)
typeTestIamPermissionsResponse¶
type TestIamPermissionsResponse struct {// Permissions: A subset of `TestPermissionsRequest.permissions` that the// caller is allowed.Permissions []string `json:"permissions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TestIamPermissionsResponse: Response message for `TestIamPermissions`method.
func (TestIamPermissionsResponse)MarshalJSON¶
func (sTestIamPermissionsResponse) MarshalJSON() ([]byte,error)