osconfig

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AptSettings_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "DIST",
	2: "UPGRADE",
}
View Source
var AptSettings_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"DIST":             1,
	"UPGRADE":          2,
}
View Source
var ExecStepConfig_Interpreter_name = map[int32]string{
	0: "INTERPRETER_UNSPECIFIED",
	1: "SHELL",
	2: "POWERSHELL",
}
View Source
var ExecStepConfig_Interpreter_value = map[string]int32{
	"INTERPRETER_UNSPECIFIED": 0,
	"SHELL":                   1,
	"POWERSHELL":              2,
}
View Source
var Instance_PatchState_name = map[int32]string{
	0:  "PATCH_STATE_UNSPECIFIED",
	1:  "PENDING",
	2:  "INACTIVE",
	3:  "NOTIFIED",
	4:  "STARTED",
	5:  "DOWNLOADING_PATCHES",
	6:  "APPLYING_PATCHES",
	7:  "REBOOTING",
	8:  "SUCCEEDED",
	9:  "SUCCEEDED_REBOOT_REQUIRED",
	10: "FAILED",
	11: "ACKED",
	12: "TIMED_OUT",
	13: "RUNNING_PRE_PATCH_STEP",
	14: "RUNNING_POST_PATCH_STEP",
	15: "NO_AGENT_DETECTED",
}
View Source
var Instance_PatchState_value = map[string]int32{
	"PATCH_STATE_UNSPECIFIED":   0,
	"PENDING":                   1,
	"INACTIVE":                  2,
	"NOTIFIED":                  3,
	"STARTED":                   4,
	"DOWNLOADING_PATCHES":       5,
	"APPLYING_PATCHES":          6,
	"REBOOTING":                 7,
	"SUCCEEDED":                 8,
	"SUCCEEDED_REBOOT_REQUIRED": 9,
	"FAILED":                    10,
	"ACKED":                     11,
	"TIMED_OUT":                 12,
	"RUNNING_PRE_PATCH_STEP":    13,
	"RUNNING_POST_PATCH_STEP":   14,
	"NO_AGENT_DETECTED":         15,
}
View Source
var PatchConfig_RebootConfig_name = map[int32]string{
	0: "REBOOT_CONFIG_UNSPECIFIED",
	1: "DEFAULT",
	2: "ALWAYS",
	3: "NEVER",
}
View Source
var PatchConfig_RebootConfig_value = map[string]int32{
	"REBOOT_CONFIG_UNSPECIFIED": 0,
	"DEFAULT":                   1,
	"ALWAYS":                    2,
	"NEVER":                     3,
}
View Source
var PatchJob_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "STARTED",
	2: "INSTANCE_LOOKUP",
	3: "PATCHING",
	4: "SUCCEEDED",
	5: "COMPLETED_WITH_ERRORS",
	6: "CANCELED",
	7: "TIMED_OUT",
}
View Source
var PatchJob_State_value = map[string]int32{
	"STATE_UNSPECIFIED":     0,
	"STARTED":               1,
	"INSTANCE_LOOKUP":       2,
	"PATCHING":              3,
	"SUCCEEDED":             4,
	"COMPLETED_WITH_ERRORS": 5,
	"CANCELED":              6,
	"TIMED_OUT":             7,
}
View Source
var RecurringSchedule_Frequency_name = map[int32]string{
	0: "FREQUENCY_UNSPECIFIED",
	1: "WEEKLY",
	2: "MONTHLY",
}
View Source
var RecurringSchedule_Frequency_value = map[string]int32{
	"FREQUENCY_UNSPECIFIED": 0,
	"WEEKLY":                1,
	"MONTHLY":               2,
}
View Source
var WindowsUpdateSettings_Classification_name = map[int32]string{
	0: "CLASSIFICATION_UNSPECIFIED",
	1: "CRITICAL",
	2: "SECURITY",
	3: "DEFINITION",
	4: "DRIVER",
	5: "FEATURE_PACK",
	6: "SERVICE_PACK",
	7: "TOOL",
	8: "UPDATE_ROLLUP",
	9: "UPDATE",
}
View Source
var WindowsUpdateSettings_Classification_value = map[string]int32{
	"CLASSIFICATION_UNSPECIFIED": 0,
	"CRITICAL":                   1,
	"SECURITY":                   2,
	"DEFINITION":                 3,
	"DRIVER":                     4,
	"FEATURE_PACK":               5,
	"SERVICE_PACK":               6,
	"TOOL":                       7,
	"UPDATE_ROLLUP":              8,
	"UPDATE":                     9,
}

Functions

func RegisterOsConfigServiceServer

func RegisterOsConfigServiceServer(s *grpc.Server, srv OsConfigServiceServer)

Types

type AptSettings

type AptSettings struct {
	// By changing the type to DIST, the patching is performed
	// using `apt-get dist-upgrade` instead.
	Type AptSettings_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.osconfig.v1.AptSettings_Type" json:"type,omitempty"`
	// List of packages to exclude from update. These packages will be excluded
	Excludes []string `protobuf:"bytes,2,rep,name=excludes,proto3" json:"excludes,omitempty"`
	// An exclusive list of packages to be updated. These are the only packages
	// that will be updated. If these packages are not installed, they will be
	// ignored. This field cannot be specified with any other patch configuration
	// fields.
	ExclusivePackages    []string `protobuf:"bytes,3,rep,name=exclusive_packages,json=exclusivePackages,proto3" json:"exclusive_packages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Apt patching is completed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed.

func (*AptSettings) Descriptor

func (*AptSettings) Descriptor() ([]byte, []int)

func (*AptSettings) GetExcludes

func (m *AptSettings) GetExcludes() []string

func (*AptSettings) GetExclusivePackages

func (m *AptSettings) GetExclusivePackages() []string

func (*AptSettings) GetType

func (m *AptSettings) GetType() AptSettings_Type

func (*AptSettings) ProtoMessage

func (*AptSettings) ProtoMessage()

func (*AptSettings) Reset

func (m *AptSettings) Reset()

func (*AptSettings) String

func (m *AptSettings) String() string

func (*AptSettings) XXX_DiscardUnknown

func (m *AptSettings) XXX_DiscardUnknown()

func (*AptSettings) XXX_Marshal

func (m *AptSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AptSettings) XXX_Merge

func (m *AptSettings) XXX_Merge(src proto.Message)

func (*AptSettings) XXX_Size

func (m *AptSettings) XXX_Size() int

func (*AptSettings) XXX_Unmarshal

func (m *AptSettings) XXX_Unmarshal(b []byte) error

type AptSettings_Type

type AptSettings_Type int32

Apt patch type.

const (
	// By default, upgrade will be performed.
	AptSettings_TYPE_UNSPECIFIED AptSettings_Type = 0
	// Runs `apt-get dist-upgrade`.
	AptSettings_DIST AptSettings_Type = 1
	// Runs `apt-get upgrade`.
	AptSettings_UPGRADE AptSettings_Type = 2
)

func (AptSettings_Type) EnumDescriptor

func (AptSettings_Type) EnumDescriptor() ([]byte, []int)

func (AptSettings_Type) String

func (x AptSettings_Type) String() string

type CancelPatchJobRequest

type CancelPatchJobRequest struct {
	// Required. Name of the patch in the form `projects/*/patchJobs/*`
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message for canceling a patch job.

func (*CancelPatchJobRequest) Descriptor

func (*CancelPatchJobRequest) Descriptor() ([]byte, []int)

func (*CancelPatchJobRequest) GetName

func (m *CancelPatchJobRequest) GetName() string

func (*CancelPatchJobRequest) ProtoMessage

func (*CancelPatchJobRequest) ProtoMessage()

func (*CancelPatchJobRequest) Reset

func (m *CancelPatchJobRequest) Reset()

func (*CancelPatchJobRequest) String

func (m *CancelPatchJobRequest) String() string

func (*CancelPatchJobRequest) XXX_DiscardUnknown

func (m *CancelPatchJobRequest) XXX_DiscardUnknown()

func (*CancelPatchJobRequest) XXX_Marshal

func (m *CancelPatchJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelPatchJobRequest) XXX_Merge

func (m *CancelPatchJobRequest) XXX_Merge(src proto.Message)

func (*CancelPatchJobRequest) XXX_Size

func (m *CancelPatchJobRequest) XXX_Size() int

func (*CancelPatchJobRequest) XXX_Unmarshal

func (m *CancelPatchJobRequest) XXX_Unmarshal(b []byte) error

type CreatePatchDeploymentRequest

type CreatePatchDeploymentRequest struct {
	// Required. The project to apply this patch deployment to in the form `projects/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. A name for the patch deployment in the project. When creating a name
	// the following rules apply:
	// * Must contain only lowercase letters, numbers, and hyphens.
	// * Must start with a letter.
	// * Must be between 1-63 characters.
	// * Must end with a number or a letter.
	// * Must be unique within the project.
	PatchDeploymentId string `protobuf:"bytes,2,opt,name=patch_deployment_id,json=patchDeploymentId,proto3" json:"patch_deployment_id,omitempty"`
	// Required. The patch deployment to create.
	PatchDeployment      *PatchDeployment `protobuf:"bytes,3,opt,name=patch_deployment,json=patchDeployment,proto3" json:"patch_deployment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A request message for creating a patch deployment.

func (*CreatePatchDeploymentRequest) Descriptor

func (*CreatePatchDeploymentRequest) Descriptor() ([]byte, []int)

func (*CreatePatchDeploymentRequest) GetParent

func (m *CreatePatchDeploymentRequest) GetParent() string

func (*CreatePatchDeploymentRequest) GetPatchDeployment

func (m *CreatePatchDeploymentRequest) GetPatchDeployment() *PatchDeployment

func (*CreatePatchDeploymentRequest) GetPatchDeploymentId

func (m *CreatePatchDeploymentRequest) GetPatchDeploymentId() string

func (*CreatePatchDeploymentRequest) ProtoMessage

func (*CreatePatchDeploymentRequest) ProtoMessage()

func (*CreatePatchDeploymentRequest) Reset

func (m *CreatePatchDeploymentRequest) Reset()

func (*CreatePatchDeploymentRequest) String

func (*CreatePatchDeploymentRequest) XXX_DiscardUnknown

func (m *CreatePatchDeploymentRequest) XXX_DiscardUnknown()

func (*CreatePatchDeploymentRequest) XXX_Marshal

func (m *CreatePatchDeploymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreatePatchDeploymentRequest) XXX_Merge

func (m *CreatePatchDeploymentRequest) XXX_Merge(src proto.Message)

func (*CreatePatchDeploymentRequest) XXX_Size

func (m *CreatePatchDeploymentRequest) XXX_Size() int

func (*CreatePatchDeploymentRequest) XXX_Unmarshal

func (m *CreatePatchDeploymentRequest) XXX_Unmarshal(b []byte) error

type DeletePatchDeploymentRequest

type DeletePatchDeploymentRequest struct {
	// Required. The resource name of the patch deployment in the form
	// `projects/*/patchDeployments/*`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request message for deleting a patch deployment.

func (*DeletePatchDeploymentRequest) Descriptor

func (*DeletePatchDeploymentRequest) Descriptor() ([]byte, []int)

func (*DeletePatchDeploymentRequest) GetName

func (m *DeletePatchDeploymentRequest) GetName() string

func (*DeletePatchDeploymentRequest) ProtoMessage

func (*DeletePatchDeploymentRequest) ProtoMessage()

func (*DeletePatchDeploymentRequest) Reset

func (m *DeletePatchDeploymentRequest) Reset()

func (*DeletePatchDeploymentRequest) String

func (*DeletePatchDeploymentRequest) XXX_DiscardUnknown

func (m *DeletePatchDeploymentRequest) XXX_DiscardUnknown()

func (*DeletePatchDeploymentRequest) XXX_Marshal

func (m *DeletePatchDeploymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletePatchDeploymentRequest) XXX_Merge

func (m *DeletePatchDeploymentRequest) XXX_Merge(src proto.Message)

func (*DeletePatchDeploymentRequest) XXX_Size

func (m *DeletePatchDeploymentRequest) XXX_Size() int

func (*DeletePatchDeploymentRequest) XXX_Unmarshal

func (m *DeletePatchDeploymentRequest) XXX_Unmarshal(b []byte) error

type ExecStep

type ExecStep struct {
	// The ExecStepConfig for all Linux VMs targeted by the PatchJob.
	LinuxExecStepConfig *ExecStepConfig `protobuf:"bytes,1,opt,name=linux_exec_step_config,json=linuxExecStepConfig,proto3" json:"linux_exec_step_config,omitempty"`
	// The ExecStepConfig for all Windows VMs targeted by the PatchJob.
	WindowsExecStepConfig *ExecStepConfig `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}        `json:"-"`
	XXX_unrecognized      []byte          `json:"-"`
	XXX_sizecache         int32           `json:"-"`
}

A step that runs an executable for a PatchJob.

func (*ExecStep) Descriptor

func (*ExecStep) Descriptor() ([]byte, []int)

func (*ExecStep) GetLinuxExecStepConfig

func (m *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig

func (*ExecStep) GetWindowsExecStepConfig

func (m *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig

func (*ExecStep) ProtoMessage

func (*ExecStep) ProtoMessage()

func (*ExecStep) Reset

func (m *ExecStep) Reset()

func (*ExecStep) String

func (m *ExecStep) String() string

func (*ExecStep) XXX_DiscardUnknown

func (m *ExecStep) XXX_DiscardUnknown()

func (*ExecStep) XXX_Marshal

func (m *ExecStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecStep) XXX_Merge

func (m *ExecStep) XXX_Merge(src proto.Message)

func (*ExecStep) XXX_Size

func (m *ExecStep) XXX_Size() int

func (*ExecStep) XXX_Unmarshal

func (m *ExecStep) XXX_Unmarshal(b []byte) error

type ExecStepConfig

type ExecStepConfig struct {
	// Location of the executable.
	//
	// Types that are valid to be assigned to Executable:
	//	*ExecStepConfig_LocalPath
	//	*ExecStepConfig_GcsObject
	Executable isExecStepConfig_Executable `protobuf_oneof:"executable"`
	// Defaults to [0]. A list of possible return values that the
	// execution can return to indicate a success.
	AllowedSuccessCodes []int32 `` /* 128-byte string literal not displayed */
	// The script interpreter to use to run the script. If no interpreter is
	// specified the script will be executed directly, which will likely
	// only succeed for scripts with [shebang lines]
	// (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
	Interpreter          ExecStepConfig_Interpreter `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Common configurations for an ExecStep.

func (*ExecStepConfig) Descriptor

func (*ExecStepConfig) Descriptor() ([]byte, []int)

func (*ExecStepConfig) GetAllowedSuccessCodes

func (m *ExecStepConfig) GetAllowedSuccessCodes() []int32

func (*ExecStepConfig) GetExecutable

func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable

func (*ExecStepConfig) GetGcsObject

func (m *ExecStepConfig) GetGcsObject() *GcsObject

func (*ExecStepConfig) GetInterpreter

func (m *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter

func (*ExecStepConfig) GetLocalPath

func (m *ExecStepConfig) GetLocalPath() string

func (*ExecStepConfig) ProtoMessage

func (*ExecStepConfig) ProtoMessage()

func (*ExecStepConfig) Reset

func (m *ExecStepConfig) Reset()

func (*ExecStepConfig) String

func (m *ExecStepConfig) String() string

func (*ExecStepConfig) XXX_DiscardUnknown

func (m *ExecStepConfig) XXX_DiscardUnknown()

func (*ExecStepConfig) XXX_Marshal

func (m *ExecStepConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecStepConfig) XXX_Merge

func (m *ExecStepConfig) XXX_Merge(src proto.Message)

func (*ExecStepConfig) XXX_OneofWrappers

func (*ExecStepConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ExecStepConfig) XXX_Size

func (m *ExecStepConfig) XXX_Size() int

func (*ExecStepConfig) XXX_Unmarshal

func (m *ExecStepConfig) XXX_Unmarshal(b []byte) error

type ExecStepConfig_GcsObject

type ExecStepConfig_GcsObject struct {
	GcsObject *GcsObject `protobuf:"bytes,2,opt,name=gcs_object,json=gcsObject,proto3,oneof"`
}

type ExecStepConfig_Interpreter

type ExecStepConfig_Interpreter int32

The interpreter used to execute the a file.

const (
	// Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
	// interpreter will be parsed from the shebang line of the script if
	// unspecified.
	ExecStepConfig_INTERPRETER_UNSPECIFIED ExecStepConfig_Interpreter = 0
	// Indicates that the script is run with `/bin/sh` on Linux and `cmd`
	// on Windows.
	ExecStepConfig_SHELL ExecStepConfig_Interpreter = 1
	// Indicates that the file is run with PowerShell flags
	// `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
	ExecStepConfig_POWERSHELL ExecStepConfig_Interpreter = 2
)

func (ExecStepConfig_Interpreter) EnumDescriptor

func (ExecStepConfig_Interpreter) EnumDescriptor() ([]byte, []int)

func (ExecStepConfig_Interpreter) String

type ExecStepConfig_LocalPath

type ExecStepConfig_LocalPath struct {
	LocalPath string `protobuf:"bytes,1,opt,name=local_path,json=localPath,proto3,oneof"`
}

type ExecutePatchJobRequest

type ExecutePatchJobRequest struct {
	// Required. The project in which to run this patch in the form `projects/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Description of the patch job. Length of the description is limited
	// to 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Instances to patch, either explicitly or filtered by some criteria such
	// as zone or labels.
	InstanceFilter *PatchInstanceFilter `protobuf:"bytes,7,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`
	// Patch configuration being applied. If omitted, instances are
	// patched using the default configurations.
	PatchConfig *PatchConfig `protobuf:"bytes,4,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
	// Duration of the patch job. After the duration ends, the patch job
	// times out.
	Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// If this patch is a dry-run only, instances are contacted but
	// will do nothing.
	DryRun bool `protobuf:"varint,6,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Display name for this patch job. This does not have to be unique.
	DisplayName          string   `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request message to initiate patching across Compute Engine instances.

func (*ExecutePatchJobRequest) Descriptor

func (*ExecutePatchJobRequest) Descriptor() ([]byte, []int)

func (*ExecutePatchJobRequest) GetDescription

func (m *ExecutePatchJobRequest) GetDescription() string

func (*ExecutePatchJobRequest) GetDisplayName

func (m *ExecutePatchJobRequest) GetDisplayName() string

func (*ExecutePatchJobRequest) GetDryRun

func (m *ExecutePatchJobRequest) GetDryRun() bool

func (*ExecutePatchJobRequest) GetDuration

func (m *ExecutePatchJobRequest) GetDuration() *duration.Duration

func (*ExecutePatchJobRequest) GetInstanceFilter

func (m *ExecutePatchJobRequest) GetInstanceFilter() *PatchInstanceFilter

func (*ExecutePatchJobRequest) GetParent

func (m *ExecutePatchJobRequest) GetParent() string

func (*ExecutePatchJobRequest) GetPatchConfig

func (m *ExecutePatchJobRequest) GetPatchConfig() *PatchConfig

func (*ExecutePatchJobRequest) ProtoMessage

func (*ExecutePatchJobRequest) ProtoMessage()

func (*ExecutePatchJobRequest) Reset

func (m *ExecutePatchJobRequest) Reset()

func (*ExecutePatchJobRequest) String

func (m *ExecutePatchJobRequest) String() string

func (*ExecutePatchJobRequest) XXX_DiscardUnknown

func (m *ExecutePatchJobRequest) XXX_DiscardUnknown()

func (*ExecutePatchJobRequest) XXX_Marshal

func (m *ExecutePatchJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutePatchJobRequest) XXX_Merge

func (m *ExecutePatchJobRequest) XXX_Merge(src proto.Message)

func (*ExecutePatchJobRequest) XXX_Size

func (m *ExecutePatchJobRequest) XXX_Size() int

func (*ExecutePatchJobRequest) XXX_Unmarshal

func (m *ExecutePatchJobRequest) XXX_Unmarshal(b []byte) error

type GcsObject

type GcsObject struct {
	// Required. Bucket of the Cloud Storage object.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the Cloud Storage object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Required. Generation number of the Cloud Storage object. This is used to
	// ensure that the ExecStep specified by this PatchJob does not change.
	GenerationNumber     int64    `protobuf:"varint,3,opt,name=generation_number,json=generationNumber,proto3" json:"generation_number,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Cloud Storage object representation.

func (*GcsObject) Descriptor

func (*GcsObject) Descriptor() ([]byte, []int)

func (*GcsObject) GetBucket

func (m *GcsObject) GetBucket() string

func (*GcsObject) GetGenerationNumber

func (m *GcsObject) GetGenerationNumber() int64

func (*GcsObject) GetObject

func (m *GcsObject) GetObject() string

func (*GcsObject) ProtoMessage

func (*GcsObject) ProtoMessage()

func (*GcsObject) Reset

func (m *GcsObject) Reset()

func (*GcsObject) String

func (m *GcsObject) String() string

func (*GcsObject) XXX_DiscardUnknown

func (m *GcsObject) XXX_DiscardUnknown()

func (*GcsObject) XXX_Marshal

func (m *GcsObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GcsObject) XXX_Merge

func (m *GcsObject) XXX_Merge(src proto.Message)

func (*GcsObject) XXX_Size

func (m *GcsObject) XXX_Size() int

func (*GcsObject) XXX_Unmarshal

func (m *GcsObject) XXX_Unmarshal(b []byte) error

type GetPatchDeploymentRequest

type GetPatchDeploymentRequest struct {
	// Required. The resource name of the patch deployment in the form
	// `projects/*/patchDeployments/*`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request message for retrieving a patch deployment.

func (*GetPatchDeploymentRequest) Descriptor

func (*GetPatchDeploymentRequest) Descriptor() ([]byte, []int)

func (*GetPatchDeploymentRequest) GetName

func (m *GetPatchDeploymentRequest) GetName() string

func (*GetPatchDeploymentRequest) ProtoMessage

func (*GetPatchDeploymentRequest) ProtoMessage()

func (*GetPatchDeploymentRequest) Reset

func (m *GetPatchDeploymentRequest) Reset()

func (*GetPatchDeploymentRequest) String

func (m *GetPatchDeploymentRequest) String() string

func (*GetPatchDeploymentRequest) XXX_DiscardUnknown

func (m *GetPatchDeploymentRequest) XXX_DiscardUnknown()

func (*GetPatchDeploymentRequest) XXX_Marshal

func (m *GetPatchDeploymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPatchDeploymentRequest) XXX_Merge

func (m *GetPatchDeploymentRequest) XXX_Merge(src proto.Message)

func (*GetPatchDeploymentRequest) XXX_Size

func (m *GetPatchDeploymentRequest) XXX_Size() int

func (*GetPatchDeploymentRequest) XXX_Unmarshal

func (m *GetPatchDeploymentRequest) XXX_Unmarshal(b []byte) error

type GetPatchJobRequest

type GetPatchJobRequest struct {
	// Required. Name of the patch in the form `projects/*/patchJobs/*`
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to get an active or completed patch job.

func (*GetPatchJobRequest) Descriptor

func (*GetPatchJobRequest) Descriptor() ([]byte, []int)

func (*GetPatchJobRequest) GetName

func (m *GetPatchJobRequest) GetName() string

func (*GetPatchJobRequest) ProtoMessage

func (*GetPatchJobRequest) ProtoMessage()

func (*GetPatchJobRequest) Reset

func (m *GetPatchJobRequest) Reset()

func (*GetPatchJobRequest) String

func (m *GetPatchJobRequest) String() string

func (*GetPatchJobRequest) XXX_DiscardUnknown

func (m *GetPatchJobRequest) XXX_DiscardUnknown()

func (*GetPatchJobRequest) XXX_Marshal

func (m *GetPatchJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPatchJobRequest) XXX_Merge

func (m *GetPatchJobRequest) XXX_Merge(src proto.Message)

func (*GetPatchJobRequest) XXX_Size

func (m *GetPatchJobRequest) XXX_Size() int

func (*GetPatchJobRequest) XXX_Unmarshal

func (m *GetPatchJobRequest) XXX_Unmarshal(b []byte) error

type GooSettings

type GooSettings struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Googet patching is performed by running `googet update`.

func (*GooSettings) Descriptor

func (*GooSettings) Descriptor() ([]byte, []int)

func (*GooSettings) ProtoMessage

func (*GooSettings) ProtoMessage()

func (*GooSettings) Reset

func (m *GooSettings) Reset()

func (*GooSettings) String

func (m *GooSettings) String() string

func (*GooSettings) XXX_DiscardUnknown

func (m *GooSettings) XXX_DiscardUnknown()

func (*GooSettings) XXX_Marshal

func (m *GooSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GooSettings) XXX_Merge

func (m *GooSettings) XXX_Merge(src proto.Message)

func (*GooSettings) XXX_Size

func (m *GooSettings) XXX_Size() int

func (*GooSettings) XXX_Unmarshal

func (m *GooSettings) XXX_Unmarshal(b []byte) error

type Instance

type Instance struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Namespace for instance state enums.

func (*Instance) Descriptor

func (*Instance) Descriptor() ([]byte, []int)

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) Reset

func (m *Instance) Reset()

func (*Instance) String

func (m *Instance) String() string

func (*Instance) XXX_DiscardUnknown

func (m *Instance) XXX_DiscardUnknown()

func (*Instance) XXX_Marshal

func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Instance) XXX_Merge

func (m *Instance) XXX_Merge(src proto.Message)

func (*Instance) XXX_Size

func (m *Instance) XXX_Size() int

func (*Instance) XXX_Unmarshal

func (m *Instance) XXX_Unmarshal(b []byte) error

type Instance_PatchState

type Instance_PatchState int32

Patch state of an instance.

const (
	// Unspecified.
	Instance_PATCH_STATE_UNSPECIFIED Instance_PatchState = 0
	// The instance is not yet notified.
	Instance_PENDING Instance_PatchState = 1
	// Instance is inactive and cannot be patched.
	Instance_INACTIVE Instance_PatchState = 2
	// The instance is notified that it should be patched.
	Instance_NOTIFIED Instance_PatchState = 3
	// The instance has started the patching process.
	Instance_STARTED Instance_PatchState = 4
	// The instance is downloading patches.
	Instance_DOWNLOADING_PATCHES Instance_PatchState = 5
	// The instance is applying patches.
	Instance_APPLYING_PATCHES Instance_PatchState = 6
	// The instance is rebooting.
	Instance_REBOOTING Instance_PatchState = 7
	// The instance has completed applying patches.
	Instance_SUCCEEDED Instance_PatchState = 8
	// The instance has completed applying patches but a reboot is required.
	Instance_SUCCEEDED_REBOOT_REQUIRED Instance_PatchState = 9
	// The instance has failed to apply the patch.
	Instance_FAILED Instance_PatchState = 10
	// The instance acked the notification and will start shortly.
	Instance_ACKED Instance_PatchState = 11
	// The instance exceeded the time out while applying the patch.
	Instance_TIMED_OUT Instance_PatchState = 12
	// The instance is running the pre-patch step.
	Instance_RUNNING_PRE_PATCH_STEP Instance_PatchState = 13
	// The instance is running the post-patch step.
	Instance_RUNNING_POST_PATCH_STEP Instance_PatchState = 14
	// The service could not detect the presence of the agent. Check to ensure
	// that the agent is installed, running, and able to communicate with the
	// service.
	Instance_NO_AGENT_DETECTED Instance_PatchState = 15
)

func (Instance_PatchState) EnumDescriptor

func (Instance_PatchState) EnumDescriptor() ([]byte, []int)

func (Instance_PatchState) String

func (x Instance_PatchState) String() string

type ListPatchDeploymentsRequest

type ListPatchDeploymentsRequest struct {
	// Required. The resource name of the parent in the form `projects/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of patch deployments to return. Default is 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A pagination token returned from a previous call to ListPatchDeployments
	// that indicates where this listing should continue from.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request message for listing patch deployments.

func (*ListPatchDeploymentsRequest) Descriptor

func (*ListPatchDeploymentsRequest) Descriptor() ([]byte, []int)

func (*ListPatchDeploymentsRequest) GetPageSize

func (m *ListPatchDeploymentsRequest) GetPageSize() int32

func (*ListPatchDeploymentsRequest) GetPageToken

func (m *ListPatchDeploymentsRequest) GetPageToken() string

func (*ListPatchDeploymentsRequest) GetParent

func (m *ListPatchDeploymentsRequest) GetParent() string

func (*ListPatchDeploymentsRequest) ProtoMessage

func (*ListPatchDeploymentsRequest) ProtoMessage()

func (*ListPatchDeploymentsRequest) Reset

func (m *ListPatchDeploymentsRequest) Reset()

func (*ListPatchDeploymentsRequest) String

func (m *ListPatchDeploymentsRequest) String() string

func (*ListPatchDeploymentsRequest) XXX_DiscardUnknown

func (m *ListPatchDeploymentsRequest) XXX_DiscardUnknown()

func (*ListPatchDeploymentsRequest) XXX_Marshal

func (m *ListPatchDeploymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPatchDeploymentsRequest) XXX_Merge

func (m *ListPatchDeploymentsRequest) XXX_Merge(src proto.Message)

func (*ListPatchDeploymentsRequest) XXX_Size

func (m *ListPatchDeploymentsRequest) XXX_Size() int

func (*ListPatchDeploymentsRequest) XXX_Unmarshal

func (m *ListPatchDeploymentsRequest) XXX_Unmarshal(b []byte) error

type ListPatchDeploymentsResponse

type ListPatchDeploymentsResponse struct {
	// The list of patch deployments.
	PatchDeployments []*PatchDeployment `protobuf:"bytes,1,rep,name=patch_deployments,json=patchDeployments,proto3" json:"patch_deployments,omitempty"`
	// A pagination token that can be used to get the next page of patch
	// deployments.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A response message for listing patch deployments.

func (*ListPatchDeploymentsResponse) Descriptor

func (*ListPatchDeploymentsResponse) Descriptor() ([]byte, []int)

func (*ListPatchDeploymentsResponse) GetNextPageToken

func (m *ListPatchDeploymentsResponse) GetNextPageToken() string

func (*ListPatchDeploymentsResponse) GetPatchDeployments

func (m *ListPatchDeploymentsResponse) GetPatchDeployments() []*PatchDeployment

func (*ListPatchDeploymentsResponse) ProtoMessage

func (*ListPatchDeploymentsResponse) ProtoMessage()

func (*ListPatchDeploymentsResponse) Reset

func (m *ListPatchDeploymentsResponse) Reset()

func (*ListPatchDeploymentsResponse) String

func (*ListPatchDeploymentsResponse) XXX_DiscardUnknown

func (m *ListPatchDeploymentsResponse) XXX_DiscardUnknown()

func (*ListPatchDeploymentsResponse) XXX_Marshal

func (m *ListPatchDeploymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPatchDeploymentsResponse) XXX_Merge

func (m *ListPatchDeploymentsResponse) XXX_Merge(src proto.Message)

func (*ListPatchDeploymentsResponse) XXX_Size

func (m *ListPatchDeploymentsResponse) XXX_Size() int

func (*ListPatchDeploymentsResponse) XXX_Unmarshal

func (m *ListPatchDeploymentsResponse) XXX_Unmarshal(b []byte) error

type ListPatchJobInstanceDetailsRequest

type ListPatchJobInstanceDetailsRequest struct {
	// Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of instance details records to return.  Default is 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A pagination token returned from a previous call
	// that indicates where this listing should continue from.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters results listed in the response. This
	// field supports filtering results by instance zone, name, state, or
	// `failure_reason`.
	Filter               string   `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to list details for all instances that are part of a patch job.

func (*ListPatchJobInstanceDetailsRequest) Descriptor

func (*ListPatchJobInstanceDetailsRequest) Descriptor() ([]byte, []int)

func (*ListPatchJobInstanceDetailsRequest) GetFilter

func (*ListPatchJobInstanceDetailsRequest) GetPageSize

func (m *ListPatchJobInstanceDetailsRequest) GetPageSize() int32

func (*ListPatchJobInstanceDetailsRequest) GetPageToken

func (m *ListPatchJobInstanceDetailsRequest) GetPageToken() string

func (*ListPatchJobInstanceDetailsRequest) GetParent

func (*ListPatchJobInstanceDetailsRequest) ProtoMessage

func (*ListPatchJobInstanceDetailsRequest) ProtoMessage()

func (*ListPatchJobInstanceDetailsRequest) Reset

func (*ListPatchJobInstanceDetailsRequest) String

func (*ListPatchJobInstanceDetailsRequest) XXX_DiscardUnknown

func (m *ListPatchJobInstanceDetailsRequest) XXX_DiscardUnknown()

func (*ListPatchJobInstanceDetailsRequest) XXX_Marshal

func (m *ListPatchJobInstanceDetailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPatchJobInstanceDetailsRequest) XXX_Merge

func (*ListPatchJobInstanceDetailsRequest) XXX_Size

func (*ListPatchJobInstanceDetailsRequest) XXX_Unmarshal

func (m *ListPatchJobInstanceDetailsRequest) XXX_Unmarshal(b []byte) error

type ListPatchJobInstanceDetailsResponse

type ListPatchJobInstanceDetailsResponse struct {
	// A list of instance status.
	PatchJobInstanceDetails []*PatchJobInstanceDetails `` /* 134-byte string literal not displayed */
	// A pagination token that can be used to get the next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A response message for listing the instances details for a patch job.

func (*ListPatchJobInstanceDetailsResponse) Descriptor

func (*ListPatchJobInstanceDetailsResponse) Descriptor() ([]byte, []int)

func (*ListPatchJobInstanceDetailsResponse) GetNextPageToken

func (m *ListPatchJobInstanceDetailsResponse) GetNextPageToken() string

func (*ListPatchJobInstanceDetailsResponse) GetPatchJobInstanceDetails

func (m *ListPatchJobInstanceDetailsResponse) GetPatchJobInstanceDetails() []*PatchJobInstanceDetails

func (*ListPatchJobInstanceDetailsResponse) ProtoMessage

func (*ListPatchJobInstanceDetailsResponse) ProtoMessage()

func (*ListPatchJobInstanceDetailsResponse) Reset

func (*ListPatchJobInstanceDetailsResponse) String

func (*ListPatchJobInstanceDetailsResponse) XXX_DiscardUnknown

func (m *ListPatchJobInstanceDetailsResponse) XXX_DiscardUnknown()

func (*ListPatchJobInstanceDetailsResponse) XXX_Marshal

func (m *ListPatchJobInstanceDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPatchJobInstanceDetailsResponse) XXX_Merge

func (*ListPatchJobInstanceDetailsResponse) XXX_Size

func (*ListPatchJobInstanceDetailsResponse) XXX_Unmarshal

func (m *ListPatchJobInstanceDetailsResponse) XXX_Unmarshal(b []byte) error

type ListPatchJobsRequest

type ListPatchJobsRequest struct {
	// Required. In the form of `projects/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of instance status to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A pagination token returned from a previous call
	// that indicates where this listing should continue from.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// If provided, this field specifies the criteria that must be met by patch
	// jobs to be included in the response.
	// Currently, filtering is only available on the patch_deployment field.
	Filter               string   `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request message for listing patch jobs.

func (*ListPatchJobsRequest) Descriptor

func (*ListPatchJobsRequest) Descriptor() ([]byte, []int)

func (*ListPatchJobsRequest) GetFilter

func (m *ListPatchJobsRequest) GetFilter() string

func (*ListPatchJobsRequest) GetPageSize

func (m *ListPatchJobsRequest) GetPageSize() int32

func (*ListPatchJobsRequest) GetPageToken

func (m *ListPatchJobsRequest) GetPageToken() string

func (*ListPatchJobsRequest) GetParent

func (m *ListPatchJobsRequest) GetParent() string

func (*ListPatchJobsRequest) ProtoMessage

func (*ListPatchJobsRequest) ProtoMessage()

func (*ListPatchJobsRequest) Reset

func (m *ListPatchJobsRequest) Reset()

func (*ListPatchJobsRequest) String

func (m *ListPatchJobsRequest) String() string

func (*ListPatchJobsRequest) XXX_DiscardUnknown

func (m *ListPatchJobsRequest) XXX_DiscardUnknown()

func (*ListPatchJobsRequest) XXX_Marshal

func (m *ListPatchJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPatchJobsRequest) XXX_Merge

func (m *ListPatchJobsRequest) XXX_Merge(src proto.Message)

func (*ListPatchJobsRequest) XXX_Size

func (m *ListPatchJobsRequest) XXX_Size() int

func (*ListPatchJobsRequest) XXX_Unmarshal

func (m *ListPatchJobsRequest) XXX_Unmarshal(b []byte) error

type ListPatchJobsResponse

type ListPatchJobsResponse struct {
	// The list of patch jobs.
	PatchJobs []*PatchJob `protobuf:"bytes,1,rep,name=patch_jobs,json=patchJobs,proto3" json:"patch_jobs,omitempty"`
	// A pagination token that can be used to get the next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A response message for listing patch jobs.

func (*ListPatchJobsResponse) Descriptor

func (*ListPatchJobsResponse) Descriptor() ([]byte, []int)

func (*ListPatchJobsResponse) GetNextPageToken

func (m *ListPatchJobsResponse) GetNextPageToken() string

func (*ListPatchJobsResponse) GetPatchJobs

func (m *ListPatchJobsResponse) GetPatchJobs() []*PatchJob

func (*ListPatchJobsResponse) ProtoMessage

func (*ListPatchJobsResponse) ProtoMessage()

func (*ListPatchJobsResponse) Reset

func (m *ListPatchJobsResponse) Reset()

func (*ListPatchJobsResponse) String

func (m *ListPatchJobsResponse) String() string

func (*ListPatchJobsResponse) XXX_DiscardUnknown

func (m *ListPatchJobsResponse) XXX_DiscardUnknown()

func (*ListPatchJobsResponse) XXX_Marshal

func (m *ListPatchJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPatchJobsResponse) XXX_Merge

func (m *ListPatchJobsResponse) XXX_Merge(src proto.Message)

func (*ListPatchJobsResponse) XXX_Size

func (m *ListPatchJobsResponse) XXX_Size() int

func (*ListPatchJobsResponse) XXX_Unmarshal

func (m *ListPatchJobsResponse) XXX_Unmarshal(b []byte) error

type MonthlySchedule

type MonthlySchedule struct {
	// One day in a month.
	//
	// Types that are valid to be assigned to DayOfMonth:
	//	*MonthlySchedule_WeekDayOfMonth
	//	*MonthlySchedule_MonthDay
	DayOfMonth           isMonthlySchedule_DayOfMonth `protobuf_oneof:"day_of_month"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month".

func (*MonthlySchedule) Descriptor

func (*MonthlySchedule) Descriptor() ([]byte, []int)

func (*MonthlySchedule) GetDayOfMonth

func (m *MonthlySchedule) GetDayOfMonth() isMonthlySchedule_DayOfMonth

func (*MonthlySchedule) GetMonthDay

func (m *MonthlySchedule) GetMonthDay() int32

func (*MonthlySchedule) GetWeekDayOfMonth

func (m *MonthlySchedule) GetWeekDayOfMonth() *WeekDayOfMonth

func (*MonthlySchedule) ProtoMessage

func (*MonthlySchedule) ProtoMessage()

func (*MonthlySchedule) Reset

func (m *MonthlySchedule) Reset()

func (*MonthlySchedule) String

func (m *MonthlySchedule) String() string

func (*MonthlySchedule) XXX_DiscardUnknown

func (m *MonthlySchedule) XXX_DiscardUnknown()

func (*MonthlySchedule) XXX_Marshal

func (m *MonthlySchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MonthlySchedule) XXX_Merge

func (m *MonthlySchedule) XXX_Merge(src proto.Message)

func (*MonthlySchedule) XXX_OneofWrappers

func (*MonthlySchedule) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MonthlySchedule) XXX_Size

func (m *MonthlySchedule) XXX_Size() int

func (*MonthlySchedule) XXX_Unmarshal

func (m *MonthlySchedule) XXX_Unmarshal(b []byte) error

type MonthlySchedule_MonthDay

type MonthlySchedule_MonthDay struct {
	MonthDay int32 `protobuf:"varint,2,opt,name=month_day,json=monthDay,proto3,oneof"`
}

type MonthlySchedule_WeekDayOfMonth

type MonthlySchedule_WeekDayOfMonth struct {
	WeekDayOfMonth *WeekDayOfMonth `protobuf:"bytes,1,opt,name=week_day_of_month,json=weekDayOfMonth,proto3,oneof"`
}

type OneTimeSchedule

type OneTimeSchedule struct {
	// Required. The desired patch job execution time.
	ExecuteTime          *timestamp.Timestamp `protobuf:"bytes,1,opt,name=execute_time,json=executeTime,proto3" json:"execute_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.

func (*OneTimeSchedule) Descriptor

func (*OneTimeSchedule) Descriptor() ([]byte, []int)

func (*OneTimeSchedule) GetExecuteTime

func (m *OneTimeSchedule) GetExecuteTime() *timestamp.Timestamp

func (*OneTimeSchedule) ProtoMessage

func (*OneTimeSchedule) ProtoMessage()

func (*OneTimeSchedule) Reset

func (m *OneTimeSchedule) Reset()

func (*OneTimeSchedule) String

func (m *OneTimeSchedule) String() string

func (*OneTimeSchedule) XXX_DiscardUnknown

func (m *OneTimeSchedule) XXX_DiscardUnknown()

func (*OneTimeSchedule) XXX_Marshal

func (m *OneTimeSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OneTimeSchedule) XXX_Merge

func (m *OneTimeSchedule) XXX_Merge(src proto.Message)

func (*OneTimeSchedule) XXX_Size

func (m *OneTimeSchedule) XXX_Size() int

func (*OneTimeSchedule) XXX_Unmarshal

func (m *OneTimeSchedule) XXX_Unmarshal(b []byte) error

type OsConfigServiceClient

type OsConfigServiceClient interface {
	// Patch VM instances by creating and running a patch job.
	ExecutePatchJob(ctx context.Context, in *ExecutePatchJobRequest, opts ...grpc.CallOption) (*PatchJob, error)
	// Get the patch job. This can be used to track the progress of an
	// ongoing patch job or review the details of completed jobs.
	GetPatchJob(ctx context.Context, in *GetPatchJobRequest, opts ...grpc.CallOption) (*PatchJob, error)
	// Cancel a patch job. The patch job must be active. Canceled patch jobs
	// cannot be restarted.
	CancelPatchJob(ctx context.Context, in *CancelPatchJobRequest, opts ...grpc.CallOption) (*PatchJob, error)
	// Get a list of patch jobs.
	ListPatchJobs(ctx context.Context, in *ListPatchJobsRequest, opts ...grpc.CallOption) (*ListPatchJobsResponse, error)
	// Get a list of instance details for a given patch job.
	ListPatchJobInstanceDetails(ctx context.Context, in *ListPatchJobInstanceDetailsRequest, opts ...grpc.CallOption) (*ListPatchJobInstanceDetailsResponse, error)
	// Create an OS Config patch deployment.
	CreatePatchDeployment(ctx context.Context, in *CreatePatchDeploymentRequest, opts ...grpc.CallOption) (*PatchDeployment, error)
	// Get an OS Config patch deployment.
	GetPatchDeployment(ctx context.Context, in *GetPatchDeploymentRequest, opts ...grpc.CallOption) (*PatchDeployment, error)
	// Get a page of OS Config patch deployments.
	ListPatchDeployments(ctx context.Context, in *ListPatchDeploymentsRequest, opts ...grpc.CallOption) (*ListPatchDeploymentsResponse, error)
	// Delete an OS Config patch deployment.
	DeletePatchDeployment(ctx context.Context, in *DeletePatchDeploymentRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

OsConfigServiceClient is the client API for OsConfigService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type OsConfigServiceServer

type OsConfigServiceServer interface {
	// Patch VM instances by creating and running a patch job.
	ExecutePatchJob(context.Context, *ExecutePatchJobRequest) (*PatchJob, error)
	// Get the patch job. This can be used to track the progress of an
	// ongoing patch job or review the details of completed jobs.
	GetPatchJob(context.Context, *GetPatchJobRequest) (*PatchJob, error)
	// Cancel a patch job. The patch job must be active. Canceled patch jobs
	// cannot be restarted.
	CancelPatchJob(context.Context, *CancelPatchJobRequest) (*PatchJob, error)
	// Get a list of patch jobs.
	ListPatchJobs(context.Context, *ListPatchJobsRequest) (*ListPatchJobsResponse, error)
	// Get a list of instance details for a given patch job.
	ListPatchJobInstanceDetails(context.Context, *ListPatchJobInstanceDetailsRequest) (*ListPatchJobInstanceDetailsResponse, error)
	// Create an OS Config patch deployment.
	CreatePatchDeployment(context.Context, *CreatePatchDeploymentRequest) (*PatchDeployment, error)
	// Get an OS Config patch deployment.
	GetPatchDeployment(context.Context, *GetPatchDeploymentRequest) (*PatchDeployment, error)
	// Get a page of OS Config patch deployments.
	ListPatchDeployments(context.Context, *ListPatchDeploymentsRequest) (*ListPatchDeploymentsResponse, error)
	// Delete an OS Config patch deployment.
	DeletePatchDeployment(context.Context, *DeletePatchDeploymentRequest) (*empty.Empty, error)
}

OsConfigServiceServer is the server API for OsConfigService service.

type PatchConfig

type PatchConfig struct {
	// Post-patch reboot settings.
	RebootConfig PatchConfig_RebootConfig `` /* 153-byte string literal not displayed */
	// Apt update settings. Use this setting to override the default `apt` patch
	// rules.
	Apt *AptSettings `protobuf:"bytes,3,opt,name=apt,proto3" json:"apt,omitempty"`
	// Yum update settings. Use this setting to override the default `yum` patch
	// rules.
	Yum *YumSettings `protobuf:"bytes,4,opt,name=yum,proto3" json:"yum,omitempty"`
	// Goo update settings. Use this setting to override the default `goo` patch
	// rules.
	Goo *GooSettings `protobuf:"bytes,5,opt,name=goo,proto3" json:"goo,omitempty"`
	// Zypper update settings. Use this setting to override the default `zypper`
	// patch rules.
	Zypper *ZypperSettings `protobuf:"bytes,6,opt,name=zypper,proto3" json:"zypper,omitempty"`
	// Windows update settings. Use this override the default windows patch rules.
	WindowsUpdate *WindowsUpdateSettings `protobuf:"bytes,7,opt,name=windows_update,json=windowsUpdate,proto3" json:"windows_update,omitempty"`
	// The `ExecStep` to run before the patch update.
	PreStep *ExecStep `protobuf:"bytes,8,opt,name=pre_step,json=preStep,proto3" json:"pre_step,omitempty"`
	// The `ExecStep` to run after the patch update.
	PostStep             *ExecStep `protobuf:"bytes,9,opt,name=post_step,json=postStep,proto3" json:"post_step,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.

func (*PatchConfig) Descriptor

func (*PatchConfig) Descriptor() ([]byte, []int)

func (*PatchConfig) GetApt

func (m *PatchConfig) GetApt() *AptSettings

func (*PatchConfig) GetGoo

func (m *PatchConfig) GetGoo() *GooSettings

func (*PatchConfig) GetPostStep

func (m *PatchConfig) GetPostStep() *ExecStep

func (*PatchConfig) GetPreStep

func (m *PatchConfig) GetPreStep() *ExecStep

func (*PatchConfig) GetRebootConfig

func (m *PatchConfig) GetRebootConfig() PatchConfig_RebootConfig

func (*PatchConfig) GetWindowsUpdate

func (m *PatchConfig) GetWindowsUpdate() *WindowsUpdateSettings

func (*PatchConfig) GetYum

func (m *PatchConfig) GetYum() *YumSettings

func (*PatchConfig) GetZypper

func (m *PatchConfig) GetZypper() *ZypperSettings

func (*PatchConfig) ProtoMessage

func (*PatchConfig) ProtoMessage()

func (*PatchConfig) Reset

func (m *PatchConfig) Reset()

func (*PatchConfig) String

func (m *PatchConfig) String() string

func (*PatchConfig) XXX_DiscardUnknown

func (m *PatchConfig) XXX_DiscardUnknown()

func (*PatchConfig) XXX_Marshal

func (m *PatchConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchConfig) XXX_Merge

func (m *PatchConfig) XXX_Merge(src proto.Message)

func (*PatchConfig) XXX_Size

func (m *PatchConfig) XXX_Size() int

func (*PatchConfig) XXX_Unmarshal

func (m *PatchConfig) XXX_Unmarshal(b []byte) error

type PatchConfig_RebootConfig

type PatchConfig_RebootConfig int32

Post-patch reboot settings.

const (
	// The default behavior is DEFAULT.
	PatchConfig_REBOOT_CONFIG_UNSPECIFIED PatchConfig_RebootConfig = 0
	// The agent decides if a reboot is necessary by checking signals such as
	// registry keys on Windows or `/var/run/reboot-required` on APT based
	// systems. On RPM based systems, a set of core system package install times
	// are compared with system boot time.
	PatchConfig_DEFAULT PatchConfig_RebootConfig = 1
	// Always reboot the machine after the update completes.
	PatchConfig_ALWAYS PatchConfig_RebootConfig = 2
	// Never reboot the machine after the update completes.
	PatchConfig_NEVER PatchConfig_RebootConfig = 3
)

func (PatchConfig_RebootConfig) EnumDescriptor

func (PatchConfig_RebootConfig) EnumDescriptor() ([]byte, []int)

func (PatchConfig_RebootConfig) String

func (x PatchConfig_RebootConfig) String() string

type PatchDeployment

type PatchDeployment struct {
	// Unique name for the patch deployment resource in a project. The patch
	// deployment name is in the form:
	// `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
	// This field is ignored when you create a new patch deployment.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Description of the patch deployment. Length of the description is limited
	// to 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Required. VM instances to patch.
	InstanceFilter *PatchInstanceFilter `protobuf:"bytes,3,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`
	// Optional. Patch configuration that is applied.
	PatchConfig *PatchConfig `protobuf:"bytes,4,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
	// Optional. Duration of the patch. After the duration ends, the patch times out.
	Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// Schedule for the patch.
	//
	// Types that are valid to be assigned to Schedule:
	//	*PatchDeployment_OneTimeSchedule
	//	*PatchDeployment_RecurringSchedule
	Schedule isPatchDeployment_Schedule `protobuf_oneof:"schedule"`
	// Output only. Time the patch deployment was created. Timestamp is in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time the patch deployment was last updated. Timestamp is in
	// [RFC3339]("https://www.ietf.org/rfc/rfc3339.txt) text format.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The last time a patch job was started by this deployment.
	// Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
	// format.
	LastExecuteTime      *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see [Scheduling patch jobs](https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-jobs).

func (*PatchDeployment) Descriptor

func (*PatchDeployment) Descriptor() ([]byte, []int)

func (*PatchDeployment) GetCreateTime

func (m *PatchDeployment) GetCreateTime() *timestamp.Timestamp

func (*PatchDeployment) GetDescription

func (m *PatchDeployment) GetDescription() string

func (*PatchDeployment) GetDuration

func (m *PatchDeployment) GetDuration() *duration.Duration

func (*PatchDeployment) GetInstanceFilter

func (m *PatchDeployment) GetInstanceFilter() *PatchInstanceFilter

func (*PatchDeployment) GetLastExecuteTime

func (m *PatchDeployment) GetLastExecuteTime() *timestamp.Timestamp

func (*PatchDeployment) GetName

func (m *PatchDeployment) GetName() string

func (*PatchDeployment) GetOneTimeSchedule

func (m *PatchDeployment) GetOneTimeSchedule() *OneTimeSchedule

func (*PatchDeployment) GetPatchConfig

func (m *PatchDeployment) GetPatchConfig() *PatchConfig

func (*PatchDeployment) GetRecurringSchedule

func (m *PatchDeployment) GetRecurringSchedule() *RecurringSchedule

func (*PatchDeployment) GetSchedule

func (m *PatchDeployment) GetSchedule() isPatchDeployment_Schedule

func (*PatchDeployment) GetUpdateTime

func (m *PatchDeployment) GetUpdateTime() *timestamp.Timestamp

func (*PatchDeployment) ProtoMessage

func (*PatchDeployment) ProtoMessage()

func (*PatchDeployment) Reset

func (m *PatchDeployment) Reset()

func (*PatchDeployment) String

func (m *PatchDeployment) String() string

func (*PatchDeployment) XXX_DiscardUnknown

func (m *PatchDeployment) XXX_DiscardUnknown()

func (*PatchDeployment) XXX_Marshal

func (m *PatchDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchDeployment) XXX_Merge

func (m *PatchDeployment) XXX_Merge(src proto.Message)

func (*PatchDeployment) XXX_OneofWrappers

func (*PatchDeployment) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PatchDeployment) XXX_Size

func (m *PatchDeployment) XXX_Size() int

func (*PatchDeployment) XXX_Unmarshal

func (m *PatchDeployment) XXX_Unmarshal(b []byte) error

type PatchDeployment_OneTimeSchedule

type PatchDeployment_OneTimeSchedule struct {
	OneTimeSchedule *OneTimeSchedule `protobuf:"bytes,6,opt,name=one_time_schedule,json=oneTimeSchedule,proto3,oneof"`
}

type PatchDeployment_RecurringSchedule

type PatchDeployment_RecurringSchedule struct {
	RecurringSchedule *RecurringSchedule `protobuf:"bytes,7,opt,name=recurring_schedule,json=recurringSchedule,proto3,oneof"`
}

type PatchInstanceFilter

type PatchInstanceFilter struct {
	// Target all VM instances in the project. If true, no other criteria is
	// permitted.
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// Targets VM instances matching ANY of these GroupLabels. This allows
	// targeting of disparate groups of VM instances.
	GroupLabels []*PatchInstanceFilter_GroupLabel `protobuf:"bytes,2,rep,name=group_labels,json=groupLabels,proto3" json:"group_labels,omitempty"`
	// Targets VM instances in ANY of these zones. Leave empty to target VM
	// instances in any zone.
	Zones []string `protobuf:"bytes,3,rep,name=zones,proto3" json:"zones,omitempty"`
	// Targets any of the VM instances specified. Instances are specified by their
	// URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME],
	// `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or
	// `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
	Instances []string `protobuf:"bytes,4,rep,name=instances,proto3" json:"instances,omitempty"`
	// Targets VMs whose name starts with one of these prefixes. Similar to
	// labels, this is another way to group VMs when targeting configs, for
	// example prefix="prod-".
	InstanceNamePrefixes []string `protobuf:"bytes,5,rep,name=instance_name_prefixes,json=instanceNamePrefixes,proto3" json:"instance_name_prefixes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.

func (*PatchInstanceFilter) Descriptor

func (*PatchInstanceFilter) Descriptor() ([]byte, []int)

func (*PatchInstanceFilter) GetAll

func (m *PatchInstanceFilter) GetAll() bool

func (*PatchInstanceFilter) GetGroupLabels

func (m *PatchInstanceFilter) GetGroupLabels() []*PatchInstanceFilter_GroupLabel

func (*PatchInstanceFilter) GetInstanceNamePrefixes

func (m *PatchInstanceFilter) GetInstanceNamePrefixes() []string

func (*PatchInstanceFilter) GetInstances

func (m *PatchInstanceFilter) GetInstances() []string

func (*PatchInstanceFilter) GetZones

func (m *PatchInstanceFilter) GetZones() []string

func (*PatchInstanceFilter) ProtoMessage

func (*PatchInstanceFilter) ProtoMessage()

func (*PatchInstanceFilter) Reset

func (m *PatchInstanceFilter) Reset()

func (*PatchInstanceFilter) String

func (m *PatchInstanceFilter) String() string

func (*PatchInstanceFilter) XXX_DiscardUnknown

func (m *PatchInstanceFilter) XXX_DiscardUnknown()

func (*PatchInstanceFilter) XXX_Marshal

func (m *PatchInstanceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchInstanceFilter) XXX_Merge

func (m *PatchInstanceFilter) XXX_Merge(src proto.Message)

func (*PatchInstanceFilter) XXX_Size

func (m *PatchInstanceFilter) XXX_Size() int

func (*PatchInstanceFilter) XXX_Unmarshal

func (m *PatchInstanceFilter) XXX_Unmarshal(b []byte) error

type PatchInstanceFilter_GroupLabel

type PatchInstanceFilter_GroupLabel struct {
	// Compute Engine instance labels that must be present for a VM
	// instance to be targeted by this filter.
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Targets a group of VM instances by using their [assigned labels](https://cloud.google.com/compute/docs/labeling-resources). Labels are key-value pairs. A `GroupLabel` is a combination of labels that is used to target VMs for a patch job.

For example, a patch job can target VMs that have the following `GroupLabel`: `{"env":"test", "app":"web"}`. This means that the patch job is applied to VMs that have both the labels `env=test` and `app=web`.

func (*PatchInstanceFilter_GroupLabel) Descriptor

func (*PatchInstanceFilter_GroupLabel) Descriptor() ([]byte, []int)

func (*PatchInstanceFilter_GroupLabel) GetLabels

func (m *PatchInstanceFilter_GroupLabel) GetLabels() map[string]string

func (*PatchInstanceFilter_GroupLabel) ProtoMessage

func (*PatchInstanceFilter_GroupLabel) ProtoMessage()

func (*PatchInstanceFilter_GroupLabel) Reset

func (m *PatchInstanceFilter_GroupLabel) Reset()

func (*PatchInstanceFilter_GroupLabel) String

func (*PatchInstanceFilter_GroupLabel) XXX_DiscardUnknown

func (m *PatchInstanceFilter_GroupLabel) XXX_DiscardUnknown()

func (*PatchInstanceFilter_GroupLabel) XXX_Marshal

func (m *PatchInstanceFilter_GroupLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchInstanceFilter_GroupLabel) XXX_Merge

func (m *PatchInstanceFilter_GroupLabel) XXX_Merge(src proto.Message)

func (*PatchInstanceFilter_GroupLabel) XXX_Size

func (m *PatchInstanceFilter_GroupLabel) XXX_Size() int

func (*PatchInstanceFilter_GroupLabel) XXX_Unmarshal

func (m *PatchInstanceFilter_GroupLabel) XXX_Unmarshal(b []byte) error

type PatchJob

type PatchJob struct {
	// Unique identifier for this patch job in the form
	// `projects/*/patchJobs/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Display name for this patch job. This is not a unique identifier.
	DisplayName string `protobuf:"bytes,14,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Description of the patch job. Length of the description is limited
	// to 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Time this patch job was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Last time this patch job was updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The current state of the PatchJob .
	State PatchJob_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.osconfig.v1.PatchJob_State" json:"state,omitempty"`
	// Instances to patch.
	InstanceFilter *PatchInstanceFilter `protobuf:"bytes,13,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`
	// Patch configuration being applied.
	PatchConfig *PatchConfig `protobuf:"bytes,7,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
	// Duration of the patch job. After the duration ends, the
	// patch job times out.
	Duration *duration.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"`
	// Summary of instance details.
	InstanceDetailsSummary *PatchJob_InstanceDetailsSummary `` /* 129-byte string literal not displayed */
	// If this patch job is a dry run, the agent reports that it has
	// finished without running any updates on the VM instance.
	DryRun bool `protobuf:"varint,10,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// If this patch job failed, this message provides information about the
	// failure.
	ErrorMessage string `protobuf:"bytes,11,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// Reflects the overall progress of the patch job in the range of
	// 0.0 being no progress to 100.0 being complete.
	PercentComplete float64 `protobuf:"fixed64,12,opt,name=percent_complete,json=percentComplete,proto3" json:"percent_complete,omitempty"`
	// Output only. Name of the patch deployment that created this patch job.
	PatchDeployment      string   `protobuf:"bytes,15,opt,name=patch_deployment,json=patchDeployment,proto3" json:"patch_deployment,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A high level representation of a patch job that is either in progress or has completed.

Instances details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails.

For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).

func (*PatchJob) Descriptor

func (*PatchJob) Descriptor() ([]byte, []int)

func (*PatchJob) GetCreateTime

func (m *PatchJob) GetCreateTime() *timestamp.Timestamp

func (*PatchJob) GetDescription

func (m *PatchJob) GetDescription() string

func (*PatchJob) GetDisplayName

func (m *PatchJob) GetDisplayName() string

func (*PatchJob) GetDryRun

func (m *PatchJob) GetDryRun() bool

func (*PatchJob) GetDuration

func (m *PatchJob) GetDuration() *duration.Duration

func (*PatchJob) GetErrorMessage

func (m *PatchJob) GetErrorMessage() string

func (*PatchJob) GetInstanceDetailsSummary

func (m *PatchJob) GetInstanceDetailsSummary() *PatchJob_InstanceDetailsSummary

func (*PatchJob) GetInstanceFilter

func (m *PatchJob) GetInstanceFilter() *PatchInstanceFilter

func (*PatchJob) GetName

func (m *PatchJob) GetName() string

func (*PatchJob) GetPatchConfig

func (m *PatchJob) GetPatchConfig() *PatchConfig

func (*PatchJob) GetPatchDeployment

func (m *PatchJob) GetPatchDeployment() string

func (*PatchJob) GetPercentComplete

func (m *PatchJob) GetPercentComplete() float64

func (*PatchJob) GetState

func (m *PatchJob) GetState() PatchJob_State

func (*PatchJob) GetUpdateTime

func (m *PatchJob) GetUpdateTime() *timestamp.Timestamp

func (*PatchJob) ProtoMessage

func (*PatchJob) ProtoMessage()

func (*PatchJob) Reset

func (m *PatchJob) Reset()

func (*PatchJob) String

func (m *PatchJob) String() string

func (*PatchJob) XXX_DiscardUnknown

func (m *PatchJob) XXX_DiscardUnknown()

func (*PatchJob) XXX_Marshal

func (m *PatchJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchJob) XXX_Merge

func (m *PatchJob) XXX_Merge(src proto.Message)

func (*PatchJob) XXX_Size

func (m *PatchJob) XXX_Size() int

func (*PatchJob) XXX_Unmarshal

func (m *PatchJob) XXX_Unmarshal(b []byte) error

type PatchJobInstanceDetails

type PatchJobInstanceDetails struct {
	// The instance name in the form `projects/*/zones/*/instances/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The unique identifier for the instance. This identifier is
	// defined by the server.
	InstanceSystemId string `protobuf:"bytes,2,opt,name=instance_system_id,json=instanceSystemId,proto3" json:"instance_system_id,omitempty"`
	// Current state of instance patch.
	State Instance_PatchState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.osconfig.v1.Instance_PatchState" json:"state,omitempty"`
	// If the patch fails, this field provides the reason.
	FailureReason string `protobuf:"bytes,4,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
	// The number of times the agent that the agent attempts to apply the patch.
	AttemptCount         int64    `protobuf:"varint,5,opt,name=attempt_count,json=attemptCount,proto3" json:"attempt_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Patch details for a VM instance. For more information about reviewing VM instance details, see [Listing all VM instance details for a specific patch job](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-jobs#list-instance-details).

func (*PatchJobInstanceDetails) Descriptor

func (*PatchJobInstanceDetails) Descriptor() ([]byte, []int)

func (*PatchJobInstanceDetails) GetAttemptCount

func (m *PatchJobInstanceDetails) GetAttemptCount() int64

func (*PatchJobInstanceDetails) GetFailureReason

func (m *PatchJobInstanceDetails) GetFailureReason() string

func (*PatchJobInstanceDetails) GetInstanceSystemId

func (m *PatchJobInstanceDetails) GetInstanceSystemId() string

func (*PatchJobInstanceDetails) GetName

func (m *PatchJobInstanceDetails) GetName() string

func (*PatchJobInstanceDetails) GetState

func (*PatchJobInstanceDetails) ProtoMessage

func (*PatchJobInstanceDetails) ProtoMessage()

func (*PatchJobInstanceDetails) Reset

func (m *PatchJobInstanceDetails) Reset()

func (*PatchJobInstanceDetails) String

func (m *PatchJobInstanceDetails) String() string

func (*PatchJobInstanceDetails) XXX_DiscardUnknown

func (m *PatchJobInstanceDetails) XXX_DiscardUnknown()

func (*PatchJobInstanceDetails) XXX_Marshal

func (m *PatchJobInstanceDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchJobInstanceDetails) XXX_Merge

func (m *PatchJobInstanceDetails) XXX_Merge(src proto.Message)

func (*PatchJobInstanceDetails) XXX_Size

func (m *PatchJobInstanceDetails) XXX_Size() int

func (*PatchJobInstanceDetails) XXX_Unmarshal

func (m *PatchJobInstanceDetails) XXX_Unmarshal(b []byte) error

type PatchJob_InstanceDetailsSummary

type PatchJob_InstanceDetailsSummary struct {
	// Number of instances pending patch job.
	PendingInstanceCount int64 `protobuf:"varint,1,opt,name=pending_instance_count,json=pendingInstanceCount,proto3" json:"pending_instance_count,omitempty"`
	// Number of instances that are inactive.
	InactiveInstanceCount int64 `` /* 127-byte string literal not displayed */
	// Number of instances notified about patch job.
	NotifiedInstanceCount int64 `` /* 127-byte string literal not displayed */
	// Number of instances that have started.
	StartedInstanceCount int64 `protobuf:"varint,4,opt,name=started_instance_count,json=startedInstanceCount,proto3" json:"started_instance_count,omitempty"`
	// Number of instances that are downloading patches.
	DownloadingPatchesInstanceCount int64 `` /* 159-byte string literal not displayed */
	// Number of instances that are applying patches.
	ApplyingPatchesInstanceCount int64 `` /* 150-byte string literal not displayed */
	// Number of instances rebooting.
	RebootingInstanceCount int64 `` /* 130-byte string literal not displayed */
	// Number of instances that have completed successfully.
	SucceededInstanceCount int64 `` /* 130-byte string literal not displayed */
	// Number of instances that require reboot.
	SucceededRebootRequiredInstanceCount int64 `` /* 176-byte string literal not displayed */
	// Number of instances that failed.
	FailedInstanceCount int64 `protobuf:"varint,10,opt,name=failed_instance_count,json=failedInstanceCount,proto3" json:"failed_instance_count,omitempty"`
	// Number of instances that have acked and will start shortly.
	AckedInstanceCount int64 `protobuf:"varint,11,opt,name=acked_instance_count,json=ackedInstanceCount,proto3" json:"acked_instance_count,omitempty"`
	// Number of instances that exceeded the time out while applying the patch.
	TimedOutInstanceCount int64 `` /* 130-byte string literal not displayed */
	// Number of instances that are running the pre-patch step.
	PrePatchStepInstanceCount int64 `` /* 144-byte string literal not displayed */
	// Number of instances that are running the post-patch step.
	PostPatchStepInstanceCount int64 `` /* 147-byte string literal not displayed */
	// Number of instances that do not appear to be running the agent. Check to
	// ensure that the agent is installed, running, and able to communicate with
	// the service.
	NoAgentDetectedInstanceCount int64    `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
	XXX_unrecognized             []byte   `json:"-"`
	XXX_sizecache                int32    `json:"-"`
}

A summary of the current patch state across all instances that this patch job affects. Contains counts of instances in different states. These states map to `InstancePatchState`. List patch job instance details to see the specific states of each instance.

func (*PatchJob_InstanceDetailsSummary) Descriptor

func (*PatchJob_InstanceDetailsSummary) Descriptor() ([]byte, []int)

func (*PatchJob_InstanceDetailsSummary) GetAckedInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetAckedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetApplyingPatchesInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetApplyingPatchesInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetDownloadingPatchesInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetDownloadingPatchesInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetFailedInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetFailedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetInactiveInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetInactiveInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetNoAgentDetectedInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetNoAgentDetectedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetNotifiedInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetNotifiedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPendingInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetPendingInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPostPatchStepInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetPostPatchStepInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPrePatchStepInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetPrePatchStepInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetRebootingInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetRebootingInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetStartedInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetStartedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetSucceededInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetSucceededInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetSucceededRebootRequiredInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetSucceededRebootRequiredInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetTimedOutInstanceCount

func (m *PatchJob_InstanceDetailsSummary) GetTimedOutInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) ProtoMessage

func (*PatchJob_InstanceDetailsSummary) ProtoMessage()

func (*PatchJob_InstanceDetailsSummary) Reset

func (*PatchJob_InstanceDetailsSummary) String

func (*PatchJob_InstanceDetailsSummary) XXX_DiscardUnknown

func (m *PatchJob_InstanceDetailsSummary) XXX_DiscardUnknown()

func (*PatchJob_InstanceDetailsSummary) XXX_Marshal

func (m *PatchJob_InstanceDetailsSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchJob_InstanceDetailsSummary) XXX_Merge

func (m *PatchJob_InstanceDetailsSummary) XXX_Merge(src proto.Message)

func (*PatchJob_InstanceDetailsSummary) XXX_Size

func (m *PatchJob_InstanceDetailsSummary) XXX_Size() int

func (*PatchJob_InstanceDetailsSummary) XXX_Unmarshal

func (m *PatchJob_InstanceDetailsSummary) XXX_Unmarshal(b []byte) error

type PatchJob_State

type PatchJob_State int32

Enumeration of the various states a patch job passes through as it executes.

const (
	// State must be specified.
	PatchJob_STATE_UNSPECIFIED PatchJob_State = 0
	// The patch job was successfully initiated.
	PatchJob_STARTED PatchJob_State = 1
	// The patch job is looking up instances to run the patch on.
	PatchJob_INSTANCE_LOOKUP PatchJob_State = 2
	// Instances are being patched.
	PatchJob_PATCHING PatchJob_State = 3
	// Patch job completed successfully.
	PatchJob_SUCCEEDED PatchJob_State = 4
	// Patch job completed but there were errors.
	PatchJob_COMPLETED_WITH_ERRORS PatchJob_State = 5
	// The patch job was canceled.
	PatchJob_CANCELED PatchJob_State = 6
	// The patch job timed out.
	PatchJob_TIMED_OUT PatchJob_State = 7
)

func (PatchJob_State) EnumDescriptor

func (PatchJob_State) EnumDescriptor() ([]byte, []int)

func (PatchJob_State) String

func (x PatchJob_State) String() string

type RecurringSchedule

type RecurringSchedule struct {
	// Required. Defines the time zone that `time_of_day` is relative to.
	// The rules for daylight saving time are determined by the chosen time zone.
	TimeZone *datetime.TimeZone `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	// Optional. The time that the recurring schedule becomes effective.
	// Defaults to `create_time` of the patch deployment.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. The end time at which a recurring patch deployment schedule is no longer
	// active.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Required. Time of the day to run a recurring deployment.
	TimeOfDay *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=time_of_day,json=timeOfDay,proto3" json:"time_of_day,omitempty"`
	// Required. The frequency unit of this recurring schedule.
	Frequency RecurringSchedule_Frequency `` /* 130-byte string literal not displayed */
	// Configurations for this recurring schedule.
	// Configurations must match frequency.
	//
	// Types that are valid to be assigned to ScheduleConfig:
	//	*RecurringSchedule_Weekly
	//	*RecurringSchedule_Monthly
	ScheduleConfig isRecurringSchedule_ScheduleConfig `protobuf_oneof:"schedule_config"`
	// Output only. The time the last patch job ran successfully.
	LastExecuteTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"`
	// Output only. The time the next patch job is scheduled to run.
	NextExecuteTime      *timestamp.Timestamp `protobuf:"bytes,10,opt,name=next_execute_time,json=nextExecuteTime,proto3" json:"next_execute_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Sets the time for recurring patch deployments.

func (*RecurringSchedule) Descriptor

func (*RecurringSchedule) Descriptor() ([]byte, []int)

func (*RecurringSchedule) GetEndTime

func (m *RecurringSchedule) GetEndTime() *timestamp.Timestamp

func (*RecurringSchedule) GetFrequency

func (*RecurringSchedule) GetLastExecuteTime

func (m *RecurringSchedule) GetLastExecuteTime() *timestamp.Timestamp

func (*RecurringSchedule) GetMonthly

func (m *RecurringSchedule) GetMonthly() *MonthlySchedule

func (*RecurringSchedule) GetNextExecuteTime

func (m *RecurringSchedule) GetNextExecuteTime() *timestamp.Timestamp

func (*RecurringSchedule) GetScheduleConfig

func (m *RecurringSchedule) GetScheduleConfig() isRecurringSchedule_ScheduleConfig

func (*RecurringSchedule) GetStartTime

func (m *RecurringSchedule) GetStartTime() *timestamp.Timestamp

func (*RecurringSchedule) GetTimeOfDay

func (m *RecurringSchedule) GetTimeOfDay() *timeofday.TimeOfDay

func (*RecurringSchedule) GetTimeZone

func (m *RecurringSchedule) GetTimeZone() *datetime.TimeZone

func (*RecurringSchedule) GetWeekly

func (m *RecurringSchedule) GetWeekly() *WeeklySchedule

func (*RecurringSchedule) ProtoMessage

func (*RecurringSchedule) ProtoMessage()

func (*RecurringSchedule) Reset

func (m *RecurringSchedule) Reset()

func (*RecurringSchedule) String

func (m *RecurringSchedule) String() string

func (*RecurringSchedule) XXX_DiscardUnknown

func (m *RecurringSchedule) XXX_DiscardUnknown()

func (*RecurringSchedule) XXX_Marshal

func (m *RecurringSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecurringSchedule) XXX_Merge

func (m *RecurringSchedule) XXX_Merge(src proto.Message)

func (*RecurringSchedule) XXX_OneofWrappers

func (*RecurringSchedule) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RecurringSchedule) XXX_Size

func (m *RecurringSchedule) XXX_Size() int

func (*RecurringSchedule) XXX_Unmarshal

func (m *RecurringSchedule) XXX_Unmarshal(b []byte) error

type RecurringSchedule_Frequency

type RecurringSchedule_Frequency int32

Specifies the frequency of the recurring patch deployments.

const (
	// Invalid. A frequency must be specified.
	RecurringSchedule_FREQUENCY_UNSPECIFIED RecurringSchedule_Frequency = 0
	// Indicates that the frequency should be expressed in terms of
	// weeks.
	RecurringSchedule_WEEKLY RecurringSchedule_Frequency = 1
	// Indicates that the frequency should be expressed in terms of
	// months.
	RecurringSchedule_MONTHLY RecurringSchedule_Frequency = 2
)

func (RecurringSchedule_Frequency) EnumDescriptor

func (RecurringSchedule_Frequency) EnumDescriptor() ([]byte, []int)

func (RecurringSchedule_Frequency) String

type RecurringSchedule_Monthly

type RecurringSchedule_Monthly struct {
	Monthly *MonthlySchedule `protobuf:"bytes,7,opt,name=monthly,proto3,oneof"`
}

type RecurringSchedule_Weekly

type RecurringSchedule_Weekly struct {
	Weekly *WeeklySchedule `protobuf:"bytes,6,opt,name=weekly,proto3,oneof"`
}

type UnimplementedOsConfigServiceServer

type UnimplementedOsConfigServiceServer struct {
}

UnimplementedOsConfigServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOsConfigServiceServer) CancelPatchJob

func (*UnimplementedOsConfigServiceServer) CreatePatchDeployment

func (*UnimplementedOsConfigServiceServer) DeletePatchDeployment

func (*UnimplementedOsConfigServiceServer) ExecutePatchJob

func (*UnimplementedOsConfigServiceServer) GetPatchDeployment

func (*UnimplementedOsConfigServiceServer) GetPatchJob

func (*UnimplementedOsConfigServiceServer) ListPatchDeployments

func (*UnimplementedOsConfigServiceServer) ListPatchJobInstanceDetails

func (*UnimplementedOsConfigServiceServer) ListPatchJobs

type WeekDayOfMonth

type WeekDayOfMonth struct {
	// Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1
	// indicates the last week of the month.
	WeekOrdinal int32 `protobuf:"varint,1,opt,name=week_ordinal,json=weekOrdinal,proto3" json:"week_ordinal,omitempty"`
	// Required. A day of the week.
	DayOfWeek            dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Represents one week day in a month. An example is "the 4th Sunday".

func (*WeekDayOfMonth) Descriptor

func (*WeekDayOfMonth) Descriptor() ([]byte, []int)

func (*WeekDayOfMonth) GetDayOfWeek

func (m *WeekDayOfMonth) GetDayOfWeek() dayofweek.DayOfWeek

func (*WeekDayOfMonth) GetWeekOrdinal

func (m *WeekDayOfMonth) GetWeekOrdinal() int32

func (*WeekDayOfMonth) ProtoMessage

func (*WeekDayOfMonth) ProtoMessage()

func (*WeekDayOfMonth) Reset

func (m *WeekDayOfMonth) Reset()

func (*WeekDayOfMonth) String

func (m *WeekDayOfMonth) String() string

func (*WeekDayOfMonth) XXX_DiscardUnknown

func (m *WeekDayOfMonth) XXX_DiscardUnknown()

func (*WeekDayOfMonth) XXX_Marshal

func (m *WeekDayOfMonth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeekDayOfMonth) XXX_Merge

func (m *WeekDayOfMonth) XXX_Merge(src proto.Message)

func (*WeekDayOfMonth) XXX_Size

func (m *WeekDayOfMonth) XXX_Size() int

func (*WeekDayOfMonth) XXX_Unmarshal

func (m *WeekDayOfMonth) XXX_Unmarshal(b []byte) error

type WeeklySchedule

type WeeklySchedule struct {
	// Required. Day of the week.
	DayOfWeek            dayofweek.DayOfWeek `protobuf:"varint,1,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Represents a weekly schedule.

func (*WeeklySchedule) Descriptor

func (*WeeklySchedule) Descriptor() ([]byte, []int)

func (*WeeklySchedule) GetDayOfWeek

func (m *WeeklySchedule) GetDayOfWeek() dayofweek.DayOfWeek

func (*WeeklySchedule) ProtoMessage

func (*WeeklySchedule) ProtoMessage()

func (*WeeklySchedule) Reset

func (m *WeeklySchedule) Reset()

func (*WeeklySchedule) String

func (m *WeeklySchedule) String() string

func (*WeeklySchedule) XXX_DiscardUnknown

func (m *WeeklySchedule) XXX_DiscardUnknown()

func (*WeeklySchedule) XXX_Marshal

func (m *WeeklySchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeeklySchedule) XXX_Merge

func (m *WeeklySchedule) XXX_Merge(src proto.Message)

func (*WeeklySchedule) XXX_Size

func (m *WeeklySchedule) XXX_Size() int

func (*WeeklySchedule) XXX_Unmarshal

func (m *WeeklySchedule) XXX_Unmarshal(b []byte) error

type WindowsUpdateSettings

type WindowsUpdateSettings struct {
	// Only apply updates of these windows update classifications. If empty, all
	// updates are applied.
	Classifications []WindowsUpdateSettings_Classification `` /* 158-byte string literal not displayed */
	// List of KBs to exclude from update.
	Excludes []string `protobuf:"bytes,2,rep,name=excludes,proto3" json:"excludes,omitempty"`
	// An exclusive list of kbs to be updated. These are the only patches
	// that will be updated. This field must not be used with other
	// patch configurations.
	ExclusivePatches     []string `protobuf:"bytes,3,rep,name=exclusive_patches,json=exclusivePatches,proto3" json:"exclusive_patches,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Windows patching is performed using the Windows Update Agent.

func (*WindowsUpdateSettings) Descriptor

func (*WindowsUpdateSettings) Descriptor() ([]byte, []int)

func (*WindowsUpdateSettings) GetClassifications

func (*WindowsUpdateSettings) GetExcludes

func (m *WindowsUpdateSettings) GetExcludes() []string

func (*WindowsUpdateSettings) GetExclusivePatches

func (m *WindowsUpdateSettings) GetExclusivePatches() []string

func (*WindowsUpdateSettings) ProtoMessage

func (*WindowsUpdateSettings) ProtoMessage()

func (*WindowsUpdateSettings) Reset

func (m *WindowsUpdateSettings) Reset()

func (*WindowsUpdateSettings) String

func (m *WindowsUpdateSettings) String() string

func (*WindowsUpdateSettings) XXX_DiscardUnknown

func (m *WindowsUpdateSettings) XXX_DiscardUnknown()

func (*WindowsUpdateSettings) XXX_Marshal

func (m *WindowsUpdateSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsUpdateSettings) XXX_Merge

func (m *WindowsUpdateSettings) XXX_Merge(src proto.Message)

func (*WindowsUpdateSettings) XXX_Size

func (m *WindowsUpdateSettings) XXX_Size() int

func (*WindowsUpdateSettings) XXX_Unmarshal

func (m *WindowsUpdateSettings) XXX_Unmarshal(b []byte) error

type WindowsUpdateSettings_Classification

type WindowsUpdateSettings_Classification int32

Microsoft Windows update classifications as defined in [1] https://support.microsoft.com/en-us/help/824684/description-of-the-standard-terminology-that-is-used-to-describe-micro

const (
	// Invalid. If classifications are included, they must be specified.
	WindowsUpdateSettings_CLASSIFICATION_UNSPECIFIED WindowsUpdateSettings_Classification = 0
	// "A widely released fix for a specific problem that addresses a critical,
	// non-security-related bug." [1]
	WindowsUpdateSettings_CRITICAL WindowsUpdateSettings_Classification = 1
	// "A widely released fix for a product-specific, security-related
	// vulnerability. Security vulnerabilities are rated by their severity. The
	// severity rating is indicated in the Microsoft security bulletin as
	// critical, important, moderate, or low." [1]
	WindowsUpdateSettings_SECURITY WindowsUpdateSettings_Classification = 2
	// "A widely released and frequent software update that contains additions
	// to a product's definition database. Definition databases are often used
	// to detect objects that have specific attributes, such as malicious code,
	// phishing websites, or junk mail." [1]
	WindowsUpdateSettings_DEFINITION WindowsUpdateSettings_Classification = 3
	// "Software that controls the input and output of a device." [1]
	WindowsUpdateSettings_DRIVER WindowsUpdateSettings_Classification = 4
	// "New product functionality that is first distributed outside the context
	// of a product release and that is typically included in the next full
	// product release." [1]
	WindowsUpdateSettings_FEATURE_PACK WindowsUpdateSettings_Classification = 5
	// "A tested, cumulative set of all hotfixes, security updates, critical
	// updates, and updates. Additionally, service packs may contain additional
	// fixes for problems that are found internally since the release of the
	// product. Service packs my also contain a limited number of
	// customer-requested design changes or features." [1]
	WindowsUpdateSettings_SERVICE_PACK WindowsUpdateSettings_Classification = 6
	// "A utility or feature that helps complete a task or set of tasks." [1]
	WindowsUpdateSettings_TOOL WindowsUpdateSettings_Classification = 7
	// "A tested, cumulative set of hotfixes, security updates, critical
	// updates, and updates that are packaged together for easy deployment. A
	// rollup generally targets a specific area, such as security, or a
	// component of a product, such as Internet Information Services (IIS)." [1]
	WindowsUpdateSettings_UPDATE_ROLLUP WindowsUpdateSettings_Classification = 8
	// "A widely released fix for a specific problem. An update addresses a
	// noncritical, non-security-related bug." [1]
	WindowsUpdateSettings_UPDATE WindowsUpdateSettings_Classification = 9
)

func (WindowsUpdateSettings_Classification) EnumDescriptor

func (WindowsUpdateSettings_Classification) EnumDescriptor() ([]byte, []int)

func (WindowsUpdateSettings_Classification) String

type YumSettings

type YumSettings struct {
	// Adds the `--security` flag to `yum update`. Not supported on
	// all platforms.
	Security bool `protobuf:"varint,1,opt,name=security,proto3" json:"security,omitempty"`
	// Will cause patch to run `yum update-minimal` instead.
	Minimal bool `protobuf:"varint,2,opt,name=minimal,proto3" json:"minimal,omitempty"`
	// List of packages to exclude from update. These packages are excluded by
	// using the yum `--exclude` flag.
	Excludes []string `protobuf:"bytes,3,rep,name=excludes,proto3" json:"excludes,omitempty"`
	// An exclusive list of packages to be updated. These are the only packages
	// that will be updated. If these packages are not installed, they will be
	// ignored. This field must not be specified with any other patch
	// configuration fields.
	ExclusivePackages    []string `protobuf:"bytes,4,rep,name=exclusive_packages,json=exclusivePackages,proto3" json:"exclusive_packages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Yum patching is performed by executing `yum update`. Additional options can be set to control how this is executed.

Note that not all settings are supported on all platforms.

func (*YumSettings) Descriptor

func (*YumSettings) Descriptor() ([]byte, []int)

func (*YumSettings) GetExcludes

func (m *YumSettings) GetExcludes() []string

func (*YumSettings) GetExclusivePackages

func (m *YumSettings) GetExclusivePackages() []string

func (*YumSettings) GetMinimal

func (m *YumSettings) GetMinimal() bool

func (*YumSettings) GetSecurity

func (m *YumSettings) GetSecurity() bool

func (*YumSettings) ProtoMessage

func (*YumSettings) ProtoMessage()

func (*YumSettings) Reset

func (m *YumSettings) Reset()

func (*YumSettings) String

func (m *YumSettings) String() string

func (*YumSettings) XXX_DiscardUnknown

func (m *YumSettings) XXX_DiscardUnknown()

func (*YumSettings) XXX_Marshal

func (m *YumSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*YumSettings) XXX_Merge

func (m *YumSettings) XXX_Merge(src proto.Message)

func (*YumSettings) XXX_Size

func (m *YumSettings) XXX_Size() int

func (*YumSettings) XXX_Unmarshal

func (m *YumSettings) XXX_Unmarshal(b []byte) error

type ZypperSettings

type ZypperSettings struct {
	// Adds the `--with-optional` flag to `zypper patch`.
	WithOptional bool `protobuf:"varint,1,opt,name=with_optional,json=withOptional,proto3" json:"with_optional,omitempty"`
	// Adds the `--with-update` flag, to `zypper patch`.
	WithUpdate bool `protobuf:"varint,2,opt,name=with_update,json=withUpdate,proto3" json:"with_update,omitempty"`
	// Install only patches with these categories.
	// Common categories include security, recommended, and feature.
	Categories []string `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"`
	// Install only patches with these severities.
	// Common severities include critical, important, moderate, and low.
	Severities []string `protobuf:"bytes,4,rep,name=severities,proto3" json:"severities,omitempty"`
	// List of patches to exclude from update.
	Excludes []string `protobuf:"bytes,5,rep,name=excludes,proto3" json:"excludes,omitempty"`
	// An exclusive list of patches to be updated. These are the only patches
	// that will be installed using 'zypper patch patch:<patch_name>' command.
	// This field must not be used with any other patch configuration fields.
	ExclusivePatches     []string `protobuf:"bytes,6,rep,name=exclusive_patches,json=exclusivePatches,proto3" json:"exclusive_patches,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual.

func (*ZypperSettings) Descriptor

func (*ZypperSettings) Descriptor() ([]byte, []int)

func (*ZypperSettings) GetCategories

func (m *ZypperSettings) GetCategories() []string

func (*ZypperSettings) GetExcludes

func (m *ZypperSettings) GetExcludes() []string

func (*ZypperSettings) GetExclusivePatches

func (m *ZypperSettings) GetExclusivePatches() []string

func (*ZypperSettings) GetSeverities

func (m *ZypperSettings) GetSeverities() []string

func (*ZypperSettings) GetWithOptional

func (m *ZypperSettings) GetWithOptional() bool

func (*ZypperSettings) GetWithUpdate

func (m *ZypperSettings) GetWithUpdate() bool

func (*ZypperSettings) ProtoMessage

func (*ZypperSettings) ProtoMessage()

func (*ZypperSettings) Reset

func (m *ZypperSettings) Reset()

func (*ZypperSettings) String

func (m *ZypperSettings) String() string

func (*ZypperSettings) XXX_DiscardUnknown

func (m *ZypperSettings) XXX_DiscardUnknown()

func (*ZypperSettings) XXX_Marshal

func (m *ZypperSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ZypperSettings) XXX_Merge

func (m *ZypperSettings) XXX_Merge(src proto.Message)

func (*ZypperSettings) XXX_Size

func (m *ZypperSettings) XXX_Size() int

func (*ZypperSettings) XXX_Unmarshal

func (m *ZypperSettings) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL