Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type AptSettings struct + Excludes []string + ExclusivePackages []string + ForceSendFields []string + NullFields []string + Type string + func (s *AptSettings) MarshalJSON() ([]byte, error) + type CancelPatchJobRequest struct + type Empty struct + type ExecStep struct + ForceSendFields []string + LinuxExecStepConfig *ExecStepConfig + NullFields []string + WindowsExecStepConfig *ExecStepConfig + func (s *ExecStep) MarshalJSON() ([]byte, error) + type ExecStepConfig struct + AllowedSuccessCodes []int64 + ForceSendFields []string + GcsObject *GcsObject + Interpreter string + LocalPath string + NullFields []string + func (s *ExecStepConfig) MarshalJSON() ([]byte, error) + type ExecutePatchJobRequest struct + Description string + DisplayName string + DryRun bool + Duration string + ForceSendFields []string + InstanceFilter *PatchInstanceFilter + NullFields []string + PatchConfig *PatchConfig + func (s *ExecutePatchJobRequest) MarshalJSON() ([]byte, error) + type GcsObject struct + Bucket string + ForceSendFields []string + GenerationNumber int64 + NullFields []string + Object string + func (s *GcsObject) MarshalJSON() ([]byte, error) + type GooSettings struct + type ListPatchDeploymentsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + PatchDeployments []*PatchDeployment + func (s *ListPatchDeploymentsResponse) MarshalJSON() ([]byte, error) + type ListPatchJobInstanceDetailsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + PatchJobInstanceDetails []*PatchJobInstanceDetails + func (s *ListPatchJobInstanceDetailsResponse) MarshalJSON() ([]byte, error) + type ListPatchJobsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + PatchJobs []*PatchJob + func (s *ListPatchJobsResponse) MarshalJSON() ([]byte, error) + type MonthlySchedule struct + ForceSendFields []string + MonthDay int64 + NullFields []string + WeekDayOfMonth *WeekDayOfMonth + func (s *MonthlySchedule) MarshalJSON() ([]byte, error) + type OneTimeSchedule struct + ExecuteTime string + ForceSendFields []string + NullFields []string + func (s *OneTimeSchedule) MarshalJSON() ([]byte, error) + type PatchConfig struct + Apt *AptSettings + ForceSendFields []string + Goo *GooSettings + NullFields []string + PostStep *ExecStep + PreStep *ExecStep + RebootConfig string + WindowsUpdate *WindowsUpdateSettings + Yum *YumSettings + Zypper *ZypperSettings + func (s *PatchConfig) MarshalJSON() ([]byte, error) + type PatchDeployment struct + CreateTime string + Description string + Duration string + ForceSendFields []string + InstanceFilter *PatchInstanceFilter + LastExecuteTime string + Name string + NullFields []string + OneTimeSchedule *OneTimeSchedule + PatchConfig *PatchConfig + RecurringSchedule *RecurringSchedule + UpdateTime string + func (s *PatchDeployment) MarshalJSON() ([]byte, error) + type PatchInstanceFilter struct + All bool + ForceSendFields []string + GroupLabels []*PatchInstanceFilterGroupLabel + InstanceNamePrefixes []string + Instances []string + NullFields []string + Zones []string + func (s *PatchInstanceFilter) MarshalJSON() ([]byte, error) + type PatchInstanceFilterGroupLabel struct + ForceSendFields []string + Labels map[string]string + NullFields []string + func (s *PatchInstanceFilterGroupLabel) MarshalJSON() ([]byte, error) + type PatchJob struct + CreateTime string + Description string + DisplayName string + DryRun bool + Duration string + ErrorMessage string + ForceSendFields []string + InstanceDetailsSummary *PatchJobInstanceDetailsSummary + InstanceFilter *PatchInstanceFilter + Name string + NullFields []string + PatchConfig *PatchConfig + PatchDeployment string + PercentComplete float64 + State string + UpdateTime string + func (s *PatchJob) MarshalJSON() ([]byte, error) + func (s *PatchJob) UnmarshalJSON(data []byte) error + type PatchJobInstanceDetails struct + AttemptCount int64 + FailureReason string + ForceSendFields []string + InstanceSystemId string + Name string + NullFields []string + State string + func (s *PatchJobInstanceDetails) MarshalJSON() ([]byte, error) + type PatchJobInstanceDetailsSummary struct + AckedInstanceCount int64 + ApplyingPatchesInstanceCount int64 + DownloadingPatchesInstanceCount int64 + FailedInstanceCount int64 + ForceSendFields []string + InactiveInstanceCount int64 + NoAgentDetectedInstanceCount int64 + NotifiedInstanceCount int64 + NullFields []string + PendingInstanceCount int64 + PostPatchStepInstanceCount int64 + PrePatchStepInstanceCount int64 + RebootingInstanceCount int64 + StartedInstanceCount int64 + SucceededInstanceCount int64 + SucceededRebootRequiredInstanceCount int64 + TimedOutInstanceCount int64 + func (s *PatchJobInstanceDetailsSummary) MarshalJSON() ([]byte, error) + type ProjectsPatchDeploymentsCreateCall struct + func (c *ProjectsPatchDeploymentsCreateCall) Context(ctx context.Context) *ProjectsPatchDeploymentsCreateCall + func (c *ProjectsPatchDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*PatchDeployment, error) + func (c *ProjectsPatchDeploymentsCreateCall) Fields(s ...googleapi.Field) *ProjectsPatchDeploymentsCreateCall + func (c *ProjectsPatchDeploymentsCreateCall) Header() http.Header + func (c *ProjectsPatchDeploymentsCreateCall) PatchDeploymentId(patchDeploymentId string) *ProjectsPatchDeploymentsCreateCall + type ProjectsPatchDeploymentsDeleteCall struct + func (c *ProjectsPatchDeploymentsDeleteCall) Context(ctx context.Context) *ProjectsPatchDeploymentsDeleteCall + func (c *ProjectsPatchDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsPatchDeploymentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsPatchDeploymentsDeleteCall + func (c *ProjectsPatchDeploymentsDeleteCall) Header() http.Header + type ProjectsPatchDeploymentsGetCall struct + func (c *ProjectsPatchDeploymentsGetCall) Context(ctx context.Context) *ProjectsPatchDeploymentsGetCall + func (c *ProjectsPatchDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*PatchDeployment, error) + func (c *ProjectsPatchDeploymentsGetCall) Fields(s ...googleapi.Field) *ProjectsPatchDeploymentsGetCall + func (c *ProjectsPatchDeploymentsGetCall) Header() http.Header + func (c *ProjectsPatchDeploymentsGetCall) IfNoneMatch(entityTag string) *ProjectsPatchDeploymentsGetCall + type ProjectsPatchDeploymentsListCall struct + func (c *ProjectsPatchDeploymentsListCall) Context(ctx context.Context) *ProjectsPatchDeploymentsListCall + func (c *ProjectsPatchDeploymentsListCall) Do(opts ...googleapi.CallOption) (*ListPatchDeploymentsResponse, error) + func (c *ProjectsPatchDeploymentsListCall) Fields(s ...googleapi.Field) *ProjectsPatchDeploymentsListCall + func (c *ProjectsPatchDeploymentsListCall) Header() http.Header + func (c *ProjectsPatchDeploymentsListCall) IfNoneMatch(entityTag string) *ProjectsPatchDeploymentsListCall + func (c *ProjectsPatchDeploymentsListCall) PageSize(pageSize int64) *ProjectsPatchDeploymentsListCall + func (c *ProjectsPatchDeploymentsListCall) PageToken(pageToken string) *ProjectsPatchDeploymentsListCall + func (c *ProjectsPatchDeploymentsListCall) Pages(ctx context.Context, f func(*ListPatchDeploymentsResponse) error) error + type ProjectsPatchDeploymentsService struct + func NewProjectsPatchDeploymentsService(s *Service) *ProjectsPatchDeploymentsService + func (r *ProjectsPatchDeploymentsService) Create(parent string, patchdeployment *PatchDeployment) *ProjectsPatchDeploymentsCreateCall + func (r *ProjectsPatchDeploymentsService) Delete(name string) *ProjectsPatchDeploymentsDeleteCall + func (r *ProjectsPatchDeploymentsService) Get(name string) *ProjectsPatchDeploymentsGetCall + func (r *ProjectsPatchDeploymentsService) List(parent string) *ProjectsPatchDeploymentsListCall + type ProjectsPatchJobsCancelCall struct + func (c *ProjectsPatchJobsCancelCall) Context(ctx context.Context) *ProjectsPatchJobsCancelCall + func (c *ProjectsPatchJobsCancelCall) Do(opts ...googleapi.CallOption) (*PatchJob, error) + func (c *ProjectsPatchJobsCancelCall) Fields(s ...googleapi.Field) *ProjectsPatchJobsCancelCall + func (c *ProjectsPatchJobsCancelCall) Header() http.Header + type ProjectsPatchJobsExecuteCall struct + func (c *ProjectsPatchJobsExecuteCall) Context(ctx context.Context) *ProjectsPatchJobsExecuteCall + func (c *ProjectsPatchJobsExecuteCall) Do(opts ...googleapi.CallOption) (*PatchJob, error) + func (c *ProjectsPatchJobsExecuteCall) Fields(s ...googleapi.Field) *ProjectsPatchJobsExecuteCall + func (c *ProjectsPatchJobsExecuteCall) Header() http.Header + type ProjectsPatchJobsGetCall struct + func (c *ProjectsPatchJobsGetCall) Context(ctx context.Context) *ProjectsPatchJobsGetCall + func (c *ProjectsPatchJobsGetCall) Do(opts ...googleapi.CallOption) (*PatchJob, error) + func (c *ProjectsPatchJobsGetCall) Fields(s ...googleapi.Field) *ProjectsPatchJobsGetCall + func (c *ProjectsPatchJobsGetCall) Header() http.Header + func (c *ProjectsPatchJobsGetCall) IfNoneMatch(entityTag string) *ProjectsPatchJobsGetCall + type ProjectsPatchJobsInstanceDetailsListCall struct + func (c *ProjectsPatchJobsInstanceDetailsListCall) Context(ctx context.Context) *ProjectsPatchJobsInstanceDetailsListCall + func (c *ProjectsPatchJobsInstanceDetailsListCall) Do(opts ...googleapi.CallOption) (*ListPatchJobInstanceDetailsResponse, error) + func (c *ProjectsPatchJobsInstanceDetailsListCall) Fields(s ...googleapi.Field) *ProjectsPatchJobsInstanceDetailsListCall + func (c *ProjectsPatchJobsInstanceDetailsListCall) Filter(filter string) *ProjectsPatchJobsInstanceDetailsListCall + func (c *ProjectsPatchJobsInstanceDetailsListCall) Header() http.Header + func (c *ProjectsPatchJobsInstanceDetailsListCall) IfNoneMatch(entityTag string) *ProjectsPatchJobsInstanceDetailsListCall + func (c *ProjectsPatchJobsInstanceDetailsListCall) PageSize(pageSize int64) *ProjectsPatchJobsInstanceDetailsListCall + func (c *ProjectsPatchJobsInstanceDetailsListCall) PageToken(pageToken string) *ProjectsPatchJobsInstanceDetailsListCall + func (c *ProjectsPatchJobsInstanceDetailsListCall) Pages(ctx context.Context, f func(*ListPatchJobInstanceDetailsResponse) error) error + type ProjectsPatchJobsInstanceDetailsService struct + func NewProjectsPatchJobsInstanceDetailsService(s *Service) *ProjectsPatchJobsInstanceDetailsService + func (r *ProjectsPatchJobsInstanceDetailsService) List(parent string) *ProjectsPatchJobsInstanceDetailsListCall + type ProjectsPatchJobsListCall struct + func (c *ProjectsPatchJobsListCall) Context(ctx context.Context) *ProjectsPatchJobsListCall + func (c *ProjectsPatchJobsListCall) Do(opts ...googleapi.CallOption) (*ListPatchJobsResponse, error) + func (c *ProjectsPatchJobsListCall) Fields(s ...googleapi.Field) *ProjectsPatchJobsListCall + func (c *ProjectsPatchJobsListCall) Filter(filter string) *ProjectsPatchJobsListCall + func (c *ProjectsPatchJobsListCall) Header() http.Header + func (c *ProjectsPatchJobsListCall) IfNoneMatch(entityTag string) *ProjectsPatchJobsListCall + func (c *ProjectsPatchJobsListCall) PageSize(pageSize int64) *ProjectsPatchJobsListCall + func (c *ProjectsPatchJobsListCall) PageToken(pageToken string) *ProjectsPatchJobsListCall + func (c *ProjectsPatchJobsListCall) Pages(ctx context.Context, f func(*ListPatchJobsResponse) error) error + type ProjectsPatchJobsService struct + InstanceDetails *ProjectsPatchJobsInstanceDetailsService + func NewProjectsPatchJobsService(s *Service) *ProjectsPatchJobsService + func (r *ProjectsPatchJobsService) Cancel(name string, cancelpatchjobrequest *CancelPatchJobRequest) *ProjectsPatchJobsCancelCall + func (r *ProjectsPatchJobsService) Execute(parent string, executepatchjobrequest *ExecutePatchJobRequest) *ProjectsPatchJobsExecuteCall + func (r *ProjectsPatchJobsService) Get(name string) *ProjectsPatchJobsGetCall + func (r *ProjectsPatchJobsService) List(parent string) *ProjectsPatchJobsListCall + type ProjectsService struct + PatchDeployments *ProjectsPatchDeploymentsService + PatchJobs *ProjectsPatchJobsService + func NewProjectsService(s *Service) *ProjectsService + type RecurringSchedule struct + EndTime string + ForceSendFields []string + Frequency string + LastExecuteTime string + Monthly *MonthlySchedule + NextExecuteTime string + NullFields []string + StartTime string + TimeOfDay *TimeOfDay + TimeZone *TimeZone + Weekly *WeeklySchedule + func (s *RecurringSchedule) 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 TimeOfDay struct + ForceSendFields []string + Hours int64 + Minutes int64 + Nanos int64 + NullFields []string + Seconds int64 + func (s *TimeOfDay) MarshalJSON() ([]byte, error) + type TimeZone struct + ForceSendFields []string + Id string + NullFields []string + Version string + func (s *TimeZone) MarshalJSON() ([]byte, error) + type WeekDayOfMonth struct + DayOfWeek string + ForceSendFields []string + NullFields []string + WeekOrdinal int64 + func (s *WeekDayOfMonth) MarshalJSON() ([]byte, error) + type WeeklySchedule struct + DayOfWeek string + ForceSendFields []string + NullFields []string + func (s *WeeklySchedule) MarshalJSON() ([]byte, error) + type WindowsUpdateSettings struct + Classifications []string + Excludes []string + ExclusivePatches []string + ForceSendFields []string + NullFields []string + func (s *WindowsUpdateSettings) MarshalJSON() ([]byte, error) + type YumSettings struct + Excludes []string + ExclusivePackages []string + ForceSendFields []string + Minimal bool + NullFields []string + Security bool + func (s *YumSettings) MarshalJSON() ([]byte, error) + type ZypperSettings struct + Categories []string + Excludes []string + ExclusivePatches []string + ForceSendFields []string + NullFields []string + Severities []string + WithOptional bool + WithUpdate bool + func (s *ZypperSettings) MarshalJSON() ([]byte, error)