Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + const SourceFullControlScope + const SourceReadOnlyScope + const SourceReadWriteScope + type AuditConfig struct + AuditLogConfigs []*AuditLogConfig + ForceSendFields []string + NullFields []string + Service string + func (s *AuditConfig) MarshalJSON() ([]byte, error) + type AuditLogConfig struct + ExemptedMembers []string + ForceSendFields []string + LogType string + NullFields []string + func (s *AuditLogConfig) MarshalJSON() ([]byte, error) + type Binding struct + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s *Binding) MarshalJSON() ([]byte, error) + type Empty struct + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type ListReposResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Repos []*Repo + func (s *ListReposResponse) MarshalJSON() ([]byte, error) + type MirrorConfig struct + DeployKeyId string + ForceSendFields []string + NullFields []string + Url string + WebhookId string + func (s *MirrorConfig) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type Policy struct + AuditConfigs []*AuditConfig + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s *Policy) MarshalJSON() ([]byte, error) + type ProjectConfig struct + EnablePrivateKeyCheck bool + ForceSendFields []string + Name string + NullFields []string + PubsubConfigs map[string]PubsubConfig + func (s *ProjectConfig) MarshalJSON() ([]byte, error) + type ProjectsGetConfigCall struct + func (c *ProjectsGetConfigCall) Context(ctx context.Context) *ProjectsGetConfigCall + func (c *ProjectsGetConfigCall) Do(opts ...googleapi.CallOption) (*ProjectConfig, error) + func (c *ProjectsGetConfigCall) Fields(s ...googleapi.Field) *ProjectsGetConfigCall + func (c *ProjectsGetConfigCall) Header() http.Header + func (c *ProjectsGetConfigCall) IfNoneMatch(entityTag string) *ProjectsGetConfigCall + type ProjectsReposCreateCall struct + func (c *ProjectsReposCreateCall) Context(ctx context.Context) *ProjectsReposCreateCall + func (c *ProjectsReposCreateCall) Do(opts ...googleapi.CallOption) (*Repo, error) + func (c *ProjectsReposCreateCall) Fields(s ...googleapi.Field) *ProjectsReposCreateCall + func (c *ProjectsReposCreateCall) Header() http.Header + type ProjectsReposDeleteCall struct + func (c *ProjectsReposDeleteCall) Context(ctx context.Context) *ProjectsReposDeleteCall + func (c *ProjectsReposDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsReposDeleteCall) Fields(s ...googleapi.Field) *ProjectsReposDeleteCall + func (c *ProjectsReposDeleteCall) Header() http.Header + type ProjectsReposGetCall struct + func (c *ProjectsReposGetCall) Context(ctx context.Context) *ProjectsReposGetCall + func (c *ProjectsReposGetCall) Do(opts ...googleapi.CallOption) (*Repo, error) + func (c *ProjectsReposGetCall) Fields(s ...googleapi.Field) *ProjectsReposGetCall + func (c *ProjectsReposGetCall) Header() http.Header + func (c *ProjectsReposGetCall) IfNoneMatch(entityTag string) *ProjectsReposGetCall + type ProjectsReposGetIamPolicyCall struct + func (c *ProjectsReposGetIamPolicyCall) Context(ctx context.Context) *ProjectsReposGetIamPolicyCall + func (c *ProjectsReposGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsReposGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsReposGetIamPolicyCall + func (c *ProjectsReposGetIamPolicyCall) Header() http.Header + func (c *ProjectsReposGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsReposGetIamPolicyCall + func (c *ProjectsReposGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsReposGetIamPolicyCall + type ProjectsReposListCall struct + func (c *ProjectsReposListCall) Context(ctx context.Context) *ProjectsReposListCall + func (c *ProjectsReposListCall) Do(opts ...googleapi.CallOption) (*ListReposResponse, error) + func (c *ProjectsReposListCall) Fields(s ...googleapi.Field) *ProjectsReposListCall + func (c *ProjectsReposListCall) Header() http.Header + func (c *ProjectsReposListCall) IfNoneMatch(entityTag string) *ProjectsReposListCall + func (c *ProjectsReposListCall) PageSize(pageSize int64) *ProjectsReposListCall + func (c *ProjectsReposListCall) PageToken(pageToken string) *ProjectsReposListCall + func (c *ProjectsReposListCall) Pages(ctx context.Context, f func(*ListReposResponse) error) error + type ProjectsReposPatchCall struct + func (c *ProjectsReposPatchCall) Context(ctx context.Context) *ProjectsReposPatchCall + func (c *ProjectsReposPatchCall) Do(opts ...googleapi.CallOption) (*Repo, error) + func (c *ProjectsReposPatchCall) Fields(s ...googleapi.Field) *ProjectsReposPatchCall + func (c *ProjectsReposPatchCall) Header() http.Header + type ProjectsReposService struct + func NewProjectsReposService(s *Service) *ProjectsReposService + func (r *ProjectsReposService) Create(parent string, repo *Repo) *ProjectsReposCreateCall + func (r *ProjectsReposService) Delete(name string) *ProjectsReposDeleteCall + func (r *ProjectsReposService) Get(name string) *ProjectsReposGetCall + func (r *ProjectsReposService) GetIamPolicy(resource string) *ProjectsReposGetIamPolicyCall + func (r *ProjectsReposService) List(name string) *ProjectsReposListCall + func (r *ProjectsReposService) Patch(name string, updatereporequest *UpdateRepoRequest) *ProjectsReposPatchCall + func (r *ProjectsReposService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsReposSetIamPolicyCall + func (r *ProjectsReposService) Sync(name string, syncreporequest *SyncRepoRequest) *ProjectsReposSyncCall + func (r *ProjectsReposService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsReposTestIamPermissionsCall + type ProjectsReposSetIamPolicyCall struct + func (c *ProjectsReposSetIamPolicyCall) Context(ctx context.Context) *ProjectsReposSetIamPolicyCall + func (c *ProjectsReposSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsReposSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsReposSetIamPolicyCall + func (c *ProjectsReposSetIamPolicyCall) Header() http.Header + type ProjectsReposSyncCall struct + func (c *ProjectsReposSyncCall) Context(ctx context.Context) *ProjectsReposSyncCall + func (c *ProjectsReposSyncCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsReposSyncCall) Fields(s ...googleapi.Field) *ProjectsReposSyncCall + func (c *ProjectsReposSyncCall) Header() http.Header + type ProjectsReposTestIamPermissionsCall struct + func (c *ProjectsReposTestIamPermissionsCall) Context(ctx context.Context) *ProjectsReposTestIamPermissionsCall + func (c *ProjectsReposTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) + func (c *ProjectsReposTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsReposTestIamPermissionsCall + func (c *ProjectsReposTestIamPermissionsCall) Header() http.Header + type ProjectsService struct + Repos *ProjectsReposService + func NewProjectsService(s *Service) *ProjectsService + func (r *ProjectsService) GetConfig(name string) *ProjectsGetConfigCall + func (r *ProjectsService) UpdateConfig(name string, updateprojectconfigrequest *UpdateProjectConfigRequest) *ProjectsUpdateConfigCall + type ProjectsUpdateConfigCall struct + func (c *ProjectsUpdateConfigCall) Context(ctx context.Context) *ProjectsUpdateConfigCall + func (c *ProjectsUpdateConfigCall) Do(opts ...googleapi.CallOption) (*ProjectConfig, error) + func (c *ProjectsUpdateConfigCall) Fields(s ...googleapi.Field) *ProjectsUpdateConfigCall + func (c *ProjectsUpdateConfigCall) Header() http.Header + type PubsubConfig struct + ForceSendFields []string + MessageFormat string + NullFields []string + ServiceAccountEmail string + Topic string + func (s *PubsubConfig) MarshalJSON() ([]byte, error) + type Repo struct + ForceSendFields []string + MirrorConfig *MirrorConfig + Name string + NullFields []string + PubsubConfigs map[string]PubsubConfig + Size int64 + Url string + func (s *Repo) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SetIamPolicyRequest struct + ForceSendFields []string + NullFields []string + Policy *Policy + UpdateMask string + func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type SyncRepoMetadata struct + ForceSendFields []string + Name string + NullFields []string + StartTime string + StatusMessage string + UpdateTime string + func (s *SyncRepoMetadata) MarshalJSON() ([]byte, error) + type SyncRepoRequest struct + type TestIamPermissionsRequest struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) + type TestIamPermissionsResponse struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) + type UpdateProjectConfigRequest struct + ForceSendFields []string + NullFields []string + ProjectConfig *ProjectConfig + UpdateMask string + func (s *UpdateProjectConfigRequest) MarshalJSON() ([]byte, error) + type UpdateRepoRequest struct + ForceSendFields []string + NullFields []string + Repo *Repo + UpdateMask string + func (s *UpdateRepoRequest) MarshalJSON() ([]byte, error)