Documentation ¶
Overview ¶
Package dataform provides access to the Dataform API.
For product documentation, see: https://cloud.google.com/dataform/docs
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any 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/dataform/v1beta1" ... ctx := context.Background() dataformService, err := dataform.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
dataformService, err := dataform.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) dataformService, err := dataform.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type Assertion
- type BigQueryAction
- type Binding
- type CancelWorkflowInvocationRequest
- type CodeCompilationConfig
- type ColumnDescriptor
- type CommitAuthor
- type CommitLogEntry
- type CommitMetadata
- type CommitRepositoryChangesRequest
- type CommitWorkspaceChangesRequest
- type CompilationError
- type CompilationResult
- type CompilationResultAction
- type ComputeRepositoryAccessTokenStatusResponse
- type Declaration
- type DeleteFile
- type DirectoryEntry
- type DirectorySearchResult
- type Empty
- type Expr
- type FetchFileDiffResponse
- type FetchFileGitStatusesResponse
- type FetchGitAheadBehindResponse
- type FetchRemoteBranchesResponse
- type FetchRepositoryHistoryResponse
- type FileOperation
- type FileSearchResult
- type GitRemoteSettings
- type IncrementalTableConfig
- type InstallNpmPackagesRequest
- type InstallNpmPackagesResponse
- type Interval
- type InvocationConfig
- type ListCompilationResultsResponse
- type ListLocationsResponse
- type ListReleaseConfigsResponse
- type ListRepositoriesResponse
- type ListWorkflowConfigsResponse
- type ListWorkflowInvocationsResponse
- type ListWorkspacesResponse
- type Location
- type MakeDirectoryRequest
- type MakeDirectoryResponse
- type MoveDirectoryRequest
- type MoveDirectoryResponse
- type MoveFileRequest
- type MoveFileResponse
- type OperationMetadata
- type Operations
- type Policy
- type ProjectsLocationsCollectionsGetIamPolicyCall
- func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsCollectionsGetIamPolicyCall
- func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsGetIamPolicyCall
- func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsGetIamPolicyCall
- func (c *ProjectsLocationsCollectionsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsCollectionsGetIamPolicyCall
- type ProjectsLocationsCollectionsService
- func (r *ProjectsLocationsCollectionsService) GetIamPolicy(resource string) *ProjectsLocationsCollectionsGetIamPolicyCall
- func (r *ProjectsLocationsCollectionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsCollectionsSetIamPolicyCall
- func (r *ProjectsLocationsCollectionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsCollectionsTestIamPermissionsCall
- type ProjectsLocationsCollectionsSetIamPolicyCall
- func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsCollectionsSetIamPolicyCall
- func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsSetIamPolicyCall
- func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsCollectionsTestIamPermissionsCall
- func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsCollectionsTestIamPermissionsCall
- func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsTestIamPermissionsCall
- func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) 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 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 ProjectsLocationsRepositoriesCommitCall
- func (c *ProjectsLocationsRepositoriesCommitCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCommitCall
- func (c *ProjectsLocationsRepositoriesCommitCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesCommitCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCommitCall
- func (c *ProjectsLocationsRepositoriesCommitCall) Header() http.Header
- type ProjectsLocationsRepositoriesCompilationResultsCreateCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsCreateCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Do(opts ...googleapi.CallOption) (*CompilationResult, error)
- func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsCreateCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Header() http.Header
- type ProjectsLocationsRepositoriesCompilationResultsGetCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsGetCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Do(opts ...googleapi.CallOption) (*CompilationResult, error)
- func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsGetCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesCompilationResultsGetCall
- type ProjectsLocationsRepositoriesCompilationResultsListCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsListCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Do(opts ...googleapi.CallOption) (*ListCompilationResultsResponse, error)
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsListCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Filter(filter string) *ProjectsLocationsRepositoriesCompilationResultsListCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesCompilationResultsListCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesCompilationResultsListCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesCompilationResultsListCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Pages(ctx context.Context, f func(*ListCompilationResultsResponse) error) error
- type ProjectsLocationsRepositoriesCompilationResultsQueryCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Do(opts ...googleapi.CallOption) (*QueryCompilationResultActionsResponse, error)
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Filter(filter string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
- func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Pages(ctx context.Context, f func(*QueryCompilationResultActionsResponse) error) error
- type ProjectsLocationsRepositoriesCompilationResultsService
- func (r *ProjectsLocationsRepositoriesCompilationResultsService) Create(parent string, compilationresult *CompilationResult) *ProjectsLocationsRepositoriesCompilationResultsCreateCall
- func (r *ProjectsLocationsRepositoriesCompilationResultsService) Get(name string) *ProjectsLocationsRepositoriesCompilationResultsGetCall
- func (r *ProjectsLocationsRepositoriesCompilationResultsService) List(parent string) *ProjectsLocationsRepositoriesCompilationResultsListCall
- func (r *ProjectsLocationsRepositoriesCompilationResultsService) Query(name string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
- type ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
- func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
- func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Do(opts ...googleapi.CallOption) (*ComputeRepositoryAccessTokenStatusResponse, error)
- func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
- func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
- type ProjectsLocationsRepositoriesCreateCall
- func (c *ProjectsLocationsRepositoriesCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCreateCall
- func (c *ProjectsLocationsRepositoriesCreateCall) Do(opts ...googleapi.CallOption) (*Repository, error)
- func (c *ProjectsLocationsRepositoriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCreateCall
- func (c *ProjectsLocationsRepositoriesCreateCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesCreateCall) RepositoryId(repositoryId string) *ProjectsLocationsRepositoriesCreateCall
- type ProjectsLocationsRepositoriesDeleteCall
- func (c *ProjectsLocationsRepositoriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesDeleteCall
- func (c *ProjectsLocationsRepositoriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesDeleteCall
- func (c *ProjectsLocationsRepositoriesDeleteCall) Force(force bool) *ProjectsLocationsRepositoriesDeleteCall
- func (c *ProjectsLocationsRepositoriesDeleteCall) Header() http.Header
- type ProjectsLocationsRepositoriesFetchHistoryCall
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesFetchHistoryCall
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Do(opts ...googleapi.CallOption) (*FetchRepositoryHistoryResponse, error)
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesFetchHistoryCall
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesFetchHistoryCall
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesFetchHistoryCall
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesFetchHistoryCall
- func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Pages(ctx context.Context, f func(*FetchRepositoryHistoryResponse) error) error
- type ProjectsLocationsRepositoriesFetchRemoteBranchesCall
- func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
- func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Do(opts ...googleapi.CallOption) (*FetchRemoteBranchesResponse, error)
- func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
- func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
- type ProjectsLocationsRepositoriesGetCall
- func (c *ProjectsLocationsRepositoriesGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesGetCall
- func (c *ProjectsLocationsRepositoriesGetCall) Do(opts ...googleapi.CallOption) (*Repository, error)
- func (c *ProjectsLocationsRepositoriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesGetCall
- func (c *ProjectsLocationsRepositoriesGetCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesGetCall
- type ProjectsLocationsRepositoriesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsRepositoriesGetIamPolicyCall
- type ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) Do(opts ...googleapi.CallOption) (*ListRepositoriesResponse, error)
- func (c *ProjectsLocationsRepositoriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) Filter(filter string) *ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesListCall
- func (c *ProjectsLocationsRepositoriesListCall) Pages(ctx context.Context, f func(*ListRepositoriesResponse) error) error
- type ProjectsLocationsRepositoriesPatchCall
- func (c *ProjectsLocationsRepositoriesPatchCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesPatchCall
- func (c *ProjectsLocationsRepositoriesPatchCall) Do(opts ...googleapi.CallOption) (*Repository, error)
- func (c *ProjectsLocationsRepositoriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesPatchCall
- func (c *ProjectsLocationsRepositoriesPatchCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRepositoriesPatchCall
- type ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) CommitSha(commitSha string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Do(opts ...googleapi.CallOption) (*QueryRepositoryDirectoryContentsResponse, error)
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Pages(ctx context.Context, f func(*QueryRepositoryDirectoryContentsResponse) error) error
- func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Path(path string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- type ProjectsLocationsRepositoriesReadFileCall
- func (c *ProjectsLocationsRepositoriesReadFileCall) CommitSha(commitSha string) *ProjectsLocationsRepositoriesReadFileCall
- func (c *ProjectsLocationsRepositoriesReadFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReadFileCall
- func (c *ProjectsLocationsRepositoriesReadFileCall) Do(opts ...googleapi.CallOption) (*ReadRepositoryFileResponse, error)
- func (c *ProjectsLocationsRepositoriesReadFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReadFileCall
- func (c *ProjectsLocationsRepositoriesReadFileCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesReadFileCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesReadFileCall
- func (c *ProjectsLocationsRepositoriesReadFileCall) Path(path string) *ProjectsLocationsRepositoriesReadFileCall
- type ProjectsLocationsRepositoriesReleaseConfigsCreateCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Do(opts ...googleapi.CallOption) (*ReleaseConfig, error)
- func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) ReleaseConfigId(releaseConfigId string) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
- type ProjectsLocationsRepositoriesReleaseConfigsDeleteCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Header() http.Header
- type ProjectsLocationsRepositoriesReleaseConfigsGetCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Do(opts ...googleapi.CallOption) (*ReleaseConfig, error)
- func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
- type ProjectsLocationsRepositoriesReleaseConfigsListCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsListCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Do(opts ...googleapi.CallOption) (*ListReleaseConfigsResponse, error)
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsListCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesReleaseConfigsListCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesReleaseConfigsListCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesReleaseConfigsListCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Pages(ctx context.Context, f func(*ListReleaseConfigsResponse) error) error
- type ProjectsLocationsRepositoriesReleaseConfigsPatchCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Do(opts ...googleapi.CallOption) (*ReleaseConfig, error)
- func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
- func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
- type ProjectsLocationsRepositoriesReleaseConfigsService
- func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Create(parent string, releaseconfig *ReleaseConfig) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
- func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Delete(name string) *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall
- func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Get(name string) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
- func (r *ProjectsLocationsRepositoriesReleaseConfigsService) List(parent string) *ProjectsLocationsRepositoriesReleaseConfigsListCall
- func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Patch(name string, releaseconfig *ReleaseConfig) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
- type ProjectsLocationsRepositoriesService
- func (r *ProjectsLocationsRepositoriesService) Commit(name string, commitrepositorychangesrequest *CommitRepositoryChangesRequest) *ProjectsLocationsRepositoriesCommitCall
- func (r *ProjectsLocationsRepositoriesService) ComputeAccessTokenStatus(name string) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
- func (r *ProjectsLocationsRepositoriesService) Create(parent string, repository *Repository) *ProjectsLocationsRepositoriesCreateCall
- func (r *ProjectsLocationsRepositoriesService) Delete(name string) *ProjectsLocationsRepositoriesDeleteCall
- func (r *ProjectsLocationsRepositoriesService) FetchHistory(name string) *ProjectsLocationsRepositoriesFetchHistoryCall
- func (r *ProjectsLocationsRepositoriesService) FetchRemoteBranches(name string) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
- func (r *ProjectsLocationsRepositoriesService) Get(name string) *ProjectsLocationsRepositoriesGetCall
- func (r *ProjectsLocationsRepositoriesService) GetIamPolicy(resource string) *ProjectsLocationsRepositoriesGetIamPolicyCall
- func (r *ProjectsLocationsRepositoriesService) List(parent string) *ProjectsLocationsRepositoriesListCall
- func (r *ProjectsLocationsRepositoriesService) Patch(name string, repository *Repository) *ProjectsLocationsRepositoriesPatchCall
- func (r *ProjectsLocationsRepositoriesService) QueryDirectoryContents(name string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
- func (r *ProjectsLocationsRepositoriesService) ReadFile(name string) *ProjectsLocationsRepositoriesReadFileCall
- func (r *ProjectsLocationsRepositoriesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRepositoriesSetIamPolicyCall
- func (r *ProjectsLocationsRepositoriesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRepositoriesTestIamPermissionsCall
- type ProjectsLocationsRepositoriesSetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesSetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesSetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsRepositoriesTestIamPermissionsCall
- func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesTestIamPermissionsCall
- func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesTestIamPermissionsCall
- func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Do(opts ...googleapi.CallOption) (*WorkflowConfig, error)
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) WorkflowConfigId(workflowConfigId string) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
- type ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkflowConfigsGetCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Do(opts ...googleapi.CallOption) (*WorkflowConfig, error)
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
- type ProjectsLocationsRepositoriesWorkflowConfigsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Do(opts ...googleapi.CallOption) (*ListWorkflowConfigsResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Pages(ctx context.Context, f func(*ListWorkflowConfigsResponse) error) error
- type ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Do(opts ...googleapi.CallOption) (*WorkflowConfig, error)
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
- type ProjectsLocationsRepositoriesWorkflowConfigsService
- func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Create(parent string, workflowconfig *WorkflowConfig) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
- func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Delete(name string) *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall
- func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Get(name string) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
- func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) List(parent string) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
- func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Patch(name string, workflowconfig *WorkflowConfig) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
- type ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Do(opts ...googleapi.CallOption) (*WorkflowInvocation, error)
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Do(opts ...googleapi.CallOption) (*WorkflowInvocation, error)
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
- type ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Do(opts ...googleapi.CallOption) (*ListWorkflowInvocationsResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Filter(filter string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Pages(ctx context.Context, f func(*ListWorkflowInvocationsResponse) error) error
- type ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Do(opts ...googleapi.CallOption) (*QueryWorkflowInvocationActionsResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
- func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Pages(ctx context.Context, f func(*QueryWorkflowInvocationActionsResponse) error) error
- type ProjectsLocationsRepositoriesWorkflowInvocationsService
- func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Cancel(name string, cancelworkflowinvocationrequest *CancelWorkflowInvocationRequest) *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall
- func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Create(parent string, workflowinvocation *WorkflowInvocation) *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall
- func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Delete(name string) *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall
- func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Get(name string) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
- func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) List(parent string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
- func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Query(name string) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
- type ProjectsLocationsRepositoriesWorkspacesCommitCall
- func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesCommitCall
- func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesCommitCall
- func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesCreateCall
- func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesCreateCall
- func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesCreateCall
- func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) WorkspaceId(workspaceId string) *ProjectsLocationsRepositoriesWorkspacesCreateCall
- type ProjectsLocationsRepositoriesWorkspacesDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesDeleteCall
- func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Do(opts ...googleapi.CallOption) (*FetchFileDiffResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Path(path string) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
- type ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Do(opts ...googleapi.CallOption) (*FetchFileGitStatusesResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
- type ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Do(opts ...googleapi.CallOption) (*FetchGitAheadBehindResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
- func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) RemoteBranch(remoteBranch string) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
- type ProjectsLocationsRepositoriesWorkspacesGetCall
- func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesGetCall
- func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesGetCall
- func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesGetCall
- type ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
- type ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Do(opts ...googleapi.CallOption) (*InstallNpmPackagesResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Do(opts ...googleapi.CallOption) (*ListWorkspacesResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Filter(filter string) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Pages(ctx context.Context, f func(*ListWorkspacesResponse) error) error
- type ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Do(opts ...googleapi.CallOption) (*MakeDirectoryResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Do(opts ...googleapi.CallOption) (*MoveDirectoryResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesMoveFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesMoveFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Do(opts ...googleapi.CallOption) (*MoveFileResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesMoveFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesPullCall
- func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesPullCall
- func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesPullCall
- func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesPushCall
- func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesPushCall
- func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesPushCall
- func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Do(opts ...googleapi.CallOption) (*QueryDirectoryContentsResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Pages(ctx context.Context, f func(*QueryDirectoryContentsResponse) error) error
- func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Path(path string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- type ProjectsLocationsRepositoriesWorkspacesReadFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Do(opts ...googleapi.CallOption) (*ReadFileResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Path(path string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Revision(revision string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
- type ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesRemoveFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesResetCall
- func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesResetCall
- func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesResetCall
- func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Do(opts ...googleapi.CallOption) (*SearchFilesResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Filter(filter string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Header() http.Header
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Pages(ctx context.Context, f func(*SearchFilesResponse) error) error
- type ProjectsLocationsRepositoriesWorkspacesService
- func (r *ProjectsLocationsRepositoriesWorkspacesService) Commit(name string, commitworkspacechangesrequest *CommitWorkspaceChangesRequest) *ProjectsLocationsRepositoriesWorkspacesCommitCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) Create(parent string, workspace *Workspace) *ProjectsLocationsRepositoriesWorkspacesCreateCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) Delete(name string) *ProjectsLocationsRepositoriesWorkspacesDeleteCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) FetchFileDiff(workspace string) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) FetchFileGitStatuses(name string) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) FetchGitAheadBehind(name string) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) Get(name string) *ProjectsLocationsRepositoriesWorkspacesGetCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) GetIamPolicy(resource string) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) InstallNpmPackages(workspace string, installnpmpackagesrequest *InstallNpmPackagesRequest) *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) List(parent string) *ProjectsLocationsRepositoriesWorkspacesListCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) MakeDirectory(workspace string, makedirectoryrequest *MakeDirectoryRequest) *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) MoveDirectory(workspace string, movedirectoryrequest *MoveDirectoryRequest) *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) MoveFile(workspace string, movefilerequest *MoveFileRequest) *ProjectsLocationsRepositoriesWorkspacesMoveFileCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) Pull(name string, pullgitcommitsrequest *PullGitCommitsRequest) *ProjectsLocationsRepositoriesWorkspacesPullCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) Push(name string, pushgitcommitsrequest *PushGitCommitsRequest) *ProjectsLocationsRepositoriesWorkspacesPushCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) QueryDirectoryContents(workspace string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) ReadFile(workspace string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) RemoveDirectory(workspace string, removedirectoryrequest *RemoveDirectoryRequest) *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) RemoveFile(workspace string, removefilerequest *RemoveFileRequest) *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) Reset(name string, resetworkspacechangesrequest *ResetWorkspaceChangesRequest) *ProjectsLocationsRepositoriesWorkspacesResetCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) SearchFiles(workspace string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall
- func (r *ProjectsLocationsRepositoriesWorkspacesService) WriteFile(workspace string, writefilerequest *WriteFileRequest) *ProjectsLocationsRepositoriesWorkspacesWriteFileCall
- type ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall
- func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall
- func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsRepositoriesWorkspacesWriteFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesWriteFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Do(opts ...googleapi.CallOption) (*WriteFileResponse, error)
- func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesWriteFileCall
- func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Header() http.Header
- type ProjectsLocationsService
- type ProjectsService
- type PullGitCommitsRequest
- type PushGitCommitsRequest
- type QueryCompilationResultActionsResponse
- type QueryDirectoryContentsResponse
- type QueryRepositoryDirectoryContentsResponse
- type QueryWorkflowInvocationActionsResponse
- type ReadFileResponse
- type ReadRepositoryFileResponse
- type Relation
- type RelationDescriptor
- type ReleaseConfig
- type RemoveDirectoryRequest
- type RemoveFileRequest
- type Repository
- type ResetWorkspaceChangesRequest
- type ScheduledExecutionRecord
- type ScheduledReleaseRecord
- type SearchFilesResponse
- type SearchResult
- type Service
- type SetIamPolicyRequest
- type SshAuthenticationConfig
- type Status
- type Target
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
- type UncommittedFileChange
- type WorkflowConfig
- type WorkflowInvocation
- type WorkflowInvocationAction
- type Workspace
- type WorkspaceCompilationOverrides
- type WriteFile
- type WriteFileRequest
- type WriteFileResponse
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 ¶
type Assertion ¶
type Assertion struct { // DependencyTargets: A list of actions that this action depends on. DependencyTargets []*Target `json:"dependencyTargets,omitempty"` // Disabled: Whether this action is disabled (i.e. should not be run). Disabled bool `json:"disabled,omitempty"` // ParentAction: The parent action of this assertion. Only set if this // assertion was automatically generated. ParentAction *Target `json:"parentAction,omitempty"` // RelationDescriptor: Descriptor for the assertion's // automatically-generated view and its columns. RelationDescriptor *RelationDescriptor `json:"relationDescriptor,omitempty"` // SelectQuery: The SELECT query which must return zero rows in order // for this assertion to succeed. SelectQuery string `json:"selectQuery,omitempty"` // Tags: Arbitrary, user-defined tags on this action. Tags []string `json:"tags,omitempty"` // ForceSendFields is a list of field names (e.g. "DependencyTargets") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DependencyTargets") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Assertion: Represents an assertion upon a SQL query which is required return zero rows.
func (*Assertion) MarshalJSON ¶
type BigQueryAction ¶
type BigQueryAction struct { // SqlScript: Output only. The generated BigQuery SQL script that will // be executed. SqlScript string `json:"sqlScript,omitempty"` // ForceSendFields is a list of field names (e.g. "SqlScript") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SqlScript") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BigQueryAction: Represents a workflow action that will run against BigQuery.
func (*BigQueryAction) MarshalJSON ¶
func (s *BigQueryAction) MarshalJSON() ([]byte, error)
type Binding ¶
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`. * // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_ // id}/subject/{subject_attribute_value}`: A single identity in a // workforce identity pool. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po // ol_id}/group/{group_id}`: All workforce identities in a group. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po // ol_id}/attribute.{attribute_name}/{attribute_value}`: All workforce // identities with a specific attribute value. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{po // ol_id}/*`: All identities in a workforce identity pool. * // `principal://iam.googleapis.com/projects/{project_number}/locations/gl // obal/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value} // `: A single identity in a workload identity pool. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations // /global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload // identity pool group. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations // /global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{at // tribute_value}`: All identities in a workload identity pool with a // certain attribute. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations // /global/workloadIdentityPools/{pool_id}/*`: All identities in a // workload identity pool. * `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. * // `deleted:principal://iam.googleapis.com/locations/global/workforcePool // s/{pool_id}/subject/{subject_attribute_value}`: Deleted single // identity in a workforce identity pool. For example, // `deleted:principal://iam.googleapis.com/locations/global/workforcePool // s/my-pool-id/subject/my-subject-attribute-value`. 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`. For an // overview of the IAM roles and permissions, see the IAM documentation // (https://cloud.google.com/iam/docs/roles-overview). For a list of the // available pre-defined roles, see here // (https://cloud.google.com/iam/docs/understanding-roles). Role string `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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Binding: Associates `members`, or principals, with a `role`.
func (*Binding) MarshalJSON ¶
type CancelWorkflowInvocationRequest ¶
type CancelWorkflowInvocationRequest struct { }
CancelWorkflowInvocationRequest: `CancelWorkflowInvocation` request message.
type CodeCompilationConfig ¶
type CodeCompilationConfig struct { // AssertionSchema: Optional. The default schema (BigQuery dataset ID) // for assertions. AssertionSchema string `json:"assertionSchema,omitempty"` // DatabaseSuffix: Optional. The suffix that should be appended to all // database (Google Cloud project ID) names. DatabaseSuffix string `json:"databaseSuffix,omitempty"` // DefaultDatabase: Optional. The default database (Google Cloud project // ID). DefaultDatabase string `json:"defaultDatabase,omitempty"` // DefaultLocation: Optional. The default BigQuery location to use. // Defaults to "US". See the BigQuery docs for a full list of locations: // https://cloud.google.com/bigquery/docs/locations. DefaultLocation string `json:"defaultLocation,omitempty"` // DefaultSchema: Optional. The default schema (BigQuery dataset ID). DefaultSchema string `json:"defaultSchema,omitempty"` // SchemaSuffix: Optional. The suffix that should be appended to all // schema (BigQuery dataset ID) names. SchemaSuffix string `json:"schemaSuffix,omitempty"` // TablePrefix: Optional. The prefix that should be prepended to all // table names. TablePrefix string `json:"tablePrefix,omitempty"` // Vars: Optional. User-defined variables that are made available to // project code during compilation. Vars map[string]string `json:"vars,omitempty"` // ForceSendFields is a list of field names (e.g. "AssertionSchema") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssertionSchema") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CodeCompilationConfig: Configures various aspects of Dataform code compilation.
func (*CodeCompilationConfig) MarshalJSON ¶
func (s *CodeCompilationConfig) MarshalJSON() ([]byte, error)
type ColumnDescriptor ¶
type ColumnDescriptor struct { // BigqueryPolicyTags: A list of BigQuery policy tags that will be // applied to the column. BigqueryPolicyTags []string `json:"bigqueryPolicyTags,omitempty"` // Description: A textual description of the column. Description string `json:"description,omitempty"` // Path: The identifier for the column. Each entry in `path` represents // one level of nesting. Path []string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryPolicyTags") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryPolicyTags") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ColumnDescriptor: Describes a column.
func (*ColumnDescriptor) MarshalJSON ¶
func (s *ColumnDescriptor) MarshalJSON() ([]byte, error)
type CommitAuthor ¶
type CommitAuthor struct { // EmailAddress: Required. The commit author's email address. EmailAddress string `json:"emailAddress,omitempty"` // Name: Required. The commit author's name. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "EmailAddress") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EmailAddress") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CommitAuthor: Represents the author of a Git commit.
func (*CommitAuthor) MarshalJSON ¶
func (s *CommitAuthor) MarshalJSON() ([]byte, error)
type CommitLogEntry ¶
type CommitLogEntry struct { // Author: The commit author for this commit log entry. Author *CommitAuthor `json:"author,omitempty"` // CommitMessage: The commit message for this commit log entry. CommitMessage string `json:"commitMessage,omitempty"` // CommitSha: The commit SHA for this commit log entry. CommitSha string `json:"commitSha,omitempty"` // CommitTime: Commit timestamp. CommitTime string `json:"commitTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Author") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Author") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CommitLogEntry: Represents a single commit log.
func (*CommitLogEntry) MarshalJSON ¶
func (s *CommitLogEntry) MarshalJSON() ([]byte, error)
type CommitMetadata ¶
type CommitMetadata struct { // Author: Required. The commit's author. Author *CommitAuthor `json:"author,omitempty"` // CommitMessage: Optional. The commit's message. CommitMessage string `json:"commitMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "Author") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Author") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CommitMetadata: Represents a Dataform Git commit.
func (*CommitMetadata) MarshalJSON ¶
func (s *CommitMetadata) MarshalJSON() ([]byte, error)
type CommitRepositoryChangesRequest ¶
type CommitRepositoryChangesRequest struct { // CommitMetadata: Required. The changes to commit to the repository. CommitMetadata *CommitMetadata `json:"commitMetadata,omitempty"` // FileOperations: A map to the path of the file to the operation. The // path is the full file path including filename, from repository root. FileOperations map[string]FileOperation `json:"fileOperations,omitempty"` // RequiredHeadCommitSha: Optional. The commit SHA which must be the // repository's current HEAD before applying this commit; otherwise this // request will fail. If unset, no validation on the current HEAD commit // SHA is performed. RequiredHeadCommitSha string `json:"requiredHeadCommitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "CommitMetadata") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CommitMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CommitRepositoryChangesRequest: `CommitRepositoryChanges` request message.
func (*CommitRepositoryChangesRequest) MarshalJSON ¶
func (s *CommitRepositoryChangesRequest) MarshalJSON() ([]byte, error)
type CommitWorkspaceChangesRequest ¶
type CommitWorkspaceChangesRequest struct { // Author: Required. The commit's author. Author *CommitAuthor `json:"author,omitempty"` // CommitMessage: Optional. The commit's message. CommitMessage string `json:"commitMessage,omitempty"` // Paths: Optional. Full file paths to commit including filename, rooted // at workspace root. If left empty, all files will be committed. Paths []string `json:"paths,omitempty"` // ForceSendFields is a list of field names (e.g. "Author") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Author") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CommitWorkspaceChangesRequest: `CommitWorkspaceChanges` request message.
func (*CommitWorkspaceChangesRequest) MarshalJSON ¶
func (s *CommitWorkspaceChangesRequest) MarshalJSON() ([]byte, error)
type CompilationError ¶
type CompilationError struct { // ActionTarget: Output only. The identifier of the action where this // error occurred, if available. ActionTarget *Target `json:"actionTarget,omitempty"` // Message: Output only. The error's top level message. Message string `json:"message,omitempty"` // Path: Output only. The path of the file where this error occurred, if // available, relative to the project root. Path string `json:"path,omitempty"` // Stack: Output only. The error's full stack trace. Stack string `json:"stack,omitempty"` // ForceSendFields is a list of field names (e.g. "ActionTarget") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActionTarget") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CompilationError: An error encountered when attempting to compile a Dataform project.
func (*CompilationError) MarshalJSON ¶
func (s *CompilationError) MarshalJSON() ([]byte, error)
type CompilationResult ¶
type CompilationResult struct { // CodeCompilationConfig: Immutable. If set, fields of // `code_compilation_config` override the default compilation settings // that are specified in dataform.json. CodeCompilationConfig *CodeCompilationConfig `json:"codeCompilationConfig,omitempty"` // CompilationErrors: Output only. Errors encountered during project // compilation. CompilationErrors []*CompilationError `json:"compilationErrors,omitempty"` // DataformCoreVersion: Output only. The version of `@dataform/core` // that was used for compilation. DataformCoreVersion string `json:"dataformCoreVersion,omitempty"` // GitCommitish: Immutable. Git commit/tag/branch name at which the // repository should be compiled. Must exist in the remote repository. // Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: // `branch1` GitCommitish string `json:"gitCommitish,omitempty"` // Name: Output only. The compilation result's name. Name string `json:"name,omitempty"` // ReleaseConfig: Immutable. The name of the release config to compile. // Must be in the format // `projects/*/locations/*/repositories/*/releaseConfigs/*`. ReleaseConfig string `json:"releaseConfig,omitempty"` // ResolvedGitCommitSha: Output only. The fully resolved Git commit SHA // of the code that was compiled. Not set for compilation results whose // source is a workspace. ResolvedGitCommitSha string `json:"resolvedGitCommitSha,omitempty"` // Workspace: Immutable. The name of the workspace to compile. Must be // in the format `projects/*/locations/*/repositories/*/workspaces/*`. Workspace string `json:"workspace,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "CodeCompilationConfig") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CodeCompilationConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CompilationResult: Represents the result of compiling a Dataform project.
func (*CompilationResult) MarshalJSON ¶
func (s *CompilationResult) MarshalJSON() ([]byte, error)
type CompilationResultAction ¶
type CompilationResultAction struct { // Assertion: The assertion executed by this action. Assertion *Assertion `json:"assertion,omitempty"` // CanonicalTarget: The action's identifier if the project had been // compiled without any overrides configured. Unique within the // compilation result. CanonicalTarget *Target `json:"canonicalTarget,omitempty"` // Declaration: The declaration declared by this action. Declaration *Declaration `json:"declaration,omitempty"` // FilePath: The full path including filename in which this action is // located, relative to the workspace root. FilePath string `json:"filePath,omitempty"` // Operations: The database operations executed by this action. Operations *Operations `json:"operations,omitempty"` // Relation: The database relation created/updated by this action. Relation *Relation `json:"relation,omitempty"` // Target: This action's identifier. Unique within the compilation // result. Target *Target `json:"target,omitempty"` // ForceSendFields is a list of field names (e.g. "Assertion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Assertion") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CompilationResultAction: Represents a single Dataform action in a compilation result.
func (*CompilationResultAction) MarshalJSON ¶
func (s *CompilationResultAction) MarshalJSON() ([]byte, error)
type ComputeRepositoryAccessTokenStatusResponse ¶
type ComputeRepositoryAccessTokenStatusResponse struct { // TokenStatus: Indicates the status of the Git access token. // // Possible values: // "TOKEN_STATUS_UNSPECIFIED" - Default value. This value is unused. // "NOT_FOUND" - The token could not be found in Secret Manager (or // the Dataform Service Account did not have permission to access it). // "INVALID" - The token could not be used to authenticate against the // Git remote. // "VALID" - The token was used successfully to authenticate against // the Git remote. TokenStatus string `json:"tokenStatus,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TokenStatus") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TokenStatus") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ComputeRepositoryAccessTokenStatusResponse: `ComputeRepositoryAccessTokenStatus` response message.
func (*ComputeRepositoryAccessTokenStatusResponse) MarshalJSON ¶
func (s *ComputeRepositoryAccessTokenStatusResponse) MarshalJSON() ([]byte, error)
type Declaration ¶
type Declaration struct { // RelationDescriptor: Descriptor for the relation and its columns. Used // as documentation only, i.e. values here will result in no changes to // the relation's metadata. RelationDescriptor *RelationDescriptor `json:"relationDescriptor,omitempty"` // ForceSendFields is a list of field names (e.g. "RelationDescriptor") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RelationDescriptor") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Declaration: Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.
func (*Declaration) MarshalJSON ¶
func (s *Declaration) MarshalJSON() ([]byte, error)
type DirectoryEntry ¶
type DirectoryEntry struct { // Directory: A child directory in the directory. Directory string `json:"directory,omitempty"` // File: A file in the directory. File string `json:"file,omitempty"` // ForceSendFields is a list of field names (e.g. "Directory") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Directory") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DirectoryEntry: Represents a single entry in a directory.
func (*DirectoryEntry) MarshalJSON ¶
func (s *DirectoryEntry) MarshalJSON() ([]byte, error)
type DirectorySearchResult ¶
type DirectorySearchResult struct { // Path: File system path relative to the workspace root. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Path") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DirectorySearchResult: Client-facing representation of a directory entry in search results.
func (*DirectorySearchResult) MarshalJSON ¶
func (s *DirectorySearchResult) MarshalJSON() ([]byte, error)
type Empty ¶
type Empty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type Expr ¶
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. Description string `json:"description,omitempty"` // Expression: Textual representation of an expression in Common // Expression Language syntax. Expression string `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. Location string `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. Title string `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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor 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 message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (*Expr) MarshalJSON ¶
type FetchFileDiffResponse ¶
type FetchFileDiffResponse struct { // FormattedDiff: The raw formatted Git diff for the file. FormattedDiff string `json:"formattedDiff,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FormattedDiff") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FormattedDiff") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FetchFileDiffResponse: `FetchFileDiff` response message.
func (*FetchFileDiffResponse) MarshalJSON ¶
func (s *FetchFileDiffResponse) MarshalJSON() ([]byte, error)
type FetchFileGitStatusesResponse ¶
type FetchFileGitStatusesResponse struct { // UncommittedFileChanges: A list of all files which have uncommitted // Git changes. There will only be a single entry for any given file. UncommittedFileChanges []*UncommittedFileChange `json:"uncommittedFileChanges,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "UncommittedFileChanges") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UncommittedFileChanges") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
FetchFileGitStatusesResponse: `FetchFileGitStatuses` response message.
func (*FetchFileGitStatusesResponse) MarshalJSON ¶
func (s *FetchFileGitStatusesResponse) MarshalJSON() ([]byte, error)
type FetchGitAheadBehindResponse ¶
type FetchGitAheadBehindResponse struct { // CommitsAhead: The number of commits in the remote branch that are not // in the workspace. CommitsAhead int64 `json:"commitsAhead,omitempty"` // CommitsBehind: The number of commits in the workspace that are not in // the remote branch. CommitsBehind int64 `json:"commitsBehind,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CommitsAhead") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CommitsAhead") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FetchGitAheadBehindResponse: `FetchGitAheadBehind` response message.
func (*FetchGitAheadBehindResponse) MarshalJSON ¶
func (s *FetchGitAheadBehindResponse) MarshalJSON() ([]byte, error)
type FetchRemoteBranchesResponse ¶
type FetchRemoteBranchesResponse struct { // Branches: The remote repository's branch names. Branches []string `json:"branches,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Branches") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Branches") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FetchRemoteBranchesResponse: `FetchRemoteBranches` response message.
func (*FetchRemoteBranchesResponse) MarshalJSON ¶
func (s *FetchRemoteBranchesResponse) MarshalJSON() ([]byte, error)
type FetchRepositoryHistoryResponse ¶
type FetchRepositoryHistoryResponse struct { // Commits: A list of commit logs, ordered by 'git log' default order. Commits []*CommitLogEntry `json:"commits,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. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Commits") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Commits") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FetchRepositoryHistoryResponse: `FetchRepositoryHistory` response message.
func (*FetchRepositoryHistoryResponse) MarshalJSON ¶
func (s *FetchRepositoryHistoryResponse) MarshalJSON() ([]byte, error)
type FileOperation ¶
type FileOperation struct { // DeleteFile: Represents the delete operation. DeleteFile *DeleteFile `json:"deleteFile,omitempty"` // WriteFile: Represents the write operation. WriteFile *WriteFile `json:"writeFile,omitempty"` // ForceSendFields is a list of field names (e.g. "DeleteFile") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeleteFile") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FileOperation: Represents a single file operation to the repository.
func (*FileOperation) MarshalJSON ¶
func (s *FileOperation) MarshalJSON() ([]byte, error)
type FileSearchResult ¶
type FileSearchResult struct { // Path: File system path relative to the workspace root. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Path") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FileSearchResult: Client-facing representation of a file entry in search results.
func (*FileSearchResult) MarshalJSON ¶
func (s *FileSearchResult) MarshalJSON() ([]byte, error)
type GitRemoteSettings ¶
type GitRemoteSettings struct { // AuthenticationTokenSecretVersion: Optional. The name of the Secret // Manager secret version to use as an authentication token for Git // operations. Must be in the format `projects/*/secrets/*/versions/*`. AuthenticationTokenSecretVersion string `json:"authenticationTokenSecretVersion,omitempty"` // DefaultBranch: Required. The Git remote's default branch name. DefaultBranch string `json:"defaultBranch,omitempty"` // SshAuthenticationConfig: Optional. Authentication fields for remote // uris using SSH protocol. SshAuthenticationConfig *SshAuthenticationConfig `json:"sshAuthenticationConfig,omitempty"` // TokenStatus: Output only. Deprecated: The field does not contain any // token status information. Instead use // https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus // // Possible values: // "TOKEN_STATUS_UNSPECIFIED" - Default value. This value is unused. // "NOT_FOUND" - The token could not be found in Secret Manager (or // the Dataform Service Account did not have permission to access it). // "INVALID" - The token could not be used to authenticate against the // Git remote. // "VALID" - The token was used successfully to authenticate against // the Git remote. TokenStatus string `json:"tokenStatus,omitempty"` // Url: Required. The Git remote's URL. Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. // "AuthenticationTokenSecretVersion") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AuthenticationTokenSecretVersion") to include in API requests with // the JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GitRemoteSettings: Controls Git remote configuration for a repository.
func (*GitRemoteSettings) MarshalJSON ¶
func (s *GitRemoteSettings) MarshalJSON() ([]byte, error)
type IncrementalTableConfig ¶
type IncrementalTableConfig struct { // IncrementalPostOperations: SQL statements to be executed after // inserting new rows into the relation. IncrementalPostOperations []string `json:"incrementalPostOperations,omitempty"` // IncrementalPreOperations: SQL statements to be executed before // inserting new rows into the relation. IncrementalPreOperations []string `json:"incrementalPreOperations,omitempty"` // IncrementalSelectQuery: The SELECT query which returns rows which // should be inserted into the relation if it already exists and is not // being refreshed. IncrementalSelectQuery string `json:"incrementalSelectQuery,omitempty"` // RefreshDisabled: Whether this table should be protected from being // refreshed. RefreshDisabled bool `json:"refreshDisabled,omitempty"` // UniqueKeyParts: A set of columns or SQL expressions used to define // row uniqueness. If any duplicates are discovered (as defined by // `unique_key_parts`), only the newly selected rows (as defined by // `incremental_select_query`) will be included in the relation. UniqueKeyParts []string `json:"uniqueKeyParts,omitempty"` // UpdatePartitionFilter: A SQL expression conditional used to limit the // set of existing rows considered for a merge operation (see // `unique_key_parts` for more information). UpdatePartitionFilter string `json:"updatePartitionFilter,omitempty"` // ForceSendFields is a list of field names (e.g. // "IncrementalPostOperations") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "IncrementalPostOperations") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
IncrementalTableConfig: Contains settings for relations of type `INCREMENTAL_TABLE`.
func (*IncrementalTableConfig) MarshalJSON ¶
func (s *IncrementalTableConfig) MarshalJSON() ([]byte, error)
type InstallNpmPackagesRequest ¶
type InstallNpmPackagesRequest struct { }
InstallNpmPackagesRequest: `InstallNpmPackages` request message.
type InstallNpmPackagesResponse ¶
type InstallNpmPackagesResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
InstallNpmPackagesResponse: `InstallNpmPackages` response message.
type Interval ¶
type Interval struct { // EndTime: Optional. Exclusive end of the interval. If specified, a // Timestamp matching this interval will have to be before the end. EndTime string `json:"endTime,omitempty"` // StartTime: Optional. Inclusive start of the interval. If specified, a // Timestamp matching this interval will have to be the same or after // the start. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Interval: Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
func (*Interval) MarshalJSON ¶
type InvocationConfig ¶
type InvocationConfig struct { // FullyRefreshIncrementalTablesEnabled: Optional. When set to true, any // incremental tables will be fully refreshed. FullyRefreshIncrementalTablesEnabled bool `json:"fullyRefreshIncrementalTablesEnabled,omitempty"` // IncludedTags: Optional. The set of tags to include. IncludedTags []string `json:"includedTags,omitempty"` // IncludedTargets: Optional. The set of action identifiers to include. IncludedTargets []*Target `json:"includedTargets,omitempty"` // ServiceAccount: Optional. The service account to run workflow // invocations under. ServiceAccount string `json:"serviceAccount,omitempty"` // TransitiveDependenciesIncluded: Optional. When set to true, // transitive dependencies of included actions will be executed. TransitiveDependenciesIncluded bool `json:"transitiveDependenciesIncluded,omitempty"` // TransitiveDependentsIncluded: Optional. When set to true, transitive // dependents of included actions will be executed. TransitiveDependentsIncluded bool `json:"transitiveDependentsIncluded,omitempty"` // ForceSendFields is a list of field names (e.g. // "FullyRefreshIncrementalTablesEnabled") to unconditionally include in // API requests. By default, fields with empty or default values are // omitted from API requests. However, any non-pointer, non-interface // field appearing in ForceSendFields will be sent to the server // regardless of whether the field is empty or not. This may be used to // include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "FullyRefreshIncrementalTablesEnabled") to include in API requests // with the JSON null value. By default, fields with empty values are // omitted from API requests. However, any field with an empty value // appearing in NullFields will be sent to the server as null. It is an // error if a field in this list has a non-empty value. This may be used // to include null fields in Patch requests. NullFields []string `json:"-"` }
InvocationConfig: Includes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` are unset, all actions will be included.
func (*InvocationConfig) MarshalJSON ¶
func (s *InvocationConfig) MarshalJSON() ([]byte, error)
type ListCompilationResultsResponse ¶
type ListCompilationResultsResponse struct { // CompilationResults: List of compilation results. CompilationResults []*CompilationResult `json:"compilationResults,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. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations which could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilationResults") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompilationResults") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListCompilationResultsResponse: `ListCompilationResults` response message.
func (*ListCompilationResultsResponse) MarshalJSON ¶
func (s *ListCompilationResultsResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶
type ListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in // the request. Locations []*Location `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Locations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Locations") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListLocationsResponse: The response message for Locations.ListLocations.
func (*ListLocationsResponse) MarshalJSON ¶
func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListReleaseConfigsResponse ¶
type ListReleaseConfigsResponse struct { // 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. NextPageToken string `json:"nextPageToken,omitempty"` // ReleaseConfigs: List of release configs. ReleaseConfigs []*ReleaseConfig `json:"releaseConfigs,omitempty"` // Unreachable: Locations which could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListReleaseConfigsResponse: `ListReleaseConfigs` response message.
func (*ListReleaseConfigsResponse) MarshalJSON ¶
func (s *ListReleaseConfigsResponse) MarshalJSON() ([]byte, error)
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct { // 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. NextPageToken string `json:"nextPageToken,omitempty"` // Repositories: List of repositories. Repositories []*Repository `json:"repositories,omitempty"` // Unreachable: Locations which could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListRepositoriesResponse: `ListRepositories` response message.
func (*ListRepositoriesResponse) MarshalJSON ¶
func (s *ListRepositoriesResponse) MarshalJSON() ([]byte, error)
type ListWorkflowConfigsResponse ¶
type ListWorkflowConfigsResponse struct { // 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. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations which could not be reached. Unreachable []string `json:"unreachable,omitempty"` // WorkflowConfigs: List of workflow configs. WorkflowConfigs []*WorkflowConfig `json:"workflowConfigs,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListWorkflowConfigsResponse: `ListWorkflowConfigs` response message.
func (*ListWorkflowConfigsResponse) MarshalJSON ¶
func (s *ListWorkflowConfigsResponse) MarshalJSON() ([]byte, error)
type ListWorkflowInvocationsResponse ¶
type ListWorkflowInvocationsResponse struct { // 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. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations which could not be reached. Unreachable []string `json:"unreachable,omitempty"` // WorkflowInvocations: List of workflow invocations. WorkflowInvocations []*WorkflowInvocation `json:"workflowInvocations,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListWorkflowInvocationsResponse: `ListWorkflowInvocations` response message.
func (*ListWorkflowInvocationsResponse) MarshalJSON ¶
func (s *ListWorkflowInvocationsResponse) MarshalJSON() ([]byte, error)
type ListWorkspacesResponse ¶
type ListWorkspacesResponse struct { // 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. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations which could not be reached. Unreachable []string `json:"unreachable,omitempty"` // Workspaces: List of workspaces. Workspaces []*Workspace `json:"workspaces,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListWorkspacesResponse: `ListWorkspaces` response message.
func (*ListWorkspacesResponse) MarshalJSON ¶
func (s *ListWorkspacesResponse) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct { // DisplayName: The friendly name for this location, typically a nearby // city name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: // "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available // capacity at the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Location: A resource that represents a Google Cloud location.
func (*Location) MarshalJSON ¶
type MakeDirectoryRequest ¶
type MakeDirectoryRequest struct { // Path: Required. The directory's full path including directory name, // relative to the workspace root. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Path") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MakeDirectoryRequest: `MakeDirectory` request message.
func (*MakeDirectoryRequest) MarshalJSON ¶
func (s *MakeDirectoryRequest) MarshalJSON() ([]byte, error)
type MakeDirectoryResponse ¶
type MakeDirectoryResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
MakeDirectoryResponse: `MakeDirectory` response message.
type MoveDirectoryRequest ¶
type MoveDirectoryRequest struct { // NewPath: Required. The new path for the directory including directory // name, rooted at workspace root. NewPath string `json:"newPath,omitempty"` // Path: Required. The directory's full path including directory name, // relative to the workspace root. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "NewPath") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NewPath") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MoveDirectoryRequest: `MoveDirectory` request message.
func (*MoveDirectoryRequest) MarshalJSON ¶
func (s *MoveDirectoryRequest) MarshalJSON() ([]byte, error)
type MoveDirectoryResponse ¶
type MoveDirectoryResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
MoveDirectoryResponse: `MoveDirectory` response message.
type MoveFileRequest ¶
type MoveFileRequest struct { // NewPath: Required. The file's new path including filename, relative // to the workspace root. NewPath string `json:"newPath,omitempty"` // Path: Required. The file's full path including filename, relative to // the workspace root. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "NewPath") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NewPath") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MoveFileRequest: `MoveFile` request message.
func (*MoveFileRequest) MarshalJSON ¶
func (s *MoveFileRequest) MarshalJSON() ([]byte, error)
type MoveFileResponse ¶
type MoveFileResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
MoveFileResponse: `MoveFile` response message.
type OperationMetadata ¶
type OperationMetadata struct { // ApiVersion: Output only. API version used to start the operation. ApiVersion string `json:"apiVersion,omitempty"` // CancelRequested: Output only. Identifies whether the user has // requested cancellation of the operation. Operations that have been // cancelled successfully have Operation.error value with a // google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. CancelRequested bool `json:"cancelRequested,omitempty"` // CreateTime: Output only. The time the operation was created. CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. The time the operation finished running. EndTime string `json:"endTime,omitempty"` // StatusDetail: Output only. Human-readable status of the operation, if // any. StatusDetail string `json:"statusDetail,omitempty"` // Target: Output only. Server-defined resource path for the target of // the operation. Target string `json:"target,omitempty"` // Verb: Output only. Name of the verb executed by the operation. Verb string `json:"verb,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApiVersion") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
OperationMetadata: Represents the metadata of the long-running operation.
func (*OperationMetadata) MarshalJSON ¶
func (s *OperationMetadata) MarshalJSON() ([]byte, error)
type Operations ¶
type Operations struct { // DependencyTargets: A list of actions that this action depends on. DependencyTargets []*Target `json:"dependencyTargets,omitempty"` // Disabled: Whether this action is disabled (i.e. should not be run). Disabled bool `json:"disabled,omitempty"` // HasOutput: Whether these operations produce an output relation. HasOutput bool `json:"hasOutput,omitempty"` // Queries: A list of arbitrary SQL statements that will be executed // without alteration. Queries []string `json:"queries,omitempty"` // RelationDescriptor: Descriptor for any output relation and its // columns. Only set if `has_output` is true. RelationDescriptor *RelationDescriptor `json:"relationDescriptor,omitempty"` // Tags: Arbitrary, user-defined tags on this action. Tags []string `json:"tags,omitempty"` // ForceSendFields is a list of field names (e.g. "DependencyTargets") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DependencyTargets") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Operations: Represents a list of arbitrary database operations.
func (*Operations) MarshalJSON ¶
func (s *Operations) MarshalJSON() ([]byte, error)
type Policy ¶
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. Etag string `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). Version int64 `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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bindings") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "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.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer 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 ``` For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).
func (*Policy) MarshalJSON ¶
type ProjectsLocationsCollectionsGetIamPolicyCall ¶
type ProjectsLocationsCollectionsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsCollectionsGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsCollectionsGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "dataform.projects.locations.collections.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsCollectionsGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsCollectionsGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsCollectionsGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsCollectionsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsGetIamPolicyCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsCollectionsGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsCollectionsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsCollectionsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsCollectionsService ¶
type ProjectsLocationsCollectionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsService ¶
func NewProjectsLocationsCollectionsService(s *Service) *ProjectsLocationsCollectionsService
func (*ProjectsLocationsCollectionsService) GetIamPolicy ¶
func (r *ProjectsLocationsCollectionsService) GetIamPolicy(resource string) *ProjectsLocationsCollectionsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty 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 (*ProjectsLocationsCollectionsService) SetIamPolicy ¶
func (r *ProjectsLocationsCollectionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsCollectionsSetIamPolicyCall
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 (*ProjectsLocationsCollectionsService) TestIamPermissions ¶
func (r *ProjectsLocationsCollectionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsCollectionsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type ProjectsLocationsCollectionsSetIamPolicyCall ¶
type ProjectsLocationsCollectionsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsCollectionsSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsCollectionsSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "dataform.projects.locations.collections.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsCollectionsSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsCollectionsSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsCollectionsTestIamPermissionsCall ¶
type ProjectsLocationsCollectionsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsCollectionsTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsCollectionsTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "dataform.projects.locations.collections.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsCollectionsTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsCollectionsTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsGetCall ¶
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetCall) Context ¶
func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGetCall) Do ¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "dataform.projects.locations.get" call. Exactly one of *Location or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall) Fields ¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGetCall) Header ¶
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsListCall ¶
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsListCall) Do ¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "dataform.projects.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsListCall) Fields ¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsListCall) Filter ¶
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*ProjectsLocationsListCall) Header ¶
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsListCall) PageSize ¶
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶
func (c *ProjectsLocationsListCall) Pages(ctx context.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.
type ProjectsLocationsRepositoriesCommitCall ¶
type ProjectsLocationsRepositoriesCommitCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesCommitCall) Context ¶
func (c *ProjectsLocationsRepositoriesCommitCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCommitCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesCommitCall) Do ¶
func (c *ProjectsLocationsRepositoriesCommitCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.commit" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesCommitCall) Fields ¶
func (c *ProjectsLocationsRepositoriesCommitCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCommitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesCommitCall) Header ¶
func (c *ProjectsLocationsRepositoriesCommitCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesCompilationResultsCreateCall ¶
type ProjectsLocationsRepositoriesCompilationResultsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesCompilationResultsCreateCall) Context ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesCompilationResultsCreateCall) Do ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Do(opts ...googleapi.CallOption) (*CompilationResult, error)
Do executes the "dataform.projects.locations.repositories.compilationResults.create" call. Exactly one of *CompilationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CompilationResult.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesCompilationResultsCreateCall) Fields ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesCompilationResultsCreateCall) Header ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesCompilationResultsGetCall ¶
type ProjectsLocationsRepositoriesCompilationResultsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesCompilationResultsGetCall) Context ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesCompilationResultsGetCall) Do ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Do(opts ...googleapi.CallOption) (*CompilationResult, error)
Do executes the "dataform.projects.locations.repositories.compilationResults.get" call. Exactly one of *CompilationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CompilationResult.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesCompilationResultsGetCall) Fields ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesCompilationResultsGetCall) Header ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesCompilationResultsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesCompilationResultsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesCompilationResultsListCall ¶
type ProjectsLocationsRepositoriesCompilationResultsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) Context ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) Do ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Do(opts ...googleapi.CallOption) (*ListCompilationResultsResponse, error)
Do executes the "dataform.projects.locations.repositories.compilationResults.list" call. Exactly one of *ListCompilationResultsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCompilationResultsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) Fields ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) Filter ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Filter(filter string) *ProjectsLocationsRepositoriesCompilationResultsListCall
Filter sets the optional parameter "filter": Filter for the returned list.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) Header ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesCompilationResultsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesCompilationResultsListCall
PageSize sets the optional parameter "pageSize": Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesCompilationResultsListCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesCompilationResultsListCall) Pages ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Pages(ctx context.Context, f func(*ListCompilationResultsResponse) 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.
type ProjectsLocationsRepositoriesCompilationResultsQueryCall ¶
type ProjectsLocationsRepositoriesCompilationResultsQueryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) Context ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) Do ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Do(opts ...googleapi.CallOption) (*QueryCompilationResultActionsResponse, error)
Do executes the "dataform.projects.locations.repositories.compilationResults.query" call. Exactly one of *QueryCompilationResultActionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *QueryCompilationResultActionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) Fields ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) Filter ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Filter(filter string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
Filter sets the optional parameter "filter": Optional filter for the returned list. Filtering is only currently supported on the `file_path` field.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) Header ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
PageSize sets the optional parameter "pageSize": Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesCompilationResultsQueryCall) Pages ¶
func (c *ProjectsLocationsRepositoriesCompilationResultsQueryCall) Pages(ctx context.Context, f func(*QueryCompilationResultActionsResponse) 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.
type ProjectsLocationsRepositoriesCompilationResultsService ¶
type ProjectsLocationsRepositoriesCompilationResultsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRepositoriesCompilationResultsService ¶
func NewProjectsLocationsRepositoriesCompilationResultsService(s *Service) *ProjectsLocationsRepositoriesCompilationResultsService
func (*ProjectsLocationsRepositoriesCompilationResultsService) Create ¶
func (r *ProjectsLocationsRepositoriesCompilationResultsService) Create(parent string, compilationresult *CompilationResult) *ProjectsLocationsRepositoriesCompilationResultsCreateCall
Create: Creates a new CompilationResult in a given project and location.
- parent: The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesCompilationResultsService) Get ¶
func (r *ProjectsLocationsRepositoriesCompilationResultsService) Get(name string) *ProjectsLocationsRepositoriesCompilationResultsGetCall
Get: Fetches a single CompilationResult.
- name: The compilation result's name.
func (*ProjectsLocationsRepositoriesCompilationResultsService) List ¶
func (r *ProjectsLocationsRepositoriesCompilationResultsService) List(parent string) *ProjectsLocationsRepositoriesCompilationResultsListCall
List: Lists CompilationResults in a given Repository.
- parent: The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesCompilationResultsService) Query ¶
func (r *ProjectsLocationsRepositoriesCompilationResultsService) Query(name string) *ProjectsLocationsRepositoriesCompilationResultsQueryCall
Query: Returns CompilationResultActions in a given CompilationResult.
- name: The compilation result's name.
type ProjectsLocationsRepositoriesComputeAccessTokenStatusCall ¶
type ProjectsLocationsRepositoriesComputeAccessTokenStatusCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Context ¶
func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Do ¶
func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Do(opts ...googleapi.CallOption) (*ComputeRepositoryAccessTokenStatusResponse, error)
Do executes the "dataform.projects.locations.repositories.computeAccessTokenStatus" call. Exactly one of *ComputeRepositoryAccessTokenStatusResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ComputeRepositoryAccessTokenStatusResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Fields ¶
func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Header ¶
func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesCreateCall ¶
type ProjectsLocationsRepositoriesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesCreateCall) Context ¶
func (c *ProjectsLocationsRepositoriesCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesCreateCall) Do ¶
func (c *ProjectsLocationsRepositoriesCreateCall) Do(opts ...googleapi.CallOption) (*Repository, error)
Do executes the "dataform.projects.locations.repositories.create" call. Exactly one of *Repository or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Repository.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesCreateCall) Fields ¶
func (c *ProjectsLocationsRepositoriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesCreateCall) Header ¶
func (c *ProjectsLocationsRepositoriesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesCreateCall) RepositoryId ¶
func (c *ProjectsLocationsRepositoriesCreateCall) RepositoryId(repositoryId string) *ProjectsLocationsRepositoriesCreateCall
RepositoryId sets the optional parameter "repositoryId": Required. The ID to use for the repository, which will become the final component of the repository's resource name.
type ProjectsLocationsRepositoriesDeleteCall ¶
type ProjectsLocationsRepositoriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesDeleteCall) Context ¶
func (c *ProjectsLocationsRepositoriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesDeleteCall) Do ¶
func (c *ProjectsLocationsRepositoriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesDeleteCall) Fields ¶
func (c *ProjectsLocationsRepositoriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesDeleteCall) Force ¶
func (c *ProjectsLocationsRepositoriesDeleteCall) Force(force bool) *ProjectsLocationsRepositoriesDeleteCall
Force sets the optional parameter "force": If set to true, any child resources of this repository will also be deleted. (Otherwise, the request will only succeed if the repository has no child resources.)
func (*ProjectsLocationsRepositoriesDeleteCall) Header ¶
func (c *ProjectsLocationsRepositoriesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesFetchHistoryCall ¶
type ProjectsLocationsRepositoriesFetchHistoryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesFetchHistoryCall) Context ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesFetchHistoryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesFetchHistoryCall) Do ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Do(opts ...googleapi.CallOption) (*FetchRepositoryHistoryResponse, error)
Do executes the "dataform.projects.locations.repositories.fetchHistory" call. Exactly one of *FetchRepositoryHistoryResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FetchRepositoryHistoryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesFetchHistoryCall) Fields ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesFetchHistoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesFetchHistoryCall) Header ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesFetchHistoryCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesFetchHistoryCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesFetchHistoryCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesFetchHistoryCall
PageSize sets the optional parameter "pageSize": Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesFetchHistoryCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesFetchHistoryCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesFetchHistoryCall) Pages ¶
func (c *ProjectsLocationsRepositoriesFetchHistoryCall) Pages(ctx context.Context, f func(*FetchRepositoryHistoryResponse) 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.
type ProjectsLocationsRepositoriesFetchRemoteBranchesCall ¶
type ProjectsLocationsRepositoriesFetchRemoteBranchesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Context ¶
func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Do ¶
func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Do(opts ...googleapi.CallOption) (*FetchRemoteBranchesResponse, error)
Do executes the "dataform.projects.locations.repositories.fetchRemoteBranches" call. Exactly one of *FetchRemoteBranchesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FetchRemoteBranchesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Fields ¶
func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Header ¶
func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesFetchRemoteBranchesCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesFetchRemoteBranchesCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesGetCall ¶
type ProjectsLocationsRepositoriesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesGetCall) Context ¶
func (c *ProjectsLocationsRepositoriesGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesGetCall) Do ¶
func (c *ProjectsLocationsRepositoriesGetCall) Do(opts ...googleapi.CallOption) (*Repository, error)
Do executes the "dataform.projects.locations.repositories.get" call. Exactly one of *Repository or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Repository.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesGetCall) Fields ¶
func (c *ProjectsLocationsRepositoriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesGetCall) Header ¶
func (c *ProjectsLocationsRepositoriesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesGetIamPolicyCall ¶
type ProjectsLocationsRepositoriesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "dataform.projects.locations.repositories.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesGetIamPolicyCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsRepositoriesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsRepositoriesListCall ¶
type ProjectsLocationsRepositoriesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesListCall) Context ¶
func (c *ProjectsLocationsRepositoriesListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesListCall) Do ¶
func (c *ProjectsLocationsRepositoriesListCall) Do(opts ...googleapi.CallOption) (*ListRepositoriesResponse, error)
Do executes the "dataform.projects.locations.repositories.list" call. Exactly one of *ListRepositoriesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListRepositoriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesListCall) Fields ¶
func (c *ProjectsLocationsRepositoriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesListCall) Filter ¶
func (c *ProjectsLocationsRepositoriesListCall) Filter(filter string) *ProjectsLocationsRepositoriesListCall
Filter sets the optional parameter "filter": Filter for the returned list.
func (*ProjectsLocationsRepositoriesListCall) Header ¶
func (c *ProjectsLocationsRepositoriesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesListCall) OrderBy ¶
func (c *ProjectsLocationsRepositoriesListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesListCall
OrderBy sets the optional parameter "orderBy": This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
func (*ProjectsLocationsRepositoriesListCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesListCall
PageSize sets the optional parameter "pageSize": Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesListCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesListCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesListCall) Pages ¶
func (c *ProjectsLocationsRepositoriesListCall) Pages(ctx context.Context, f func(*ListRepositoriesResponse) 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.
type ProjectsLocationsRepositoriesPatchCall ¶
type ProjectsLocationsRepositoriesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesPatchCall) Context ¶
func (c *ProjectsLocationsRepositoriesPatchCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesPatchCall) Do ¶
func (c *ProjectsLocationsRepositoriesPatchCall) Do(opts ...googleapi.CallOption) (*Repository, error)
Do executes the "dataform.projects.locations.repositories.patch" call. Exactly one of *Repository or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Repository.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesPatchCall) Fields ¶
func (c *ProjectsLocationsRepositoriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesPatchCall) Header ¶
func (c *ProjectsLocationsRepositoriesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsRepositoriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRepositoriesPatchCall
UpdateMask sets the optional parameter "updateMask": Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
type ProjectsLocationsRepositoriesQueryDirectoryContentsCall ¶
type ProjectsLocationsRepositoriesQueryDirectoryContentsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) CommitSha ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) CommitSha(commitSha string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
CommitSha sets the optional parameter "commitSha": The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Context ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Do ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Do(opts ...googleapi.CallOption) (*QueryRepositoryDirectoryContentsResponse, error)
Do executes the "dataform.projects.locations.repositories.queryDirectoryContents" call. Exactly one of *QueryRepositoryDirectoryContentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *QueryRepositoryDirectoryContentsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Fields ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Header ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
PageSize sets the optional parameter "pageSize": Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Pages ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Pages(ctx context.Context, f func(*QueryRepositoryDirectoryContentsResponse) 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.
func (*ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Path ¶
func (c *ProjectsLocationsRepositoriesQueryDirectoryContentsCall) Path(path string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
Path sets the optional parameter "path": The directory's full path including directory name, relative to root. If left unset, the root is used.
type ProjectsLocationsRepositoriesReadFileCall ¶
type ProjectsLocationsRepositoriesReadFileCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesReadFileCall) CommitSha ¶
func (c *ProjectsLocationsRepositoriesReadFileCall) CommitSha(commitSha string) *ProjectsLocationsRepositoriesReadFileCall
CommitSha sets the optional parameter "commitSha": The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
func (*ProjectsLocationsRepositoriesReadFileCall) Context ¶
func (c *ProjectsLocationsRepositoriesReadFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReadFileCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesReadFileCall) Do ¶
func (c *ProjectsLocationsRepositoriesReadFileCall) Do(opts ...googleapi.CallOption) (*ReadRepositoryFileResponse, error)
Do executes the "dataform.projects.locations.repositories.readFile" call. Exactly one of *ReadRepositoryFileResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReadRepositoryFileResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesReadFileCall) Fields ¶
func (c *ProjectsLocationsRepositoriesReadFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReadFileCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesReadFileCall) Header ¶
func (c *ProjectsLocationsRepositoriesReadFileCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesReadFileCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesReadFileCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesReadFileCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesReadFileCall) Path ¶
func (c *ProjectsLocationsRepositoriesReadFileCall) Path(path string) *ProjectsLocationsRepositoriesReadFileCall
Path sets the optional parameter "path": Required. Full file path to read including filename, from repository root.
type ProjectsLocationsRepositoriesReleaseConfigsCreateCall ¶
type ProjectsLocationsRepositoriesReleaseConfigsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Context ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Do ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Do(opts ...googleapi.CallOption) (*ReleaseConfig, error)
Do executes the "dataform.projects.locations.repositories.releaseConfigs.create" call. Exactly one of *ReleaseConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReleaseConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Fields ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Header ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesReleaseConfigsCreateCall) ReleaseConfigId ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsCreateCall) ReleaseConfigId(releaseConfigId string) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
ReleaseConfigId sets the optional parameter "releaseConfigId": Required. The ID to use for the release config, which will become the final component of the release config's resource name.
type ProjectsLocationsRepositoriesReleaseConfigsDeleteCall ¶
type ProjectsLocationsRepositoriesReleaseConfigsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Context ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Do ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.releaseConfigs.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Fields ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Header ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesReleaseConfigsGetCall ¶
type ProjectsLocationsRepositoriesReleaseConfigsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesReleaseConfigsGetCall) Context ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesReleaseConfigsGetCall) Do ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Do(opts ...googleapi.CallOption) (*ReleaseConfig, error)
Do executes the "dataform.projects.locations.repositories.releaseConfigs.get" call. Exactly one of *ReleaseConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReleaseConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesReleaseConfigsGetCall) Fields ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesReleaseConfigsGetCall) Header ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesReleaseConfigsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesReleaseConfigsListCall ¶
type ProjectsLocationsRepositoriesReleaseConfigsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) Context ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) Do ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Do(opts ...googleapi.CallOption) (*ListReleaseConfigsResponse, error)
Do executes the "dataform.projects.locations.repositories.releaseConfigs.list" call. Exactly one of *ListReleaseConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListReleaseConfigsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) Fields ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) Header ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesReleaseConfigsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesReleaseConfigsListCall
PageSize sets the optional parameter "pageSize": Maximum number of release configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesReleaseConfigsListCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesReleaseConfigsListCall) Pages ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsListCall) Pages(ctx context.Context, f func(*ListReleaseConfigsResponse) 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.
type ProjectsLocationsRepositoriesReleaseConfigsPatchCall ¶
type ProjectsLocationsRepositoriesReleaseConfigsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Context ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Do ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Do(opts ...googleapi.CallOption) (*ReleaseConfig, error)
Do executes the "dataform.projects.locations.repositories.releaseConfigs.patch" call. Exactly one of *ReleaseConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReleaseConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Fields ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Header ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesReleaseConfigsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsRepositoriesReleaseConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Specifies the fields to be updated in the release config. If left unset, all fields will be updated.
type ProjectsLocationsRepositoriesReleaseConfigsService ¶
type ProjectsLocationsRepositoriesReleaseConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRepositoriesReleaseConfigsService ¶
func NewProjectsLocationsRepositoriesReleaseConfigsService(s *Service) *ProjectsLocationsRepositoriesReleaseConfigsService
func (*ProjectsLocationsRepositoriesReleaseConfigsService) Create ¶
func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Create(parent string, releaseconfig *ReleaseConfig) *ProjectsLocationsRepositoriesReleaseConfigsCreateCall
Create: Creates a new ReleaseConfig in a given Repository.
- parent: The repository in which to create the release config. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesReleaseConfigsService) Delete ¶
func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Delete(name string) *ProjectsLocationsRepositoriesReleaseConfigsDeleteCall
Delete: Deletes a single ReleaseConfig.
- name: The release config's name.
func (*ProjectsLocationsRepositoriesReleaseConfigsService) Get ¶
func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Get(name string) *ProjectsLocationsRepositoriesReleaseConfigsGetCall
Get: Fetches a single ReleaseConfig.
- name: The release config's name.
func (*ProjectsLocationsRepositoriesReleaseConfigsService) List ¶
func (r *ProjectsLocationsRepositoriesReleaseConfigsService) List(parent string) *ProjectsLocationsRepositoriesReleaseConfigsListCall
List: Lists ReleaseConfigs in a given Repository.
- parent: The repository in which to list release configs. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesReleaseConfigsService) Patch ¶
func (r *ProjectsLocationsRepositoriesReleaseConfigsService) Patch(name string, releaseconfig *ReleaseConfig) *ProjectsLocationsRepositoriesReleaseConfigsPatchCall
Patch: Updates a single ReleaseConfig.
- name: Identifier. The release config's name.
type ProjectsLocationsRepositoriesService ¶
type ProjectsLocationsRepositoriesService struct { CompilationResults *ProjectsLocationsRepositoriesCompilationResultsService ReleaseConfigs *ProjectsLocationsRepositoriesReleaseConfigsService WorkflowConfigs *ProjectsLocationsRepositoriesWorkflowConfigsService WorkflowInvocations *ProjectsLocationsRepositoriesWorkflowInvocationsService Workspaces *ProjectsLocationsRepositoriesWorkspacesService // contains filtered or unexported fields }
func NewProjectsLocationsRepositoriesService ¶
func NewProjectsLocationsRepositoriesService(s *Service) *ProjectsLocationsRepositoriesService
func (*ProjectsLocationsRepositoriesService) Commit ¶
func (r *ProjectsLocationsRepositoriesService) Commit(name string, commitrepositorychangesrequest *CommitRepositoryChangesRequest) *ProjectsLocationsRepositoriesCommitCall
Commit: Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) ComputeAccessTokenStatus ¶
func (r *ProjectsLocationsRepositoriesService) ComputeAccessTokenStatus(name string) *ProjectsLocationsRepositoriesComputeAccessTokenStatusCall
ComputeAccessTokenStatus: Computes a Repository's Git access token status.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) Create ¶
func (r *ProjectsLocationsRepositoriesService) Create(parent string, repository *Repository) *ProjectsLocationsRepositoriesCreateCall
Create: Creates a new Repository in a given project and location.
- parent: The location in which to create the repository. Must be in the format `projects/*/locations/*`.
func (*ProjectsLocationsRepositoriesService) Delete ¶
func (r *ProjectsLocationsRepositoriesService) Delete(name string) *ProjectsLocationsRepositoriesDeleteCall
Delete: Deletes a single Repository.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) FetchHistory ¶
func (r *ProjectsLocationsRepositoriesService) FetchHistory(name string) *ProjectsLocationsRepositoriesFetchHistoryCall
FetchHistory: Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) FetchRemoteBranches ¶
func (r *ProjectsLocationsRepositoriesService) FetchRemoteBranches(name string) *ProjectsLocationsRepositoriesFetchRemoteBranchesCall
FetchRemoteBranches: Fetches a Repository's remote branches.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) Get ¶
func (r *ProjectsLocationsRepositoriesService) Get(name string) *ProjectsLocationsRepositoriesGetCall
Get: Fetches a single Repository.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) GetIamPolicy ¶
func (r *ProjectsLocationsRepositoriesService) GetIamPolicy(resource string) *ProjectsLocationsRepositoriesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty 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 (*ProjectsLocationsRepositoriesService) List ¶
func (r *ProjectsLocationsRepositoriesService) List(parent string) *ProjectsLocationsRepositoriesListCall
List: Lists Repositories in a given project and location.
- parent: The location in which to list repositories. Must be in the format `projects/*/locations/*`.
func (*ProjectsLocationsRepositoriesService) Patch ¶
func (r *ProjectsLocationsRepositoriesService) Patch(name string, repository *Repository) *ProjectsLocationsRepositoriesPatchCall
Patch: Updates a single Repository.
- name: Output only. The repository's name.
func (*ProjectsLocationsRepositoriesService) QueryDirectoryContents ¶
func (r *ProjectsLocationsRepositoriesService) QueryDirectoryContents(name string) *ProjectsLocationsRepositoriesQueryDirectoryContentsCall
QueryDirectoryContents: Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) ReadFile ¶
func (r *ProjectsLocationsRepositoriesService) ReadFile(name string) *ProjectsLocationsRepositoriesReadFileCall
ReadFile: Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
- name: The repository's name.
func (*ProjectsLocationsRepositoriesService) SetIamPolicy ¶
func (r *ProjectsLocationsRepositoriesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRepositoriesSetIamPolicyCall
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 (*ProjectsLocationsRepositoriesService) TestIamPermissions ¶
func (r *ProjectsLocationsRepositoriesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRepositoriesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type ProjectsLocationsRepositoriesSetIamPolicyCall ¶
type ProjectsLocationsRepositoriesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "dataform.projects.locations.repositories.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesTestIamPermissionsCall ¶
type ProjectsLocationsRepositoriesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "dataform.projects.locations.repositories.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkflowConfigsCreateCall ¶
type ProjectsLocationsRepositoriesWorkflowConfigsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Do(opts ...googleapi.CallOption) (*WorkflowConfig, error)
Do executes the "dataform.projects.locations.repositories.workflowConfigs.create" call. Exactly one of *WorkflowConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *WorkflowConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) WorkflowConfigId ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall) WorkflowConfigId(workflowConfigId string) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
WorkflowConfigId sets the optional parameter "workflowConfigId": Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.
type ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall ¶
type ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workflowConfigs.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkflowConfigsGetCall ¶
type ProjectsLocationsRepositoriesWorkflowConfigsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Do(opts ...googleapi.CallOption) (*WorkflowConfig, error)
Do executes the "dataform.projects.locations.repositories.workflowConfigs.get" call. Exactly one of *WorkflowConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *WorkflowConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkflowConfigsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesWorkflowConfigsListCall ¶
type ProjectsLocationsRepositoriesWorkflowConfigsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Do(opts ...googleapi.CallOption) (*ListWorkflowConfigsResponse, error)
Do executes the "dataform.projects.locations.repositories.workflowConfigs.list" call. Exactly one of *ListWorkflowConfigsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListWorkflowConfigsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
PageSize sets the optional parameter "pageSize": Maximum number of workflow configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesWorkflowConfigsListCall) Pages ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsListCall) Pages(ctx context.Context, f func(*ListWorkflowConfigsResponse) 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.
type ProjectsLocationsRepositoriesWorkflowConfigsPatchCall ¶
type ProjectsLocationsRepositoriesWorkflowConfigsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Do(opts ...googleapi.CallOption) (*WorkflowConfig, error)
Do executes the "dataform.projects.locations.repositories.workflowConfigs.patch" call. Exactly one of *WorkflowConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *WorkflowConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.
type ProjectsLocationsRepositoriesWorkflowConfigsService ¶
type ProjectsLocationsRepositoriesWorkflowConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRepositoriesWorkflowConfigsService ¶
func NewProjectsLocationsRepositoriesWorkflowConfigsService(s *Service) *ProjectsLocationsRepositoriesWorkflowConfigsService
func (*ProjectsLocationsRepositoriesWorkflowConfigsService) Create ¶
func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Create(parent string, workflowconfig *WorkflowConfig) *ProjectsLocationsRepositoriesWorkflowConfigsCreateCall
Create: Creates a new WorkflowConfig in a given Repository.
- parent: The repository in which to create the workflow config. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesWorkflowConfigsService) Delete ¶
func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Delete(name string) *ProjectsLocationsRepositoriesWorkflowConfigsDeleteCall
Delete: Deletes a single WorkflowConfig.
- name: The workflow config's name.
func (*ProjectsLocationsRepositoriesWorkflowConfigsService) Get ¶
func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Get(name string) *ProjectsLocationsRepositoriesWorkflowConfigsGetCall
Get: Fetches a single WorkflowConfig.
- name: The workflow config's name.
func (*ProjectsLocationsRepositoriesWorkflowConfigsService) List ¶
func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) List(parent string) *ProjectsLocationsRepositoriesWorkflowConfigsListCall
List: Lists WorkflowConfigs in a given Repository.
- parent: The repository in which to list workflow configs. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesWorkflowConfigsService) Patch ¶
func (r *ProjectsLocationsRepositoriesWorkflowConfigsService) Patch(name string, workflowconfig *WorkflowConfig) *ProjectsLocationsRepositoriesWorkflowConfigsPatchCall
Patch: Updates a single WorkflowConfig.
- name: Output only. The workflow config's name.
type ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall ¶
type ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workflowInvocations.cancel" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall ¶
type ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Do(opts ...googleapi.CallOption) (*WorkflowInvocation, error)
Do executes the "dataform.projects.locations.repositories.workflowInvocations.create" call. Exactly one of *WorkflowInvocation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *WorkflowInvocation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall ¶
type ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workflowInvocations.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkflowInvocationsGetCall ¶
type ProjectsLocationsRepositoriesWorkflowInvocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Do(opts ...googleapi.CallOption) (*WorkflowInvocation, error)
Do executes the "dataform.projects.locations.repositories.workflowInvocations.get" call. Exactly one of *WorkflowInvocation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *WorkflowInvocation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesWorkflowInvocationsListCall ¶
type ProjectsLocationsRepositoriesWorkflowInvocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Do(opts ...googleapi.CallOption) (*ListWorkflowInvocationsResponse, error)
Do executes the "dataform.projects.locations.repositories.workflowInvocations.list" call. Exactly one of *ListWorkflowInvocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListWorkflowInvocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Filter ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Filter(filter string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
Filter sets the optional parameter "filter": Filter for the returned list.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) OrderBy ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
OrderBy sets the optional parameter "orderBy": This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
PageSize sets the optional parameter "pageSize": Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Pages ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsListCall) Pages(ctx context.Context, f func(*ListWorkflowInvocationsResponse) 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.
type ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall ¶
type ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Do(opts ...googleapi.CallOption) (*QueryWorkflowInvocationActionsResponse, error)
Do executes the "dataform.projects.locations.repositories.workflowInvocations.query" call. Exactly one of *QueryWorkflowInvocationActionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *QueryWorkflowInvocationActionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
PageSize sets the optional parameter "pageSize": Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Pages ¶
func (c *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall) Pages(ctx context.Context, f func(*QueryWorkflowInvocationActionsResponse) 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.
type ProjectsLocationsRepositoriesWorkflowInvocationsService ¶
type ProjectsLocationsRepositoriesWorkflowInvocationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRepositoriesWorkflowInvocationsService ¶
func NewProjectsLocationsRepositoriesWorkflowInvocationsService(s *Service) *ProjectsLocationsRepositoriesWorkflowInvocationsService
func (*ProjectsLocationsRepositoriesWorkflowInvocationsService) Cancel ¶
func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Cancel(name string, cancelworkflowinvocationrequest *CancelWorkflowInvocationRequest) *ProjectsLocationsRepositoriesWorkflowInvocationsCancelCall
Cancel: Requests cancellation of a running WorkflowInvocation.
- name: The workflow invocation resource's name.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsService) Create ¶
func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Create(parent string, workflowinvocation *WorkflowInvocation) *ProjectsLocationsRepositoriesWorkflowInvocationsCreateCall
Create: Creates a new WorkflowInvocation in a given Repository.
- parent: The repository in which to create the workflow invocation. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsService) Delete ¶
func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Delete(name string) *ProjectsLocationsRepositoriesWorkflowInvocationsDeleteCall
Delete: Deletes a single WorkflowInvocation.
- name: The workflow invocation resource's name.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsService) Get ¶
func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Get(name string) *ProjectsLocationsRepositoriesWorkflowInvocationsGetCall
Get: Fetches a single WorkflowInvocation.
- name: The workflow invocation resource's name.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsService) List ¶
func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) List(parent string) *ProjectsLocationsRepositoriesWorkflowInvocationsListCall
List: Lists WorkflowInvocations in a given Repository.
- parent: The parent resource of the WorkflowInvocation type. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesWorkflowInvocationsService) Query ¶
func (r *ProjectsLocationsRepositoriesWorkflowInvocationsService) Query(name string) *ProjectsLocationsRepositoriesWorkflowInvocationsQueryCall
Query: Returns WorkflowInvocationActions in a given WorkflowInvocation.
- name: The workflow invocation's name.
type ProjectsLocationsRepositoriesWorkspacesCommitCall ¶
type ProjectsLocationsRepositoriesWorkspacesCommitCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesCommitCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesCommitCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesCommitCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workspaces.commit" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesCommitCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesCommitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesCommitCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCommitCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesCreateCall ¶
type ProjectsLocationsRepositoriesWorkspacesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesCreateCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesCreateCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
Do executes the "dataform.projects.locations.repositories.workspaces.create" call. Exactly one of *Workspace or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Workspace.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesCreateCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesCreateCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesCreateCall) WorkspaceId ¶
func (c *ProjectsLocationsRepositoriesWorkspacesCreateCall) WorkspaceId(workspaceId string) *ProjectsLocationsRepositoriesWorkspacesCreateCall
WorkspaceId sets the optional parameter "workspaceId": Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.
type ProjectsLocationsRepositoriesWorkspacesDeleteCall ¶
type ProjectsLocationsRepositoriesWorkspacesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesDeleteCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesDeleteCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workspaces.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesDeleteCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesDeleteCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall ¶
type ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Do(opts ...googleapi.CallOption) (*FetchFileDiffResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.fetchFileDiff" call. Exactly one of *FetchFileDiffResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FetchFileDiffResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Path ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall) Path(path string) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
Path sets the optional parameter "path": Required. The file's full path including filename, relative to the workspace root.
type ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall ¶
type ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Do(opts ...googleapi.CallOption) (*FetchFileGitStatusesResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.fetchFileGitStatuses" call. Exactly one of *FetchFileGitStatusesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FetchFileGitStatusesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall ¶
type ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Do(opts ...googleapi.CallOption) (*FetchGitAheadBehindResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.fetchGitAheadBehind" call. Exactly one of *FetchGitAheadBehindResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FetchGitAheadBehindResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) RemoteBranch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall) RemoteBranch(remoteBranch string) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
RemoteBranch sets the optional parameter "remoteBranch": The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used.
type ProjectsLocationsRepositoriesWorkspacesGetCall ¶
type ProjectsLocationsRepositoriesWorkspacesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesGetCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesGetCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
Do executes the "dataform.projects.locations.repositories.workspaces.get" call. Exactly one of *Workspace or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Workspace.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesGetCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesGetCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall ¶
type ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "dataform.projects.locations.repositories.workspaces.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall ¶
type ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Do(opts ...googleapi.CallOption) (*InstallNpmPackagesResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.installNpmPackages" call. Exactly one of *InstallNpmPackagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InstallNpmPackagesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesListCall ¶
type ProjectsLocationsRepositoriesWorkspacesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesListCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Do(opts ...googleapi.CallOption) (*ListWorkspacesResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.list" call. Exactly one of *ListWorkspacesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListWorkspacesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) Filter ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Filter(filter string) *ProjectsLocationsRepositoriesWorkspacesListCall
Filter sets the optional parameter "filter": Filter for the returned list.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) OrderBy ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesWorkspacesListCall
OrderBy sets the optional parameter "orderBy": This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkspacesListCall
PageSize sets the optional parameter "pageSize": Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkspacesListCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesWorkspacesListCall) Pages ¶
func (c *ProjectsLocationsRepositoriesWorkspacesListCall) Pages(ctx context.Context, f func(*ListWorkspacesResponse) 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.
type ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall ¶
type ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Do(opts ...googleapi.CallOption) (*MakeDirectoryResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.makeDirectory" call. Exactly one of *MakeDirectoryResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MakeDirectoryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall ¶
type ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Do(opts ...googleapi.CallOption) (*MoveDirectoryResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.moveDirectory" call. Exactly one of *MoveDirectoryResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MoveDirectoryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesMoveFileCall ¶
type ProjectsLocationsRepositoriesWorkspacesMoveFileCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesMoveFileCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Do(opts ...googleapi.CallOption) (*MoveFileResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.moveFile" call. Exactly one of *MoveFileResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MoveFileResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesMoveFileCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesMoveFileCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesPullCall ¶
type ProjectsLocationsRepositoriesWorkspacesPullCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesPullCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesPullCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesPullCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workspaces.pull" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesPullCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesPullCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesPullCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPullCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesPushCall ¶
type ProjectsLocationsRepositoriesWorkspacesPushCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesPushCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesPushCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesPushCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workspaces.push" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesPushCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesPushCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesPushCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesPushCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall ¶
type ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Do(opts ...googleapi.CallOption) (*QueryDirectoryContentsResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.queryDirectoryContents" call. Exactly one of *QueryDirectoryContentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *QueryDirectoryContentsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
PageSize sets the optional parameter "pageSize": Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Pages ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Pages(ctx context.Context, f func(*QueryDirectoryContentsResponse) 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.
func (*ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Path ¶
func (c *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall) Path(path string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
Path sets the optional parameter "path": The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.
type ProjectsLocationsRepositoriesWorkspacesReadFileCall ¶
type ProjectsLocationsRepositoriesWorkspacesReadFileCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesReadFileCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesReadFileCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Do(opts ...googleapi.CallOption) (*ReadFileResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.readFile" call. Exactly one of *ReadFileResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReadFileResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesReadFileCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesReadFileCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesReadFileCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkspacesReadFileCall) Path ¶
func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Path(path string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
Path sets the optional parameter "path": Required. The file's full path including filename, relative to the workspace root.
func (*ProjectsLocationsRepositoriesWorkspacesReadFileCall) Revision ¶
func (c *ProjectsLocationsRepositoriesWorkspacesReadFileCall) Revision(revision string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
Revision sets the optional parameter "revision": The Git revision of the file to return. If left empty, the current contents of `path` will be returned.
type ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall ¶
type ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workspaces.removeDirectory" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesRemoveFileCall ¶
type ProjectsLocationsRepositoriesWorkspacesRemoveFileCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workspaces.removeFile" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesResetCall ¶
type ProjectsLocationsRepositoriesWorkspacesResetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesResetCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesResetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesResetCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataform.projects.locations.repositories.workspaces.reset" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesResetCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesResetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesResetCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesResetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesSearchFilesCall ¶
type ProjectsLocationsRepositoriesWorkspacesSearchFilesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Do(opts ...googleapi.CallOption) (*SearchFilesResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.searchFiles" call. Exactly one of *SearchFilesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SearchFilesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Filter ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Filter(filter string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
Filter sets the optional parameter "filter": Optional filter for the returned list in filtering format. Filtering is only currently supported on the `path` field. See https://google.aip.dev/160 for details.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) IfNoneMatch ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) IfNoneMatch(entityTag string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) PageSize ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
PageSize sets the optional parameter "pageSize": Maximum number of search results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) PageToken ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) PageToken(pageToken string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
PageToken sets the optional parameter "pageToken": Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest` must match the call that provided the page token.
func (*ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Pages ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall) Pages(ctx context.Context, f func(*SearchFilesResponse) 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.
type ProjectsLocationsRepositoriesWorkspacesService ¶
type ProjectsLocationsRepositoriesWorkspacesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRepositoriesWorkspacesService ¶
func NewProjectsLocationsRepositoriesWorkspacesService(s *Service) *ProjectsLocationsRepositoriesWorkspacesService
func (*ProjectsLocationsRepositoriesWorkspacesService) Commit ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) Commit(name string, commitworkspacechangesrequest *CommitWorkspaceChangesRequest) *ProjectsLocationsRepositoriesWorkspacesCommitCall
Commit: Applies a Git commit for uncommitted files in a Workspace.
- name: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) Create ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) Create(parent string, workspace *Workspace) *ProjectsLocationsRepositoriesWorkspacesCreateCall
Create: Creates a new Workspace in a given Repository.
- parent: The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesWorkspacesService) Delete ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) Delete(name string) *ProjectsLocationsRepositoriesWorkspacesDeleteCall
Delete: Deletes a single Workspace.
- name: The workspace resource's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) FetchFileDiff ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) FetchFileDiff(workspace string) *ProjectsLocationsRepositoriesWorkspacesFetchFileDiffCall
FetchFileDiff: Fetches Git diff for an uncommitted file in a Workspace.
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) FetchFileGitStatuses ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) FetchFileGitStatuses(name string) *ProjectsLocationsRepositoriesWorkspacesFetchFileGitStatusesCall
FetchFileGitStatuses: Fetches Git statuses for the files in a Workspace.
- name: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) FetchGitAheadBehind ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) FetchGitAheadBehind(name string) *ProjectsLocationsRepositoriesWorkspacesFetchGitAheadBehindCall
FetchGitAheadBehind: Fetches Git ahead/behind against a remote branch.
- name: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) Get ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) Get(name string) *ProjectsLocationsRepositoriesWorkspacesGetCall
Get: Fetches a single Workspace.
- name: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) GetIamPolicy ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) GetIamPolicy(resource string) *ProjectsLocationsRepositoriesWorkspacesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty 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 (*ProjectsLocationsRepositoriesWorkspacesService) InstallNpmPackages ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) InstallNpmPackages(workspace string, installnpmpackagesrequest *InstallNpmPackagesRequest) *ProjectsLocationsRepositoriesWorkspacesInstallNpmPackagesCall
InstallNpmPackages: Installs dependency NPM packages (inside a Workspace).
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) List ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) List(parent string) *ProjectsLocationsRepositoriesWorkspacesListCall
List: Lists Workspaces in a given Repository.
- parent: The repository in which to list workspaces. Must be in the format `projects/*/locations/*/repositories/*`.
func (*ProjectsLocationsRepositoriesWorkspacesService) MakeDirectory ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) MakeDirectory(workspace string, makedirectoryrequest *MakeDirectoryRequest) *ProjectsLocationsRepositoriesWorkspacesMakeDirectoryCall
MakeDirectory: Creates a directory inside a Workspace.
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) MoveDirectory ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) MoveDirectory(workspace string, movedirectoryrequest *MoveDirectoryRequest) *ProjectsLocationsRepositoriesWorkspacesMoveDirectoryCall
MoveDirectory: Moves a directory (inside a Workspace), and all of its contents, to a new location.
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) MoveFile ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) MoveFile(workspace string, movefilerequest *MoveFileRequest) *ProjectsLocationsRepositoriesWorkspacesMoveFileCall
MoveFile: Moves a file (inside a Workspace) to a new location.
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) Pull ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) Pull(name string, pullgitcommitsrequest *PullGitCommitsRequest) *ProjectsLocationsRepositoriesWorkspacesPullCall
Pull: Pulls Git commits from the Repository's remote into a Workspace.
- name: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) Push ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) Push(name string, pushgitcommitsrequest *PushGitCommitsRequest) *ProjectsLocationsRepositoriesWorkspacesPushCall
Push: Pushes Git commits from a Workspace to the Repository's remote.
- name: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) QueryDirectoryContents ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) QueryDirectoryContents(workspace string) *ProjectsLocationsRepositoriesWorkspacesQueryDirectoryContentsCall
QueryDirectoryContents: Returns the contents of a given Workspace directory.
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) ReadFile ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) ReadFile(workspace string) *ProjectsLocationsRepositoriesWorkspacesReadFileCall
ReadFile: Returns the contents of a file (inside a Workspace).
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) RemoveDirectory ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) RemoveDirectory(workspace string, removedirectoryrequest *RemoveDirectoryRequest) *ProjectsLocationsRepositoriesWorkspacesRemoveDirectoryCall
RemoveDirectory: Deletes a directory (inside a Workspace) and all of its contents.
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) RemoveFile ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) RemoveFile(workspace string, removefilerequest *RemoveFileRequest) *ProjectsLocationsRepositoriesWorkspacesRemoveFileCall
RemoveFile: Deletes a file (inside a Workspace).
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) Reset ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) Reset(name string, resetworkspacechangesrequest *ResetWorkspaceChangesRequest) *ProjectsLocationsRepositoriesWorkspacesResetCall
Reset: Performs a Git reset for uncommitted files in a Workspace.
- name: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) SearchFiles ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) SearchFiles(workspace string) *ProjectsLocationsRepositoriesWorkspacesSearchFilesCall
SearchFiles: Finds the contents of a given Workspace directory by filter.
- workspace: The workspace's name.
func (*ProjectsLocationsRepositoriesWorkspacesService) SetIamPolicy ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall
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 (*ProjectsLocationsRepositoriesWorkspacesService) TestIamPermissions ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsRepositoriesWorkspacesService) WriteFile ¶
func (r *ProjectsLocationsRepositoriesWorkspacesService) WriteFile(workspace string, writefilerequest *WriteFileRequest) *ProjectsLocationsRepositoriesWorkspacesWriteFileCall
WriteFile: Writes to a file (inside a Workspace).
- workspace: The workspace's name.
type ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall ¶
type ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "dataform.projects.locations.repositories.workspaces.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall ¶
type ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsRepositoriesWorkspacesWriteFileCall ¶
type ProjectsLocationsRepositoriesWorkspacesWriteFileCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Context ¶
func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Context(ctx context.Context) *ProjectsLocationsRepositoriesWorkspacesWriteFileCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Do ¶
func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Do(opts ...googleapi.CallOption) (*WriteFileResponse, error)
Do executes the "dataform.projects.locations.repositories.workspaces.writeFile" call. Exactly one of *WriteFileResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *WriteFileResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Fields ¶
func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Fields(s ...googleapi.Field) *ProjectsLocationsRepositoriesWorkspacesWriteFileCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Header ¶
func (c *ProjectsLocationsRepositoriesWorkspacesWriteFileCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { Collections *ProjectsLocationsCollectionsService Repositories *ProjectsLocationsRepositoriesService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) Get ¶
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService) List ¶
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type PullGitCommitsRequest ¶
type PullGitCommitsRequest struct { // Author: Required. The author of any merge commit which may be created // as a result of merging fetched Git commits into this workspace. Author *CommitAuthor `json:"author,omitempty"` // RemoteBranch: Optional. The name of the branch in the Git remote from // which to pull commits. If left unset, the repository's default branch // name will be used. RemoteBranch string `json:"remoteBranch,omitempty"` // ForceSendFields is a list of field names (e.g. "Author") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Author") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PullGitCommitsRequest: `PullGitCommits` request message.
func (*PullGitCommitsRequest) MarshalJSON ¶
func (s *PullGitCommitsRequest) MarshalJSON() ([]byte, error)
type PushGitCommitsRequest ¶
type PushGitCommitsRequest struct { // RemoteBranch: Optional. The name of the branch in the Git remote to // which commits should be pushed. If left unset, the repository's // default branch name will be used. RemoteBranch string `json:"remoteBranch,omitempty"` // ForceSendFields is a list of field names (e.g. "RemoteBranch") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RemoteBranch") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PushGitCommitsRequest: `PushGitCommits` request message.
func (*PushGitCommitsRequest) MarshalJSON ¶
func (s *PushGitCommitsRequest) MarshalJSON() ([]byte, error)
type QueryCompilationResultActionsResponse ¶
type QueryCompilationResultActionsResponse struct { // CompilationResultActions: List of compilation result actions. CompilationResultActions []*CompilationResultAction `json:"compilationResultActions,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. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "CompilationResultActions") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompilationResultActions") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
QueryCompilationResultActionsResponse: `QueryCompilationResultActions` response message.
func (*QueryCompilationResultActionsResponse) MarshalJSON ¶
func (s *QueryCompilationResultActionsResponse) MarshalJSON() ([]byte, error)
type QueryDirectoryContentsResponse ¶
type QueryDirectoryContentsResponse struct { // DirectoryEntries: List of entries in the directory. DirectoryEntries []*DirectoryEntry `json:"directoryEntries,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. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DirectoryEntries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DirectoryEntries") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
QueryDirectoryContentsResponse: `QueryDirectoryContents` response message.
func (*QueryDirectoryContentsResponse) MarshalJSON ¶
func (s *QueryDirectoryContentsResponse) MarshalJSON() ([]byte, error)
type QueryRepositoryDirectoryContentsResponse ¶
type QueryRepositoryDirectoryContentsResponse struct { // DirectoryEntries: List of entries in the directory. DirectoryEntries []*DirectoryEntry `json:"directoryEntries,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. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DirectoryEntries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DirectoryEntries") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
QueryRepositoryDirectoryContentsResponse: `QueryRepositoryDirectoryContents` response message.
func (*QueryRepositoryDirectoryContentsResponse) MarshalJSON ¶
func (s *QueryRepositoryDirectoryContentsResponse) MarshalJSON() ([]byte, error)
type QueryWorkflowInvocationActionsResponse ¶
type QueryWorkflowInvocationActionsResponse struct { // 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. NextPageToken string `json:"nextPageToken,omitempty"` // WorkflowInvocationActions: List of workflow invocation actions. WorkflowInvocationActions []*WorkflowInvocationAction `json:"workflowInvocationActions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
QueryWorkflowInvocationActionsResponse: `QueryWorkflowInvocationActions` response message.
func (*QueryWorkflowInvocationActionsResponse) MarshalJSON ¶
func (s *QueryWorkflowInvocationActionsResponse) MarshalJSON() ([]byte, error)
type ReadFileResponse ¶
type ReadFileResponse struct { // FileContents: The file's contents. FileContents string `json:"fileContents,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FileContents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FileContents") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReadFileResponse: `ReadFile` response message.
func (*ReadFileResponse) MarshalJSON ¶
func (s *ReadFileResponse) MarshalJSON() ([]byte, error)
type ReadRepositoryFileResponse ¶
type ReadRepositoryFileResponse struct { // Contents: The file's contents. Contents string `json:"contents,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Contents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReadRepositoryFileResponse: `ReadRepositoryFile` response message.
func (*ReadRepositoryFileResponse) MarshalJSON ¶
func (s *ReadRepositoryFileResponse) MarshalJSON() ([]byte, error)
type Relation ¶
type Relation struct { // AdditionalOptions: Additional options that will be provided as // key/value pairs into the options clause of a create table/view // statement. See // https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language // for more information on which options are supported. AdditionalOptions map[string]string `json:"additionalOptions,omitempty"` // ClusterExpressions: A list of columns or SQL expressions used to // cluster the table. ClusterExpressions []string `json:"clusterExpressions,omitempty"` // DependencyTargets: A list of actions that this action depends on. DependencyTargets []*Target `json:"dependencyTargets,omitempty"` // Disabled: Whether this action is disabled (i.e. should not be run). Disabled bool `json:"disabled,omitempty"` // IncrementalTableConfig: Configures `INCREMENTAL_TABLE` settings for // this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`. IncrementalTableConfig *IncrementalTableConfig `json:"incrementalTableConfig,omitempty"` // PartitionExpirationDays: Sets the partition expiration in days. PartitionExpirationDays int64 `json:"partitionExpirationDays,omitempty"` // PartitionExpression: The SQL expression used to partition the // relation. PartitionExpression string `json:"partitionExpression,omitempty"` // PostOperations: SQL statements to be executed after creating the // relation. PostOperations []string `json:"postOperations,omitempty"` // PreOperations: SQL statements to be executed before creating the // relation. PreOperations []string `json:"preOperations,omitempty"` // RelationDescriptor: Descriptor for the relation and its columns. RelationDescriptor *RelationDescriptor `json:"relationDescriptor,omitempty"` // RelationType: The type of this relation. // // Possible values: // "RELATION_TYPE_UNSPECIFIED" - Default value. This value is unused. // "TABLE" - The relation is a table. // "VIEW" - The relation is a view. // "INCREMENTAL_TABLE" - The relation is an incrementalized table. // "MATERIALIZED_VIEW" - The relation is a materialized view. RelationType string `json:"relationType,omitempty"` // RequirePartitionFilter: Specifies whether queries on this table must // include a predicate filter that filters on the partitioning column. RequirePartitionFilter bool `json:"requirePartitionFilter,omitempty"` // SelectQuery: The SELECT query which returns rows which this relation // should contain. SelectQuery string `json:"selectQuery,omitempty"` // Tags: Arbitrary, user-defined tags on this action. Tags []string `json:"tags,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalOptions") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalOptions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Relation: Represents a database relation.
func (*Relation) MarshalJSON ¶
type RelationDescriptor ¶
type RelationDescriptor struct { // BigqueryLabels: A set of BigQuery labels that should be applied to // the relation. BigqueryLabels map[string]string `json:"bigqueryLabels,omitempty"` // Columns: A list of descriptions of columns within the relation. Columns []*ColumnDescriptor `json:"columns,omitempty"` // Description: A text description of the relation. Description string `json:"description,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryLabels") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryLabels") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
RelationDescriptor: Describes a relation and its columns.
func (*RelationDescriptor) MarshalJSON ¶
func (s *RelationDescriptor) MarshalJSON() ([]byte, error)
type ReleaseConfig ¶
type ReleaseConfig struct { // CodeCompilationConfig: Optional. If set, fields of // `code_compilation_config` override the default compilation settings // that are specified in dataform.json. CodeCompilationConfig *CodeCompilationConfig `json:"codeCompilationConfig,omitempty"` // CronSchedule: Optional. Optional schedule (in cron format) for // automatic creation of compilation results. CronSchedule string `json:"cronSchedule,omitempty"` // Disabled: Optional. Disables automatic creation of compilation // results. Disabled bool `json:"disabled,omitempty"` // GitCommitish: Required. Git commit/tag/branch name at which the // repository should be compiled. Must exist in the remote repository. // Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: // `branch1` GitCommitish string `json:"gitCommitish,omitempty"` // Name: Identifier. The release config's name. Name string `json:"name,omitempty"` // RecentScheduledReleaseRecords: Output only. Records of the 10 most // recent scheduled release attempts, ordered in in descending order of // `release_time`. Updated whenever automatic creation of a compilation // result is triggered by cron_schedule. RecentScheduledReleaseRecords []*ScheduledReleaseRecord `json:"recentScheduledReleaseRecords,omitempty"` // ReleaseCompilationResult: Optional. The name of the currently // released compilation result for this release config. This value is // updated when a compilation result is automatically created from this // release config (using cron_schedule), or when this resource is // updated by API call (perhaps to roll back to an earlier release). The // compilation result must have been created using this release config. // Must be in the format // `projects/*/locations/*/repositories/*/compilationResults/*`. ReleaseCompilationResult string `json:"releaseCompilationResult,omitempty"` // TimeZone: Optional. Specifies the time zone to be used when // interpreting cron_schedule. Must be a time zone name from the time // zone database // (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If // left unspecified, the default is UTC. TimeZone string `json:"timeZone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "CodeCompilationConfig") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CodeCompilationConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReleaseConfig: Represents a Dataform release configuration.
func (*ReleaseConfig) MarshalJSON ¶
func (s *ReleaseConfig) MarshalJSON() ([]byte, error)
type RemoveDirectoryRequest ¶
type RemoveDirectoryRequest struct { // Path: Required. The directory's full path including directory name, // relative to the workspace root. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Path") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RemoveDirectoryRequest: `RemoveDirectory` request message.
func (*RemoveDirectoryRequest) MarshalJSON ¶
func (s *RemoveDirectoryRequest) MarshalJSON() ([]byte, error)
type RemoveFileRequest ¶
type RemoveFileRequest struct { // Path: Required. The file's full path including filename, relative to // the workspace root. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Path") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RemoveFileRequest: `RemoveFile` request message.
func (*RemoveFileRequest) MarshalJSON ¶
func (s *RemoveFileRequest) MarshalJSON() ([]byte, error)
type Repository ¶
type Repository struct { // CreateTime: Output only. The timestamp of when the repository was // created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Optional. The repository's user-friendly name. DisplayName string `json:"displayName,omitempty"` // GitRemoteSettings: Optional. If set, configures this repository to be // linked to a Git remote. GitRemoteSettings *GitRemoteSettings `json:"gitRemoteSettings,omitempty"` // Labels: Optional. Repository user labels. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The repository's name. Name string `json:"name,omitempty"` // NpmrcEnvironmentVariablesSecretVersion: Optional. The name of the // Secret Manager secret version to be used to interpolate variables // into the .npmrc file for package installation operations. Must be in // the format `projects/*/secrets/*/versions/*`. The file itself must be // in a JSON format. NpmrcEnvironmentVariablesSecretVersion string `json:"npmrcEnvironmentVariablesSecretVersion,omitempty"` // ServiceAccount: Optional. The service account to run workflow // invocations under. ServiceAccount string `json:"serviceAccount,omitempty"` // SetAuthenticatedUserAdmin: Optional. Input only. If set to true, the // authenticated user will be granted the roles/dataform.admin role on // the created repository. To modify access to the created repository // later apply setIamPolicy from // https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories SetAuthenticatedUserAdmin bool `json:"setAuthenticatedUserAdmin,omitempty"` // WorkspaceCompilationOverrides: Optional. If set, fields of // `workspace_compilation_overrides` override the default compilation // settings that are specified in dataform.json when creating // workspace-scoped compilation results. See documentation for // `WorkspaceCompilationOverrides` for more information. WorkspaceCompilationOverrides *WorkspaceCompilationOverrides `json:"workspaceCompilationOverrides,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Repository: Represents a Dataform Git repository.
func (*Repository) MarshalJSON ¶
func (s *Repository) MarshalJSON() ([]byte, error)
type ResetWorkspaceChangesRequest ¶
type ResetWorkspaceChangesRequest struct { // Clean: Optional. If set to true, untracked files will be deleted. Clean bool `json:"clean,omitempty"` // Paths: Optional. Full file paths to reset back to their committed // state including filename, rooted at workspace root. If left empty, // all files will be reset. Paths []string `json:"paths,omitempty"` // ForceSendFields is a list of field names (e.g. "Clean") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Clean") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ResetWorkspaceChangesRequest: `ResetWorkspaceChanges` request message.
func (*ResetWorkspaceChangesRequest) MarshalJSON ¶
func (s *ResetWorkspaceChangesRequest) MarshalJSON() ([]byte, error)
type ScheduledExecutionRecord ¶
type ScheduledExecutionRecord struct { // ErrorStatus: The error status encountered upon this attempt to create // the workflow invocation, if the attempt was unsuccessful. ErrorStatus *Status `json:"errorStatus,omitempty"` // ExecutionTime: The timestamp of this execution attempt. ExecutionTime string `json:"executionTime,omitempty"` // WorkflowInvocation: The name of the created workflow invocation, if // one was successfully created. Must be in the format // `projects/*/locations/*/repositories/*/workflowInvocations/*`. WorkflowInvocation string `json:"workflowInvocation,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorStatus") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorStatus") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ScheduledExecutionRecord: A record of an attempt to create a workflow invocation for this workflow config.
func (*ScheduledExecutionRecord) MarshalJSON ¶
func (s *ScheduledExecutionRecord) MarshalJSON() ([]byte, error)
type ScheduledReleaseRecord ¶
type ScheduledReleaseRecord struct { // CompilationResult: The name of the created compilation result, if one // was successfully created. Must be in the format // `projects/*/locations/*/repositories/*/compilationResults/*`. CompilationResult string `json:"compilationResult,omitempty"` // ErrorStatus: The error status encountered upon this attempt to create // the compilation result, if the attempt was unsuccessful. ErrorStatus *Status `json:"errorStatus,omitempty"` // ReleaseTime: The timestamp of this release attempt. ReleaseTime string `json:"releaseTime,omitempty"` // ForceSendFields is a list of field names (e.g. "CompilationResult") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompilationResult") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ScheduledReleaseRecord: A record of an attempt to create a compilation result for this release config.
func (*ScheduledReleaseRecord) MarshalJSON ¶
func (s *ScheduledReleaseRecord) MarshalJSON() ([]byte, error)
type SearchFilesResponse ¶
type SearchFilesResponse struct { // NextPageToken: Optional. A token, which can be sent as `page_token` // to retrieve the next page. If this field is omitted, there are no // subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // SearchResults: List of matched results. SearchResults []*SearchResult `json:"searchResults,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SearchFilesResponse: Client-facing representation of a file search response.
func (*SearchFilesResponse) MarshalJSON ¶
func (s *SearchFilesResponse) MarshalJSON() ([]byte, error)
type SearchResult ¶
type SearchResult struct { // Directory: Details when search result is a directory. Directory *DirectorySearchResult `json:"directory,omitempty"` // File: Details when search result is a file. File *FileSearchResult `json:"file,omitempty"` // ForceSendFields is a list of field names (e.g. "Directory") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Directory") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SearchResult: Client-facing representation of a search result entry.
func (*SearchResult) MarshalJSON ¶
func (s *SearchResult) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.
type SetIamPolicyRequest ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Policy") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (*SetIamPolicyRequest) MarshalJSON ¶
func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error)
type SshAuthenticationConfig ¶
type SshAuthenticationConfig struct { // HostPublicKey: Required. Content of a public SSH key to verify an // identity of a remote Git host. HostPublicKey string `json:"hostPublicKey,omitempty"` // UserPrivateKeySecretVersion: Required. The name of the Secret Manager // secret version to use as a ssh private key for Git operations. Must // be in the format `projects/*/secrets/*/versions/*`. UserPrivateKeySecretVersion string `json:"userPrivateKeySecretVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "HostPublicKey") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HostPublicKey") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SshAuthenticationConfig: Configures fields for performing SSH authentication.
func (*SshAuthenticationConfig) MarshalJSON ¶
func (s *SshAuthenticationConfig) MarshalJSON() ([]byte, error)
type Status ¶
type Status struct { // Code: The status code, which should be an enum value of // google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a // common set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in // English. Any user-facing error message should be localized and sent // in the google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Code") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
func (*Status) MarshalJSON ¶
type Target ¶
type Target struct { // Database: The action's database (Google Cloud project ID) . Database string `json:"database,omitempty"` // Name: The action's name, within `database` and `schema`. Name string `json:"name,omitempty"` // Schema: The action's schema (BigQuery dataset ID), within `database`. Schema string `json:"schema,omitempty"` // ForceSendFields is a list of field names (e.g. "Database") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Database") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Target: Represents an action identifier. If the action writes output, the output will be written to the referenced database object.
func (*Target) MarshalJSON ¶
type TestIamPermissionsRequest ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (*TestIamPermissionsRequest) MarshalJSON ¶
func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error)
type TestIamPermissionsResponse ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
func (*TestIamPermissionsResponse) MarshalJSON ¶
func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
type UncommittedFileChange ¶
type UncommittedFileChange struct { // Path: The file's full path including filename, relative to the // workspace root. Path string `json:"path,omitempty"` // State: Indicates the status of the file. // // Possible values: // "STATE_UNSPECIFIED" - Default value. This value is unused. // "ADDED" - The file has been newly added. // "DELETED" - The file has been deleted. // "MODIFIED" - The file has been modified. // "HAS_CONFLICTS" - The file contains merge conflicts. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Path") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
UncommittedFileChange: Represents the Git state of a file with uncommitted changes.
func (*UncommittedFileChange) MarshalJSON ¶
func (s *UncommittedFileChange) MarshalJSON() ([]byte, error)
type WorkflowConfig ¶
type WorkflowConfig struct { // CronSchedule: Optional. Optional schedule (in cron format) for // automatic execution of this workflow config. CronSchedule string `json:"cronSchedule,omitempty"` // InvocationConfig: Optional. If left unset, a default InvocationConfig // will be used. InvocationConfig *InvocationConfig `json:"invocationConfig,omitempty"` // Name: Output only. The workflow config's name. Name string `json:"name,omitempty"` // RecentScheduledExecutionRecords: Output only. Records of the 10 most // recent scheduled execution attempts, ordered in in descending order // of `execution_time`. Updated whenever automatic creation of a // workflow invocation is triggered by cron_schedule. RecentScheduledExecutionRecords []*ScheduledExecutionRecord `json:"recentScheduledExecutionRecords,omitempty"` // ReleaseConfig: Required. The name of the release config whose // release_compilation_result should be executed. Must be in the format // `projects/*/locations/*/repositories/*/releaseConfigs/*`. ReleaseConfig string `json:"releaseConfig,omitempty"` // TimeZone: Optional. Specifies the time zone to be used when // interpreting cron_schedule. Must be a time zone name from the time // zone database // (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If // left unspecified, the default is UTC. TimeZone string `json:"timeZone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CronSchedule") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CronSchedule") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
WorkflowConfig: Represents a Dataform workflow configuration.
func (*WorkflowConfig) MarshalJSON ¶
func (s *WorkflowConfig) MarshalJSON() ([]byte, error)
type WorkflowInvocation ¶
type WorkflowInvocation struct { // CompilationResult: Immutable. The name of the compilation result to // use for this invocation. Must be in the format // `projects/*/locations/*/repositories/*/compilationResults/*`. CompilationResult string `json:"compilationResult,omitempty"` // InvocationConfig: Immutable. If left unset, a default // InvocationConfig will be used. InvocationConfig *InvocationConfig `json:"invocationConfig,omitempty"` // InvocationTiming: Output only. This workflow invocation's timing // details. InvocationTiming *Interval `json:"invocationTiming,omitempty"` // Name: Output only. The workflow invocation's name. Name string `json:"name,omitempty"` // ResolvedCompilationResult: Output only. The resolved compilation // result that was used to create this invocation. Will be in the format // `projects/*/locations/*/repositories/*/compilationResults/*`. ResolvedCompilationResult string `json:"resolvedCompilationResult,omitempty"` // State: Output only. This workflow invocation's current state. // // Possible values: // "STATE_UNSPECIFIED" - Default value. This value is unused. // "RUNNING" - The workflow invocation is currently running. // "SUCCEEDED" - The workflow invocation succeeded. A terminal state. // "CANCELLED" - The workflow invocation was cancelled. A terminal // state. // "FAILED" - The workflow invocation failed. A terminal state. // "CANCELING" - The workflow invocation is being cancelled, but some // actions are still running. State string `json:"state,omitempty"` // WorkflowConfig: Immutable. The name of the workflow config to invoke. // Must be in the format // `projects/*/locations/*/repositories/*/workflowConfigs/*`. WorkflowConfig string `json:"workflowConfig,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilationResult") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompilationResult") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
WorkflowInvocation: Represents a single invocation of a compilation result.
func (*WorkflowInvocation) MarshalJSON ¶
func (s *WorkflowInvocation) MarshalJSON() ([]byte, error)
type WorkflowInvocationAction ¶
type WorkflowInvocationAction struct { // BigqueryAction: Output only. The workflow action's bigquery action // details. BigqueryAction *BigQueryAction `json:"bigqueryAction,omitempty"` // CanonicalTarget: Output only. The action's identifier if the project // had been compiled without any overrides configured. Unique within the // compilation result. CanonicalTarget *Target `json:"canonicalTarget,omitempty"` // FailureReason: Output only. If and only if action's state is FAILED a // failure reason is set. FailureReason string `json:"failureReason,omitempty"` // InvocationTiming: Output only. This action's timing details. // `start_time` will be set if the action is in [RUNNING, SUCCEEDED, // CANCELLED, FAILED] state. `end_time` will be set if the action is in // [SUCCEEDED, CANCELLED, FAILED] state. InvocationTiming *Interval `json:"invocationTiming,omitempty"` // State: Output only. This action's current state. // // Possible values: // "PENDING" - The action has not yet been considered for invocation. // "RUNNING" - The action is currently running. // "SKIPPED" - Execution of the action was skipped because upstream // dependencies did not all complete successfully. A terminal state. // "DISABLED" - Execution of the action was disabled as per the // configuration of the corresponding compilation result action. A // terminal state. // "SUCCEEDED" - The action succeeded. A terminal state. // "CANCELLED" - The action was cancelled. A terminal state. // "FAILED" - The action failed. A terminal state. State string `json:"state,omitempty"` // Target: Output only. This action's identifier. Unique within the // workflow invocation. Target *Target `json:"target,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryAction") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryAction") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
WorkflowInvocationAction: Represents a single action in a workflow invocation.
func (*WorkflowInvocationAction) MarshalJSON ¶
func (s *WorkflowInvocationAction) MarshalJSON() ([]byte, error)
type Workspace ¶
type Workspace struct { // Name: Output only. The workspace's name. Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Workspace: Represents a Dataform Git workspace.
func (*Workspace) MarshalJSON ¶
type WorkspaceCompilationOverrides ¶
type WorkspaceCompilationOverrides struct { // DefaultDatabase: Optional. The default database (Google Cloud project // ID). DefaultDatabase string `json:"defaultDatabase,omitempty"` // SchemaSuffix: Optional. The suffix that should be appended to all // schema (BigQuery dataset ID) names. SchemaSuffix string `json:"schemaSuffix,omitempty"` // TablePrefix: Optional. The prefix that should be prepended to all // table names. TablePrefix string `json:"tablePrefix,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultDatabase") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultDatabase") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
WorkspaceCompilationOverrides: Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results.
func (*WorkspaceCompilationOverrides) MarshalJSON ¶
func (s *WorkspaceCompilationOverrides) MarshalJSON() ([]byte, error)
type WriteFile ¶
type WriteFile struct { // Contents: The file's contents. Contents string `json:"contents,omitempty"` // ForceSendFields is a list of field names (e.g. "Contents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
WriteFile: Represents the write file operation (for files added or modified).
func (*WriteFile) MarshalJSON ¶
type WriteFileRequest ¶
type WriteFileRequest struct { // Contents: Required. The file's contents. Contents string `json:"contents,omitempty"` // Path: Required. The file. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "Contents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
WriteFileRequest: `WriteFile` request message.
func (*WriteFileRequest) MarshalJSON ¶
func (s *WriteFileRequest) MarshalJSON() ([]byte, error)
type WriteFileResponse ¶
type WriteFileResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
WriteFileResponse: `WriteFile` response message.