genproto: google.golang.org/genproto/googleapis/cloud/osconfig/v1 Index | Files

package osconfig

import "google.golang.org/genproto/googleapis/cloud/osconfig/v1"

Index

Package Files

inventory.pb.go osconfig_common.pb.go osconfig_service.pb.go patch_deployments.pb.go patch_jobs.pb.go

Variables

var (
    Inventory_Item_OriginType_name = map[int32]string{
        0:  "ORIGIN_TYPE_UNSPECIFIED",
        1:  "INVENTORY_REPORT",
    }
    Inventory_Item_OriginType_value = map[string]int32{
        "ORIGIN_TYPE_UNSPECIFIED": 0,
        "INVENTORY_REPORT":        1,
    }
)

Enum value maps for Inventory_Item_OriginType.

var (
    Inventory_Item_Type_name = map[int32]string{
        0:  "TYPE_UNSPECIFIED",
        1:  "INSTALLED_PACKAGE",
        2:  "AVAILABLE_PACKAGE",
    }
    Inventory_Item_Type_value = map[string]int32{
        "TYPE_UNSPECIFIED":  0,
        "INSTALLED_PACKAGE": 1,
        "AVAILABLE_PACKAGE": 2,
    }
)

Enum value maps for Inventory_Item_Type.

var (
    RecurringSchedule_Frequency_name = map[int32]string{
        0:  "FREQUENCY_UNSPECIFIED",
        1:  "WEEKLY",
        2:  "MONTHLY",
    }
    RecurringSchedule_Frequency_value = map[string]int32{
        "FREQUENCY_UNSPECIFIED": 0,
        "WEEKLY":                1,
        "MONTHLY":               2,
    }
)

Enum value maps for RecurringSchedule_Frequency.

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",
    }
    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,
    }
)

Enum value maps for PatchJob_State.

var (
    PatchConfig_RebootConfig_name = map[int32]string{
        0:  "REBOOT_CONFIG_UNSPECIFIED",
        1:  "DEFAULT",
        2:  "ALWAYS",
        3:  "NEVER",
    }
    PatchConfig_RebootConfig_value = map[string]int32{
        "REBOOT_CONFIG_UNSPECIFIED": 0,
        "DEFAULT":                   1,
        "ALWAYS":                    2,
        "NEVER":                     3,
    }
)

Enum value maps for PatchConfig_RebootConfig.

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",
    }
    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,
    }
)

Enum value maps for Instance_PatchState.

var (
    AptSettings_Type_name = map[int32]string{
        0:  "TYPE_UNSPECIFIED",
        1:  "DIST",
        2:  "UPGRADE",
    }
    AptSettings_Type_value = map[string]int32{
        "TYPE_UNSPECIFIED": 0,
        "DIST":             1,
        "UPGRADE":          2,
    }
)

Enum value maps for AptSettings_Type.

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",
    }
    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,
    }
)

Enum value maps for WindowsUpdateSettings_Classification.

var (
    ExecStepConfig_Interpreter_name = map[int32]string{
        0:  "INTERPRETER_UNSPECIFIED",
        1:  "SHELL",
        2:  "POWERSHELL",
    }
    ExecStepConfig_Interpreter_value = map[string]int32{
        "INTERPRETER_UNSPECIFIED": 0,
        "SHELL":                   1,
        "POWERSHELL":              2,
    }
)

Enum value maps for ExecStepConfig_Interpreter.

var (
    PatchRollout_Mode_name = map[int32]string{
        0:  "MODE_UNSPECIFIED",
        1:  "ZONE_BY_ZONE",
        2:  "CONCURRENT_ZONES",
    }
    PatchRollout_Mode_value = map[string]int32{
        "MODE_UNSPECIFIED": 0,
        "ZONE_BY_ZONE":     1,
        "CONCURRENT_ZONES": 2,
    }
)

Enum value maps for PatchRollout_Mode.

var File_google_cloud_osconfig_v1_inventory_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_v1_osconfig_common_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_v1_osconfig_service_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_v1_patch_deployments_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_v1_patch_jobs_proto protoreflect.FileDescriptor

func RegisterOsConfigServiceServer Uses

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

type AptSettings Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use AptSettings.ProtoReflect.Descriptor instead.

func (*AptSettings) GetExcludes Uses

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

func (*AptSettings) GetExclusivePackages Uses

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

func (*AptSettings) GetType Uses

func (x *AptSettings) GetType() AptSettings_Type

func (*AptSettings) ProtoMessage Uses

func (*AptSettings) ProtoMessage()

func (*AptSettings) ProtoReflect Uses

func (x *AptSettings) ProtoReflect() protoreflect.Message

func (*AptSettings) Reset Uses

func (x *AptSettings) Reset()

func (*AptSettings) String Uses

func (x *AptSettings) String() string

type AptSettings_Type Uses

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) Descriptor Uses

func (AptSettings_Type) Descriptor() protoreflect.EnumDescriptor

func (AptSettings_Type) Enum Uses

func (x AptSettings_Type) Enum() *AptSettings_Type

func (AptSettings_Type) EnumDescriptor Uses

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

Deprecated: Use AptSettings_Type.Descriptor instead.

func (AptSettings_Type) Number Uses

func (x AptSettings_Type) Number() protoreflect.EnumNumber

func (AptSettings_Type) String Uses

func (x AptSettings_Type) String() string

func (AptSettings_Type) Type Uses

func (AptSettings_Type) Type() protoreflect.EnumType

type CancelPatchJobRequest Uses

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"`
    // contains filtered or unexported fields
}

Message for canceling a patch job.

func (*CancelPatchJobRequest) Descriptor Uses

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

Deprecated: Use CancelPatchJobRequest.ProtoReflect.Descriptor instead.

func (*CancelPatchJobRequest) GetName Uses

func (x *CancelPatchJobRequest) GetName() string

func (*CancelPatchJobRequest) ProtoMessage Uses

func (*CancelPatchJobRequest) ProtoMessage()

func (*CancelPatchJobRequest) ProtoReflect Uses

func (x *CancelPatchJobRequest) ProtoReflect() protoreflect.Message

func (*CancelPatchJobRequest) Reset Uses

func (x *CancelPatchJobRequest) Reset()

func (*CancelPatchJobRequest) String Uses

func (x *CancelPatchJobRequest) String() string

type CreatePatchDeploymentRequest Uses

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"`
    // contains filtered or unexported fields
}

A request message for creating a patch deployment.

func (*CreatePatchDeploymentRequest) Descriptor Uses

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

Deprecated: Use CreatePatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*CreatePatchDeploymentRequest) GetParent Uses

func (x *CreatePatchDeploymentRequest) GetParent() string

func (*CreatePatchDeploymentRequest) GetPatchDeployment Uses

func (x *CreatePatchDeploymentRequest) GetPatchDeployment() *PatchDeployment

func (*CreatePatchDeploymentRequest) GetPatchDeploymentId Uses

func (x *CreatePatchDeploymentRequest) GetPatchDeploymentId() string

func (*CreatePatchDeploymentRequest) ProtoMessage Uses

func (*CreatePatchDeploymentRequest) ProtoMessage()

func (*CreatePatchDeploymentRequest) ProtoReflect Uses

func (x *CreatePatchDeploymentRequest) ProtoReflect() protoreflect.Message

func (*CreatePatchDeploymentRequest) Reset Uses

func (x *CreatePatchDeploymentRequest) Reset()

func (*CreatePatchDeploymentRequest) String Uses

func (x *CreatePatchDeploymentRequest) String() string

type DeletePatchDeploymentRequest Uses

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"`
    // contains filtered or unexported fields
}

A request message for deleting a patch deployment.

func (*DeletePatchDeploymentRequest) Descriptor Uses

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

Deprecated: Use DeletePatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeletePatchDeploymentRequest) GetName Uses

func (x *DeletePatchDeploymentRequest) GetName() string

func (*DeletePatchDeploymentRequest) ProtoMessage Uses

func (*DeletePatchDeploymentRequest) ProtoMessage()

func (*DeletePatchDeploymentRequest) ProtoReflect Uses

func (x *DeletePatchDeploymentRequest) ProtoReflect() protoreflect.Message

func (*DeletePatchDeploymentRequest) Reset Uses

func (x *DeletePatchDeploymentRequest) Reset()

func (*DeletePatchDeploymentRequest) String Uses

func (x *DeletePatchDeploymentRequest) String() string

type ExecStep Uses

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 `protobuf:"bytes,2,opt,name=windows_exec_step_config,json=windowsExecStepConfig,proto3" json:"windows_exec_step_config,omitempty"`
    // contains filtered or unexported fields
}

A step that runs an executable for a PatchJob.

func (*ExecStep) Descriptor Uses

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

Deprecated: Use ExecStep.ProtoReflect.Descriptor instead.

func (*ExecStep) GetLinuxExecStepConfig Uses

func (x *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig

func (*ExecStep) GetWindowsExecStepConfig Uses

func (x *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig

func (*ExecStep) ProtoMessage Uses

func (*ExecStep) ProtoMessage()

func (*ExecStep) ProtoReflect Uses

func (x *ExecStep) ProtoReflect() protoreflect.Message

func (*ExecStep) Reset Uses

func (x *ExecStep) Reset()

func (*ExecStep) String Uses

func (x *ExecStep) String() string

type ExecStepConfig Uses

type ExecStepConfig struct {

    // Location of the executable.
    //
    // Types that are assignable 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 `protobuf:"varint,3,rep,packed,name=allowed_success_codes,json=allowedSuccessCodes,proto3" json:"allowed_success_codes,omitempty"`
    // 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 `protobuf:"varint,4,opt,name=interpreter,proto3,enum=google.cloud.osconfig.v1.ExecStepConfig_Interpreter" json:"interpreter,omitempty"`
    // contains filtered or unexported fields
}

Common configurations for an ExecStep.

func (*ExecStepConfig) Descriptor Uses

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

Deprecated: Use ExecStepConfig.ProtoReflect.Descriptor instead.

func (*ExecStepConfig) GetAllowedSuccessCodes Uses

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

func (*ExecStepConfig) GetExecutable Uses

func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable

func (*ExecStepConfig) GetGcsObject Uses

func (x *ExecStepConfig) GetGcsObject() *GcsObject

func (*ExecStepConfig) GetInterpreter Uses

func (x *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter

func (*ExecStepConfig) GetLocalPath Uses

func (x *ExecStepConfig) GetLocalPath() string

func (*ExecStepConfig) ProtoMessage Uses

func (*ExecStepConfig) ProtoMessage()

func (*ExecStepConfig) ProtoReflect Uses

func (x *ExecStepConfig) ProtoReflect() protoreflect.Message

func (*ExecStepConfig) Reset Uses

func (x *ExecStepConfig) Reset()

func (*ExecStepConfig) String Uses

func (x *ExecStepConfig) String() string

type ExecStepConfig_GcsObject Uses

type ExecStepConfig_GcsObject struct {
    // A Cloud Storage object containing the executable.
    GcsObject *GcsObject `protobuf:"bytes,2,opt,name=gcs_object,json=gcsObject,proto3,oneof"`
}

type ExecStepConfig_Interpreter Uses

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) Descriptor Uses

func (ExecStepConfig_Interpreter) Descriptor() protoreflect.EnumDescriptor

func (ExecStepConfig_Interpreter) Enum Uses

func (x ExecStepConfig_Interpreter) Enum() *ExecStepConfig_Interpreter

func (ExecStepConfig_Interpreter) EnumDescriptor Uses

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

Deprecated: Use ExecStepConfig_Interpreter.Descriptor instead.

func (ExecStepConfig_Interpreter) Number Uses

func (x ExecStepConfig_Interpreter) Number() protoreflect.EnumNumber

func (ExecStepConfig_Interpreter) String Uses

func (x ExecStepConfig_Interpreter) String() string

func (ExecStepConfig_Interpreter) Type Uses

func (ExecStepConfig_Interpreter) Type() protoreflect.EnumType

type ExecStepConfig_LocalPath Uses

type ExecStepConfig_LocalPath struct {
    // An absolute path to the executable on the VM.
    LocalPath string `protobuf:"bytes,1,opt,name=local_path,json=localPath,proto3,oneof"`
}

type ExecutePatchJobRequest Uses

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 *durationpb.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"`
    // Rollout strategy of the patch job.
    Rollout *PatchRollout `protobuf:"bytes,9,opt,name=rollout,proto3" json:"rollout,omitempty"`
    // contains filtered or unexported fields
}

A request message to initiate patching across Compute Engine instances.

func (*ExecutePatchJobRequest) Descriptor Uses

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

Deprecated: Use ExecutePatchJobRequest.ProtoReflect.Descriptor instead.

func (*ExecutePatchJobRequest) GetDescription Uses

func (x *ExecutePatchJobRequest) GetDescription() string

func (*ExecutePatchJobRequest) GetDisplayName Uses

func (x *ExecutePatchJobRequest) GetDisplayName() string

func (*ExecutePatchJobRequest) GetDryRun Uses

func (x *ExecutePatchJobRequest) GetDryRun() bool

func (*ExecutePatchJobRequest) GetDuration Uses

func (x *ExecutePatchJobRequest) GetDuration() *durationpb.Duration

func (*ExecutePatchJobRequest) GetInstanceFilter Uses

func (x *ExecutePatchJobRequest) GetInstanceFilter() *PatchInstanceFilter

func (*ExecutePatchJobRequest) GetParent Uses

func (x *ExecutePatchJobRequest) GetParent() string

func (*ExecutePatchJobRequest) GetPatchConfig Uses

func (x *ExecutePatchJobRequest) GetPatchConfig() *PatchConfig

func (*ExecutePatchJobRequest) GetRollout Uses

func (x *ExecutePatchJobRequest) GetRollout() *PatchRollout

func (*ExecutePatchJobRequest) ProtoMessage Uses

func (*ExecutePatchJobRequest) ProtoMessage()

func (*ExecutePatchJobRequest) ProtoReflect Uses

func (x *ExecutePatchJobRequest) ProtoReflect() protoreflect.Message

func (*ExecutePatchJobRequest) Reset Uses

func (x *ExecutePatchJobRequest) Reset()

func (*ExecutePatchJobRequest) String Uses

func (x *ExecutePatchJobRequest) String() string

type FixedOrPercent Uses

type FixedOrPercent struct {

    // Type of the value.
    //
    // Types that are assignable to Mode:
    //	*FixedOrPercent_Fixed
    //	*FixedOrPercent_Percent
    Mode isFixedOrPercent_Mode `protobuf_oneof:"mode"`
    // contains filtered or unexported fields
}

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

func (*FixedOrPercent) Descriptor Uses

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

Deprecated: Use FixedOrPercent.ProtoReflect.Descriptor instead.

func (*FixedOrPercent) GetFixed Uses

func (x *FixedOrPercent) GetFixed() int32

func (*FixedOrPercent) GetMode Uses

func (m *FixedOrPercent) GetMode() isFixedOrPercent_Mode

func (*FixedOrPercent) GetPercent Uses

func (x *FixedOrPercent) GetPercent() int32

func (*FixedOrPercent) ProtoMessage Uses

func (*FixedOrPercent) ProtoMessage()

func (*FixedOrPercent) ProtoReflect Uses

func (x *FixedOrPercent) ProtoReflect() protoreflect.Message

func (*FixedOrPercent) Reset Uses

func (x *FixedOrPercent) Reset()

func (*FixedOrPercent) String Uses

func (x *FixedOrPercent) String() string

type FixedOrPercent_Fixed Uses

type FixedOrPercent_Fixed struct {
    // Specifies a fixed value.
    Fixed int32 `protobuf:"varint,1,opt,name=fixed,proto3,oneof"`
}

type FixedOrPercent_Percent Uses

type FixedOrPercent_Percent struct {
    // Specifies the relative value defined as a percentage, which will be
    // multiplied by a reference value.
    Percent int32 `protobuf:"varint,2,opt,name=percent,proto3,oneof"`
}

type GcsObject Uses

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"`
    // contains filtered or unexported fields
}

Cloud Storage object representation.

func (*GcsObject) Descriptor Uses

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

Deprecated: Use GcsObject.ProtoReflect.Descriptor instead.

func (*GcsObject) GetBucket Uses

func (x *GcsObject) GetBucket() string

func (*GcsObject) GetGenerationNumber Uses

func (x *GcsObject) GetGenerationNumber() int64

func (*GcsObject) GetObject Uses

func (x *GcsObject) GetObject() string

func (*GcsObject) ProtoMessage Uses

func (*GcsObject) ProtoMessage()

func (*GcsObject) ProtoReflect Uses

func (x *GcsObject) ProtoReflect() protoreflect.Message

func (*GcsObject) Reset Uses

func (x *GcsObject) Reset()

func (*GcsObject) String Uses

func (x *GcsObject) String() string

type GetPatchDeploymentRequest Uses

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"`
    // contains filtered or unexported fields
}

A request message for retrieving a patch deployment.

func (*GetPatchDeploymentRequest) Descriptor Uses

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

Deprecated: Use GetPatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetPatchDeploymentRequest) GetName Uses

func (x *GetPatchDeploymentRequest) GetName() string

func (*GetPatchDeploymentRequest) ProtoMessage Uses

func (*GetPatchDeploymentRequest) ProtoMessage()

func (*GetPatchDeploymentRequest) ProtoReflect Uses

func (x *GetPatchDeploymentRequest) ProtoReflect() protoreflect.Message

func (*GetPatchDeploymentRequest) Reset Uses

func (x *GetPatchDeploymentRequest) Reset()

func (*GetPatchDeploymentRequest) String Uses

func (x *GetPatchDeploymentRequest) String() string

type GetPatchJobRequest Uses

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"`
    // contains filtered or unexported fields
}

Request to get an active or completed patch job.

func (*GetPatchJobRequest) Descriptor Uses

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

Deprecated: Use GetPatchJobRequest.ProtoReflect.Descriptor instead.

func (*GetPatchJobRequest) GetName Uses

func (x *GetPatchJobRequest) GetName() string

func (*GetPatchJobRequest) ProtoMessage Uses

func (*GetPatchJobRequest) ProtoMessage()

func (*GetPatchJobRequest) ProtoReflect Uses

func (x *GetPatchJobRequest) ProtoReflect() protoreflect.Message

func (*GetPatchJobRequest) Reset Uses

func (x *GetPatchJobRequest) Reset()

func (*GetPatchJobRequest) String Uses

func (x *GetPatchJobRequest) String() string

type GooSettings Uses

type GooSettings struct {
    // contains filtered or unexported fields
}

Googet patching is performed by running `googet update`.

func (*GooSettings) Descriptor Uses

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

Deprecated: Use GooSettings.ProtoReflect.Descriptor instead.

func (*GooSettings) ProtoMessage Uses

func (*GooSettings) ProtoMessage()

func (*GooSettings) ProtoReflect Uses

func (x *GooSettings) ProtoReflect() protoreflect.Message

func (*GooSettings) Reset Uses

func (x *GooSettings) Reset()

func (*GooSettings) String Uses

func (x *GooSettings) String() string

type Instance Uses

type Instance struct {
    // contains filtered or unexported fields
}

Namespace for instance state enums.

func (*Instance) Descriptor Uses

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) ProtoMessage Uses

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect Uses

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset Uses

func (x *Instance) Reset()

func (*Instance) String Uses

func (x *Instance) String() string

type Instance_PatchState Uses

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) Descriptor Uses

func (Instance_PatchState) Descriptor() protoreflect.EnumDescriptor

func (Instance_PatchState) Enum Uses

func (x Instance_PatchState) Enum() *Instance_PatchState

func (Instance_PatchState) EnumDescriptor Uses

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

Deprecated: Use Instance_PatchState.Descriptor instead.

func (Instance_PatchState) Number Uses

func (x Instance_PatchState) Number() protoreflect.EnumNumber

func (Instance_PatchState) String Uses

func (x Instance_PatchState) String() string

func (Instance_PatchState) Type Uses

func (Instance_PatchState) Type() protoreflect.EnumType

type Inventory Uses

type Inventory struct {

    // Base level operating system information for the VM.
    OsInfo *Inventory_OsInfo `protobuf:"bytes,1,opt,name=os_info,json=osInfo,proto3" json:"os_info,omitempty"`
    // Inventory items related to the VM keyed by an opaque unique identifier for
    // each inventory item.  The identifier is unique to each distinct and
    // addressable inventory item and will change, when there is a new package
    // version.
    Items map[string]*Inventory_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

The inventory details of a VM.

func (*Inventory) Descriptor Uses

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

Deprecated: Use Inventory.ProtoReflect.Descriptor instead.

func (*Inventory) GetItems Uses

func (x *Inventory) GetItems() map[string]*Inventory_Item

func (*Inventory) GetOsInfo Uses

func (x *Inventory) GetOsInfo() *Inventory_OsInfo

func (*Inventory) ProtoMessage Uses

func (*Inventory) ProtoMessage()

func (*Inventory) ProtoReflect Uses

func (x *Inventory) ProtoReflect() protoreflect.Message

func (*Inventory) Reset Uses

func (x *Inventory) Reset()

func (*Inventory) String Uses

func (x *Inventory) String() string

type Inventory_Item Uses

type Inventory_Item struct {

    // Identifier for this item, unique across items for this VM.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // The origin of this inventory item.
    OriginType Inventory_Item_OriginType `protobuf:"varint,2,opt,name=origin_type,json=originType,proto3,enum=google.cloud.osconfig.v1.Inventory_Item_OriginType" json:"origin_type,omitempty"`
    // When this inventory item was first detected.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // When this inventory item was last modified.
    UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // The specific type of inventory, correlating to its specific details.
    Type Inventory_Item_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.osconfig.v1.Inventory_Item_Type" json:"type,omitempty"`
    // Specific details of this inventory item based on its type.
    //
    // Types that are assignable to Details:
    //	*Inventory_Item_InstalledPackage
    //	*Inventory_Item_AvailablePackage
    Details isInventory_Item_Details `protobuf_oneof:"details"`
    // contains filtered or unexported fields
}

A single piece of inventory on a VM.

func (*Inventory_Item) Descriptor Uses

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

Deprecated: Use Inventory_Item.ProtoReflect.Descriptor instead.

func (*Inventory_Item) GetAvailablePackage Uses

func (x *Inventory_Item) GetAvailablePackage() *Inventory_SoftwarePackage

func (*Inventory_Item) GetCreateTime Uses

func (x *Inventory_Item) GetCreateTime() *timestamppb.Timestamp

func (*Inventory_Item) GetDetails Uses

func (m *Inventory_Item) GetDetails() isInventory_Item_Details

func (*Inventory_Item) GetId Uses

func (x *Inventory_Item) GetId() string

func (*Inventory_Item) GetInstalledPackage Uses

func (x *Inventory_Item) GetInstalledPackage() *Inventory_SoftwarePackage

func (*Inventory_Item) GetOriginType Uses

func (x *Inventory_Item) GetOriginType() Inventory_Item_OriginType

func (*Inventory_Item) GetType Uses

func (x *Inventory_Item) GetType() Inventory_Item_Type

func (*Inventory_Item) GetUpdateTime Uses

func (x *Inventory_Item) GetUpdateTime() *timestamppb.Timestamp

func (*Inventory_Item) ProtoMessage Uses

func (*Inventory_Item) ProtoMessage()

func (*Inventory_Item) ProtoReflect Uses

func (x *Inventory_Item) ProtoReflect() protoreflect.Message

func (*Inventory_Item) Reset Uses

func (x *Inventory_Item) Reset()

func (*Inventory_Item) String Uses

func (x *Inventory_Item) String() string

type Inventory_Item_AvailablePackage Uses

type Inventory_Item_AvailablePackage struct {
    // Software package available to be installed on the VM instance.
    AvailablePackage *Inventory_SoftwarePackage `protobuf:"bytes,7,opt,name=available_package,json=availablePackage,proto3,oneof"`
}

type Inventory_Item_InstalledPackage Uses

type Inventory_Item_InstalledPackage struct {
    // Software package present on the VM instance.
    InstalledPackage *Inventory_SoftwarePackage `protobuf:"bytes,6,opt,name=installed_package,json=installedPackage,proto3,oneof"`
}

type Inventory_Item_OriginType Uses

type Inventory_Item_OriginType int32

The origin of a specific inventory item.

const (
    // Invalid. An origin type must be specified.
    Inventory_Item_ORIGIN_TYPE_UNSPECIFIED Inventory_Item_OriginType = 0
    // This inventory item was discovered as the result of the agent
    // reporting inventory via the reporting API.
    Inventory_Item_INVENTORY_REPORT Inventory_Item_OriginType = 1
)

func (Inventory_Item_OriginType) Descriptor Uses

func (Inventory_Item_OriginType) Descriptor() protoreflect.EnumDescriptor

func (Inventory_Item_OriginType) Enum Uses

func (x Inventory_Item_OriginType) Enum() *Inventory_Item_OriginType

func (Inventory_Item_OriginType) EnumDescriptor Uses

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

Deprecated: Use Inventory_Item_OriginType.Descriptor instead.

func (Inventory_Item_OriginType) Number Uses

func (x Inventory_Item_OriginType) Number() protoreflect.EnumNumber

func (Inventory_Item_OriginType) String Uses

func (x Inventory_Item_OriginType) String() string

func (Inventory_Item_OriginType) Type Uses

func (Inventory_Item_OriginType) Type() protoreflect.EnumType

type Inventory_Item_Type Uses

type Inventory_Item_Type int32

The different types of inventory that are tracked on a VM.

const (
    // Invalid. An type must be specified.
    Inventory_Item_TYPE_UNSPECIFIED Inventory_Item_Type = 0
    // This represents a package that is installed on the VM.
    Inventory_Item_INSTALLED_PACKAGE Inventory_Item_Type = 1
    // This represents an update that is available for a package.
    Inventory_Item_AVAILABLE_PACKAGE Inventory_Item_Type = 2
)

func (Inventory_Item_Type) Descriptor Uses

func (Inventory_Item_Type) Descriptor() protoreflect.EnumDescriptor

func (Inventory_Item_Type) Enum Uses

func (x Inventory_Item_Type) Enum() *Inventory_Item_Type

func (Inventory_Item_Type) EnumDescriptor Uses

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

Deprecated: Use Inventory_Item_Type.Descriptor instead.

func (Inventory_Item_Type) Number Uses

func (x Inventory_Item_Type) Number() protoreflect.EnumNumber

func (Inventory_Item_Type) String Uses

func (x Inventory_Item_Type) String() string

func (Inventory_Item_Type) Type Uses

func (Inventory_Item_Type) Type() protoreflect.EnumType

type Inventory_OsInfo Uses

type Inventory_OsInfo struct {

    // The VM hostname.
    Hostname string `protobuf:"bytes,9,opt,name=hostname,proto3" json:"hostname,omitempty"`
    // The operating system long name.
    // For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019
    // Datacenter'.
    LongName string `protobuf:"bytes,2,opt,name=long_name,json=longName,proto3" json:"long_name,omitempty"`
    // The operating system short name.
    // For example, 'windows' or 'debian'.
    ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
    // The version of the operating system.
    Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
    // The system architecture of the operating system.
    Architecture string `protobuf:"bytes,5,opt,name=architecture,proto3" json:"architecture,omitempty"`
    // The kernel version of the operating system.
    KernelVersion string `protobuf:"bytes,6,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
    // The kernel release of the operating system.
    KernelRelease string `protobuf:"bytes,7,opt,name=kernel_release,json=kernelRelease,proto3" json:"kernel_release,omitempty"`
    // The current version of the OS Config agent running on the VM.
    OsconfigAgentVersion string `protobuf:"bytes,8,opt,name=osconfig_agent_version,json=osconfigAgentVersion,proto3" json:"osconfig_agent_version,omitempty"`
    // contains filtered or unexported fields
}

Operating system information for the VM.

func (*Inventory_OsInfo) Descriptor Uses

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

Deprecated: Use Inventory_OsInfo.ProtoReflect.Descriptor instead.

func (*Inventory_OsInfo) GetArchitecture Uses

func (x *Inventory_OsInfo) GetArchitecture() string

func (*Inventory_OsInfo) GetHostname Uses

func (x *Inventory_OsInfo) GetHostname() string

func (*Inventory_OsInfo) GetKernelRelease Uses

func (x *Inventory_OsInfo) GetKernelRelease() string

func (*Inventory_OsInfo) GetKernelVersion Uses

func (x *Inventory_OsInfo) GetKernelVersion() string

func (*Inventory_OsInfo) GetLongName Uses

func (x *Inventory_OsInfo) GetLongName() string

func (*Inventory_OsInfo) GetOsconfigAgentVersion Uses

func (x *Inventory_OsInfo) GetOsconfigAgentVersion() string

func (*Inventory_OsInfo) GetShortName Uses

func (x *Inventory_OsInfo) GetShortName() string

func (*Inventory_OsInfo) GetVersion Uses

func (x *Inventory_OsInfo) GetVersion() string

func (*Inventory_OsInfo) ProtoMessage Uses

func (*Inventory_OsInfo) ProtoMessage()

func (*Inventory_OsInfo) ProtoReflect Uses

func (x *Inventory_OsInfo) ProtoReflect() protoreflect.Message

func (*Inventory_OsInfo) Reset Uses

func (x *Inventory_OsInfo) Reset()

func (*Inventory_OsInfo) String Uses

func (x *Inventory_OsInfo) String() string

type Inventory_SoftwarePackage Uses

type Inventory_SoftwarePackage struct {

    // Information about the different types of software packages.
    //
    // Types that are assignable to Details:
    //	*Inventory_SoftwarePackage_YumPackage
    //	*Inventory_SoftwarePackage_AptPackage
    //	*Inventory_SoftwarePackage_ZypperPackage
    //	*Inventory_SoftwarePackage_GoogetPackage
    //	*Inventory_SoftwarePackage_ZypperPatch
    //	*Inventory_SoftwarePackage_WuaPackage
    //	*Inventory_SoftwarePackage_QfePackage
    //	*Inventory_SoftwarePackage_CosPackage
    Details isInventory_SoftwarePackage_Details `protobuf_oneof:"details"`
    // contains filtered or unexported fields
}

Software package information of the operating system.

func (*Inventory_SoftwarePackage) Descriptor Uses

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

Deprecated: Use Inventory_SoftwarePackage.ProtoReflect.Descriptor instead.

func (*Inventory_SoftwarePackage) GetAptPackage Uses

func (x *Inventory_SoftwarePackage) GetAptPackage() *Inventory_VersionedPackage

func (*Inventory_SoftwarePackage) GetCosPackage Uses

func (x *Inventory_SoftwarePackage) GetCosPackage() *Inventory_VersionedPackage

func (*Inventory_SoftwarePackage) GetDetails Uses

func (m *Inventory_SoftwarePackage) GetDetails() isInventory_SoftwarePackage_Details

func (*Inventory_SoftwarePackage) GetGoogetPackage Uses

func (x *Inventory_SoftwarePackage) GetGoogetPackage() *Inventory_VersionedPackage

func (*Inventory_SoftwarePackage) GetQfePackage Uses

func (x *Inventory_SoftwarePackage) GetQfePackage() *Inventory_WindowsQuickFixEngineeringPackage

func (*Inventory_SoftwarePackage) GetWuaPackage Uses

func (x *Inventory_SoftwarePackage) GetWuaPackage() *Inventory_WindowsUpdatePackage

func (*Inventory_SoftwarePackage) GetYumPackage Uses

func (x *Inventory_SoftwarePackage) GetYumPackage() *Inventory_VersionedPackage

func (*Inventory_SoftwarePackage) GetZypperPackage Uses

func (x *Inventory_SoftwarePackage) GetZypperPackage() *Inventory_VersionedPackage

func (*Inventory_SoftwarePackage) GetZypperPatch Uses

func (x *Inventory_SoftwarePackage) GetZypperPatch() *Inventory_ZypperPatch

func (*Inventory_SoftwarePackage) ProtoMessage Uses

func (*Inventory_SoftwarePackage) ProtoMessage()

func (*Inventory_SoftwarePackage) ProtoReflect Uses

func (x *Inventory_SoftwarePackage) ProtoReflect() protoreflect.Message

func (*Inventory_SoftwarePackage) Reset Uses

func (x *Inventory_SoftwarePackage) Reset()

func (*Inventory_SoftwarePackage) String Uses

func (x *Inventory_SoftwarePackage) String() string

type Inventory_SoftwarePackage_AptPackage Uses

type Inventory_SoftwarePackage_AptPackage struct {
    // Details of an APT package.
    // For details about the apt package manager, see
    // https://wiki.debian.org/Apt.
    AptPackage *Inventory_VersionedPackage `protobuf:"bytes,2,opt,name=apt_package,json=aptPackage,proto3,oneof"`
}

type Inventory_SoftwarePackage_CosPackage Uses

type Inventory_SoftwarePackage_CosPackage struct {
    // Details of a COS package.
    CosPackage *Inventory_VersionedPackage `protobuf:"bytes,8,opt,name=cos_package,json=cosPackage,proto3,oneof"`
}

type Inventory_SoftwarePackage_GoogetPackage Uses

type Inventory_SoftwarePackage_GoogetPackage struct {
    // Details of a Googet package.
    //  For details about the googet package manager, see
    //  https://github.com/google/googet.
    GoogetPackage *Inventory_VersionedPackage `protobuf:"bytes,4,opt,name=googet_package,json=googetPackage,proto3,oneof"`
}

type Inventory_SoftwarePackage_QfePackage Uses

type Inventory_SoftwarePackage_QfePackage struct {
    // Details of a Windows Quick Fix engineering package.
    // See
    // https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
    // for info in Windows Quick Fix Engineering.
    QfePackage *Inventory_WindowsQuickFixEngineeringPackage `protobuf:"bytes,7,opt,name=qfe_package,json=qfePackage,proto3,oneof"`
}

type Inventory_SoftwarePackage_WuaPackage Uses

type Inventory_SoftwarePackage_WuaPackage struct {
    // Details of a Windows Update package.
    // See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
    // information about Windows Update.
    WuaPackage *Inventory_WindowsUpdatePackage `protobuf:"bytes,6,opt,name=wua_package,json=wuaPackage,proto3,oneof"`
}

type Inventory_SoftwarePackage_YumPackage Uses

type Inventory_SoftwarePackage_YumPackage struct {
    // Yum package info.
    // For details about the yum package manager, see
    // https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.
    YumPackage *Inventory_VersionedPackage `protobuf:"bytes,1,opt,name=yum_package,json=yumPackage,proto3,oneof"`
}

type Inventory_SoftwarePackage_ZypperPackage Uses

type Inventory_SoftwarePackage_ZypperPackage struct {
    // Details of a Zypper package.
    // For details about the Zypper package manager, see
    // https://en.opensuse.org/SDB:Zypper_manual.
    ZypperPackage *Inventory_VersionedPackage `protobuf:"bytes,3,opt,name=zypper_package,json=zypperPackage,proto3,oneof"`
}

type Inventory_SoftwarePackage_ZypperPatch Uses

type Inventory_SoftwarePackage_ZypperPatch struct {
    // Details of a Zypper patch.
    // For details about the Zypper package manager, see
    // https://en.opensuse.org/SDB:Zypper_manual.
    ZypperPatch *Inventory_ZypperPatch `protobuf:"bytes,5,opt,name=zypper_patch,json=zypperPatch,proto3,oneof"`
}

type Inventory_VersionedPackage Uses

type Inventory_VersionedPackage struct {

    // The name of the package.
    PackageName string `protobuf:"bytes,4,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
    // The system architecture this package is intended for.
    Architecture string `protobuf:"bytes,2,opt,name=architecture,proto3" json:"architecture,omitempty"`
    // The version of the package.
    Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
    // contains filtered or unexported fields
}

Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.

func (*Inventory_VersionedPackage) Descriptor Uses

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

Deprecated: Use Inventory_VersionedPackage.ProtoReflect.Descriptor instead.

func (*Inventory_VersionedPackage) GetArchitecture Uses

func (x *Inventory_VersionedPackage) GetArchitecture() string

func (*Inventory_VersionedPackage) GetPackageName Uses

func (x *Inventory_VersionedPackage) GetPackageName() string

func (*Inventory_VersionedPackage) GetVersion Uses

func (x *Inventory_VersionedPackage) GetVersion() string

func (*Inventory_VersionedPackage) ProtoMessage Uses

func (*Inventory_VersionedPackage) ProtoMessage()

func (*Inventory_VersionedPackage) ProtoReflect Uses

func (x *Inventory_VersionedPackage) ProtoReflect() protoreflect.Message

func (*Inventory_VersionedPackage) Reset Uses

func (x *Inventory_VersionedPackage) Reset()

func (*Inventory_VersionedPackage) String Uses

func (x *Inventory_VersionedPackage) String() string

type Inventory_WindowsQuickFixEngineeringPackage Uses

type Inventory_WindowsQuickFixEngineeringPackage struct {

    // A short textual description of the QFE update.
    Caption string `protobuf:"bytes,1,opt,name=caption,proto3" json:"caption,omitempty"`
    // A textual description of the QFE update.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // Unique identifier associated with a particular QFE update.
    HotFixId string `protobuf:"bytes,3,opt,name=hot_fix_id,json=hotFixId,proto3" json:"hot_fix_id,omitempty"`
    // Date that the QFE update was installed.  Mapped from installed_on field.
    InstallTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"`
    // contains filtered or unexported fields
}

Information related to a Quick Fix Engineering package. Fields are taken from Windows QuickFixEngineering Interface and match the source names: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering

func (*Inventory_WindowsQuickFixEngineeringPackage) Descriptor Uses

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

Deprecated: Use Inventory_WindowsQuickFixEngineeringPackage.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsQuickFixEngineeringPackage) GetCaption Uses

func (x *Inventory_WindowsQuickFixEngineeringPackage) GetCaption() string

func (*Inventory_WindowsQuickFixEngineeringPackage) GetDescription Uses

func (x *Inventory_WindowsQuickFixEngineeringPackage) GetDescription() string

func (*Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId Uses

func (x *Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId() string

func (*Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime Uses

func (x *Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime() *timestamppb.Timestamp

func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoMessage Uses

func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoMessage()

func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoReflect Uses

func (x *Inventory_WindowsQuickFixEngineeringPackage) ProtoReflect() protoreflect.Message

func (*Inventory_WindowsQuickFixEngineeringPackage) Reset Uses

func (x *Inventory_WindowsQuickFixEngineeringPackage) Reset()

func (*Inventory_WindowsQuickFixEngineeringPackage) String Uses

func (x *Inventory_WindowsQuickFixEngineeringPackage) String() string

type Inventory_WindowsUpdatePackage Uses

type Inventory_WindowsUpdatePackage struct {

    // The localized title of the update package.
    Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
    // The localized description of the update package.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // The categories that are associated with this update package.
    Categories []*Inventory_WindowsUpdatePackage_WindowsUpdateCategory `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"`
    // A collection of Microsoft Knowledge Base article IDs that are associated
    // with the update package.
    KbArticleIds []string `protobuf:"bytes,4,rep,name=kb_article_ids,json=kbArticleIds,proto3" json:"kb_article_ids,omitempty"`
    // A hyperlink to the language-specific support information for the update.
    SupportUrl string `protobuf:"bytes,11,opt,name=support_url,json=supportUrl,proto3" json:"support_url,omitempty"`
    // A collection of URLs that provide more information about the update
    // package.
    MoreInfoUrls []string `protobuf:"bytes,5,rep,name=more_info_urls,json=moreInfoUrls,proto3" json:"more_info_urls,omitempty"`
    // Gets the identifier of an update package.  Stays the same across
    // revisions.
    UpdateId string `protobuf:"bytes,6,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`
    // The revision number of this update package.
    RevisionNumber int32 `protobuf:"varint,7,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
    // The last published date of the update, in (UTC) date and time.
    LastDeploymentChangeTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_deployment_change_time,json=lastDeploymentChangeTime,proto3" json:"last_deployment_change_time,omitempty"`
    // contains filtered or unexported fields
}

Details related to a Windows Update package. Field data and names are taken from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive fields like title, and description are localized based on the locale of the VM being updated.

func (*Inventory_WindowsUpdatePackage) Descriptor Uses

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

Deprecated: Use Inventory_WindowsUpdatePackage.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsUpdatePackage) GetCategories Uses

func (x *Inventory_WindowsUpdatePackage) GetCategories() []*Inventory_WindowsUpdatePackage_WindowsUpdateCategory

func (*Inventory_WindowsUpdatePackage) GetDescription Uses

func (x *Inventory_WindowsUpdatePackage) GetDescription() string

func (*Inventory_WindowsUpdatePackage) GetKbArticleIds Uses

func (x *Inventory_WindowsUpdatePackage) GetKbArticleIds() []string

func (*Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime Uses

func (x *Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime() *timestamppb.Timestamp

func (*Inventory_WindowsUpdatePackage) GetMoreInfoUrls Uses

func (x *Inventory_WindowsUpdatePackage) GetMoreInfoUrls() []string

func (*Inventory_WindowsUpdatePackage) GetRevisionNumber Uses

func (x *Inventory_WindowsUpdatePackage) GetRevisionNumber() int32

func (*Inventory_WindowsUpdatePackage) GetSupportUrl Uses

func (x *Inventory_WindowsUpdatePackage) GetSupportUrl() string

func (*Inventory_WindowsUpdatePackage) GetTitle Uses

func (x *Inventory_WindowsUpdatePackage) GetTitle() string

func (*Inventory_WindowsUpdatePackage) GetUpdateId Uses

func (x *Inventory_WindowsUpdatePackage) GetUpdateId() string

func (*Inventory_WindowsUpdatePackage) ProtoMessage Uses

func (*Inventory_WindowsUpdatePackage) ProtoMessage()

func (*Inventory_WindowsUpdatePackage) ProtoReflect Uses

func (x *Inventory_WindowsUpdatePackage) ProtoReflect() protoreflect.Message

func (*Inventory_WindowsUpdatePackage) Reset Uses

func (x *Inventory_WindowsUpdatePackage) Reset()

func (*Inventory_WindowsUpdatePackage) String Uses

func (x *Inventory_WindowsUpdatePackage) String() string

type Inventory_WindowsUpdatePackage_WindowsUpdateCategory Uses

type Inventory_WindowsUpdatePackage_WindowsUpdateCategory struct {

    // The identifier of the windows update category.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // The name of the windows update category.
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Categories specified by the Windows Update.

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Descriptor Uses

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

Deprecated: Use Inventory_WindowsUpdatePackage_WindowsUpdateCategory.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetId Uses

func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetId() string

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetName Uses

func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetName() string

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoMessage Uses

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoMessage()

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoReflect Uses

func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoReflect() protoreflect.Message

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Reset Uses

func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Reset()

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) String Uses

func (x *Inventory_WindowsUpdatePackage_WindowsUpdateCategory) String() string

type Inventory_ZypperPatch Uses

type Inventory_ZypperPatch struct {

    // The name of the patch.
    PatchName string `protobuf:"bytes,5,opt,name=patch_name,json=patchName,proto3" json:"patch_name,omitempty"`
    // The category of the patch.
    Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
    // The severity specified for this patch
    Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
    // Any summary information provided about this patch.
    Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
    // contains filtered or unexported fields
}

Details related to a Zypper Patch.

func (*Inventory_ZypperPatch) Descriptor Uses

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

Deprecated: Use Inventory_ZypperPatch.ProtoReflect.Descriptor instead.

func (*Inventory_ZypperPatch) GetCategory Uses

func (x *Inventory_ZypperPatch) GetCategory() string

func (*Inventory_ZypperPatch) GetPatchName Uses

func (x *Inventory_ZypperPatch) GetPatchName() string

func (*Inventory_ZypperPatch) GetSeverity Uses

func (x *Inventory_ZypperPatch) GetSeverity() string

func (*Inventory_ZypperPatch) GetSummary Uses

func (x *Inventory_ZypperPatch) GetSummary() string

func (*Inventory_ZypperPatch) ProtoMessage Uses

func (*Inventory_ZypperPatch) ProtoMessage()

func (*Inventory_ZypperPatch) ProtoReflect Uses

func (x *Inventory_ZypperPatch) ProtoReflect() protoreflect.Message

func (*Inventory_ZypperPatch) Reset Uses

func (x *Inventory_ZypperPatch) Reset()

func (*Inventory_ZypperPatch) String Uses

func (x *Inventory_ZypperPatch) String() string

type ListPatchDeploymentsRequest Uses

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"`
    // contains filtered or unexported fields
}

A request message for listing patch deployments.

func (*ListPatchDeploymentsRequest) Descriptor Uses

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

Deprecated: Use ListPatchDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*ListPatchDeploymentsRequest) GetPageSize Uses

func (x *ListPatchDeploymentsRequest) GetPageSize() int32

func (*ListPatchDeploymentsRequest) GetPageToken Uses

func (x *ListPatchDeploymentsRequest) GetPageToken() string

func (*ListPatchDeploymentsRequest) GetParent Uses

func (x *ListPatchDeploymentsRequest) GetParent() string

func (*ListPatchDeploymentsRequest) ProtoMessage Uses

func (*ListPatchDeploymentsRequest) ProtoMessage()

func (*ListPatchDeploymentsRequest) ProtoReflect Uses

func (x *ListPatchDeploymentsRequest) ProtoReflect() protoreflect.Message

func (*ListPatchDeploymentsRequest) Reset Uses

func (x *ListPatchDeploymentsRequest) Reset()

func (*ListPatchDeploymentsRequest) String Uses

func (x *ListPatchDeploymentsRequest) String() string

type ListPatchDeploymentsResponse Uses

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"`
    // contains filtered or unexported fields
}

A response message for listing patch deployments.

func (*ListPatchDeploymentsResponse) Descriptor Uses

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

Deprecated: Use ListPatchDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*ListPatchDeploymentsResponse) GetNextPageToken Uses

func (x *ListPatchDeploymentsResponse) GetNextPageToken() string

func (*ListPatchDeploymentsResponse) GetPatchDeployments Uses

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

func (*ListPatchDeploymentsResponse) ProtoMessage Uses

func (*ListPatchDeploymentsResponse) ProtoMessage()

func (*ListPatchDeploymentsResponse) ProtoReflect Uses

func (x *ListPatchDeploymentsResponse) ProtoReflect() protoreflect.Message

func (*ListPatchDeploymentsResponse) Reset Uses

func (x *ListPatchDeploymentsResponse) Reset()

func (*ListPatchDeploymentsResponse) String Uses

func (x *ListPatchDeploymentsResponse) String() string

type ListPatchJobInstanceDetailsRequest Uses

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"`
    // contains filtered or unexported fields
}

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

func (*ListPatchJobInstanceDetailsRequest) Descriptor Uses

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

Deprecated: Use ListPatchJobInstanceDetailsRequest.ProtoReflect.Descriptor instead.

func (*ListPatchJobInstanceDetailsRequest) GetFilter Uses

func (x *ListPatchJobInstanceDetailsRequest) GetFilter() string

func (*ListPatchJobInstanceDetailsRequest) GetPageSize Uses

func (x *ListPatchJobInstanceDetailsRequest) GetPageSize() int32

func (*ListPatchJobInstanceDetailsRequest) GetPageToken Uses

func (x *ListPatchJobInstanceDetailsRequest) GetPageToken() string

func (*ListPatchJobInstanceDetailsRequest) GetParent Uses

func (x *ListPatchJobInstanceDetailsRequest) GetParent() string

func (*ListPatchJobInstanceDetailsRequest) ProtoMessage Uses

func (*ListPatchJobInstanceDetailsRequest) ProtoMessage()

func (*ListPatchJobInstanceDetailsRequest) ProtoReflect Uses

func (x *ListPatchJobInstanceDetailsRequest) ProtoReflect() protoreflect.Message

func (*ListPatchJobInstanceDetailsRequest) Reset Uses

func (x *ListPatchJobInstanceDetailsRequest) Reset()

func (*ListPatchJobInstanceDetailsRequest) String Uses

func (x *ListPatchJobInstanceDetailsRequest) String() string

type ListPatchJobInstanceDetailsResponse Uses

type ListPatchJobInstanceDetailsResponse struct {

    // A list of instance status.
    PatchJobInstanceDetails []*PatchJobInstanceDetails `protobuf:"bytes,1,rep,name=patch_job_instance_details,json=patchJobInstanceDetails,proto3" json:"patch_job_instance_details,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"`
    // contains filtered or unexported fields
}

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

func (*ListPatchJobInstanceDetailsResponse) Descriptor Uses

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

Deprecated: Use ListPatchJobInstanceDetailsResponse.ProtoReflect.Descriptor instead.

func (*ListPatchJobInstanceDetailsResponse) GetNextPageToken Uses

func (x *ListPatchJobInstanceDetailsResponse) GetNextPageToken() string

func (*ListPatchJobInstanceDetailsResponse) GetPatchJobInstanceDetails Uses

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

func (*ListPatchJobInstanceDetailsResponse) ProtoMessage Uses

func (*ListPatchJobInstanceDetailsResponse) ProtoMessage()

func (*ListPatchJobInstanceDetailsResponse) ProtoReflect Uses

func (x *ListPatchJobInstanceDetailsResponse) ProtoReflect() protoreflect.Message

func (*ListPatchJobInstanceDetailsResponse) Reset Uses

func (x *ListPatchJobInstanceDetailsResponse) Reset()

func (*ListPatchJobInstanceDetailsResponse) String Uses

func (x *ListPatchJobInstanceDetailsResponse) String() string

type ListPatchJobsRequest Uses

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"`
    // contains filtered or unexported fields
}

A request message for listing patch jobs.

func (*ListPatchJobsRequest) Descriptor Uses

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

Deprecated: Use ListPatchJobsRequest.ProtoReflect.Descriptor instead.

func (*ListPatchJobsRequest) GetFilter Uses

func (x *ListPatchJobsRequest) GetFilter() string

func (*ListPatchJobsRequest) GetPageSize Uses

func (x *ListPatchJobsRequest) GetPageSize() int32

func (*ListPatchJobsRequest) GetPageToken Uses

func (x *ListPatchJobsRequest) GetPageToken() string

func (*ListPatchJobsRequest) GetParent Uses

func (x *ListPatchJobsRequest) GetParent() string

func (*ListPatchJobsRequest) ProtoMessage Uses

func (*ListPatchJobsRequest) ProtoMessage()

func (*ListPatchJobsRequest) ProtoReflect Uses

func (x *ListPatchJobsRequest) ProtoReflect() protoreflect.Message

func (*ListPatchJobsRequest) Reset Uses

func (x *ListPatchJobsRequest) Reset()

func (*ListPatchJobsRequest) String Uses

func (x *ListPatchJobsRequest) String() string

type ListPatchJobsResponse Uses

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"`
    // contains filtered or unexported fields
}

A response message for listing patch jobs.

func (*ListPatchJobsResponse) Descriptor Uses

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

Deprecated: Use ListPatchJobsResponse.ProtoReflect.Descriptor instead.

func (*ListPatchJobsResponse) GetNextPageToken Uses

func (x *ListPatchJobsResponse) GetNextPageToken() string

func (*ListPatchJobsResponse) GetPatchJobs Uses

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

func (*ListPatchJobsResponse) ProtoMessage Uses

func (*ListPatchJobsResponse) ProtoMessage()

func (*ListPatchJobsResponse) ProtoReflect Uses

func (x *ListPatchJobsResponse) ProtoReflect() protoreflect.Message

func (*ListPatchJobsResponse) Reset Uses

func (x *ListPatchJobsResponse) Reset()

func (*ListPatchJobsResponse) String Uses

func (x *ListPatchJobsResponse) String() string

type MonthlySchedule Uses

type MonthlySchedule struct {

    // One day in a month.
    //
    // Types that are assignable to DayOfMonth:
    //	*MonthlySchedule_WeekDayOfMonth
    //	*MonthlySchedule_MonthDay
    DayOfMonth isMonthlySchedule_DayOfMonth `protobuf_oneof:"day_of_month"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use MonthlySchedule.ProtoReflect.Descriptor instead.

func (*MonthlySchedule) GetDayOfMonth Uses

func (m *MonthlySchedule) GetDayOfMonth() isMonthlySchedule_DayOfMonth

func (*MonthlySchedule) GetMonthDay Uses

func (x *MonthlySchedule) GetMonthDay() int32

func (*MonthlySchedule) GetWeekDayOfMonth Uses

func (x *MonthlySchedule) GetWeekDayOfMonth() *WeekDayOfMonth

func (*MonthlySchedule) ProtoMessage Uses

func (*MonthlySchedule) ProtoMessage()

func (*MonthlySchedule) ProtoReflect Uses

func (x *MonthlySchedule) ProtoReflect() protoreflect.Message

func (*MonthlySchedule) Reset Uses

func (x *MonthlySchedule) Reset()

func (*MonthlySchedule) String Uses

func (x *MonthlySchedule) String() string

type MonthlySchedule_MonthDay Uses

type MonthlySchedule_MonthDay struct {
    // Required. One day of the month. 1-31 indicates the 1st to the 31st day.
    // -1 indicates the last day of the month. Months without the target day
    // will be skipped. For example, a schedule to run "every month on the 31st"
    // will not run in February, April, June, etc.
    MonthDay int32 `protobuf:"varint,2,opt,name=month_day,json=monthDay,proto3,oneof"`
}

type MonthlySchedule_WeekDayOfMonth Uses

type MonthlySchedule_WeekDayOfMonth struct {
    // Required. Week day in a month.
    WeekDayOfMonth *WeekDayOfMonth `protobuf:"bytes,1,opt,name=week_day_of_month,json=weekDayOfMonth,proto3,oneof"`
}

type OneTimeSchedule Uses

type OneTimeSchedule struct {

    // Required. The desired patch job execution time.
    ExecuteTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=execute_time,json=executeTime,proto3" json:"execute_time,omitempty"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use OneTimeSchedule.ProtoReflect.Descriptor instead.

func (*OneTimeSchedule) GetExecuteTime Uses

func (x *OneTimeSchedule) GetExecuteTime() *timestamppb.Timestamp

func (*OneTimeSchedule) ProtoMessage Uses

func (*OneTimeSchedule) ProtoMessage()

func (*OneTimeSchedule) ProtoReflect Uses

func (x *OneTimeSchedule) ProtoReflect() protoreflect.Message

func (*OneTimeSchedule) Reset Uses

func (x *OneTimeSchedule) Reset()

func (*OneTimeSchedule) String Uses

func (x *OneTimeSchedule) String() string

type OsConfigServiceClient Uses

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) (*emptypb.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.

func NewOsConfigServiceClient Uses

func NewOsConfigServiceClient(cc grpc.ClientConnInterface) OsConfigServiceClient

type OsConfigServiceServer Uses

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) (*emptypb.Empty, error)
}

OsConfigServiceServer is the server API for OsConfigService service.

type PatchConfig Uses

type PatchConfig struct {

    // Post-patch reboot settings.
    RebootConfig PatchConfig_RebootConfig `protobuf:"varint,1,opt,name=reboot_config,json=rebootConfig,proto3,enum=google.cloud.osconfig.v1.PatchConfig_RebootConfig" json:"reboot_config,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

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

func (*PatchConfig) Descriptor Uses

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

Deprecated: Use PatchConfig.ProtoReflect.Descriptor instead.

func (*PatchConfig) GetApt Uses

func (x *PatchConfig) GetApt() *AptSettings

func (*PatchConfig) GetGoo Uses

func (x *PatchConfig) GetGoo() *GooSettings

func (*PatchConfig) GetPostStep Uses

func (x *PatchConfig) GetPostStep() *ExecStep

func (*PatchConfig) GetPreStep Uses

func (x *PatchConfig) GetPreStep() *ExecStep

func (*PatchConfig) GetRebootConfig Uses

func (x *PatchConfig) GetRebootConfig() PatchConfig_RebootConfig

func (*PatchConfig) GetWindowsUpdate Uses

func (x *PatchConfig) GetWindowsUpdate() *WindowsUpdateSettings

func (*PatchConfig) GetYum Uses

func (x *PatchConfig) GetYum() *YumSettings

func (*PatchConfig) GetZypper Uses

func (x *PatchConfig) GetZypper() *ZypperSettings

func (*PatchConfig) ProtoMessage Uses

func (*PatchConfig) ProtoMessage()

func (*PatchConfig) ProtoReflect Uses

func (x *PatchConfig) ProtoReflect() protoreflect.Message

func (*PatchConfig) Reset Uses

func (x *PatchConfig) Reset()

func (*PatchConfig) String Uses

func (x *PatchConfig) String() string

type PatchConfig_RebootConfig Uses

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) Descriptor Uses

func (PatchConfig_RebootConfig) Descriptor() protoreflect.EnumDescriptor

func (PatchConfig_RebootConfig) Enum Uses

func (x PatchConfig_RebootConfig) Enum() *PatchConfig_RebootConfig

func (PatchConfig_RebootConfig) EnumDescriptor Uses

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

Deprecated: Use PatchConfig_RebootConfig.Descriptor instead.

func (PatchConfig_RebootConfig) Number Uses

func (x PatchConfig_RebootConfig) Number() protoreflect.EnumNumber

func (PatchConfig_RebootConfig) String Uses

func (x PatchConfig_RebootConfig) String() string

func (PatchConfig_RebootConfig) Type Uses

func (PatchConfig_RebootConfig) Type() protoreflect.EnumType

type PatchDeployment Uses

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 *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
    // Schedule for the patch.
    //
    // Types that are assignable 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 *timestamppb.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 *timestamppb.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 *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"`
    // Optional. Rollout strategy of the patch job.
    Rollout *PatchRollout `protobuf:"bytes,11,opt,name=rollout,proto3" json:"rollout,omitempty"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use PatchDeployment.ProtoReflect.Descriptor instead.

func (*PatchDeployment) GetCreateTime Uses

func (x *PatchDeployment) GetCreateTime() *timestamppb.Timestamp

func (*PatchDeployment) GetDescription Uses

func (x *PatchDeployment) GetDescription() string

func (*PatchDeployment) GetDuration Uses

func (x *PatchDeployment) GetDuration() *durationpb.Duration

func (*PatchDeployment) GetInstanceFilter Uses

func (x *PatchDeployment) GetInstanceFilter() *PatchInstanceFilter

func (*PatchDeployment) GetLastExecuteTime Uses

func (x *PatchDeployment) GetLastExecuteTime() *timestamppb.Timestamp

func (*PatchDeployment) GetName Uses

func (x *PatchDeployment) GetName() string

func (*PatchDeployment) GetOneTimeSchedule Uses

func (x *PatchDeployment) GetOneTimeSchedule() *OneTimeSchedule

func (*PatchDeployment) GetPatchConfig Uses

func (x *PatchDeployment) GetPatchConfig() *PatchConfig

func (*PatchDeployment) GetRecurringSchedule Uses

func (x *PatchDeployment) GetRecurringSchedule() *RecurringSchedule

func (*PatchDeployment) GetRollout Uses

func (x *PatchDeployment) GetRollout() *PatchRollout

func (*PatchDeployment) GetSchedule Uses

func (m *PatchDeployment) GetSchedule() isPatchDeployment_Schedule

func (*PatchDeployment) GetUpdateTime Uses

func (x *PatchDeployment) GetUpdateTime() *timestamppb.Timestamp

func (*PatchDeployment) ProtoMessage Uses

func (*PatchDeployment) ProtoMessage()

func (*PatchDeployment) ProtoReflect Uses

func (x *PatchDeployment) ProtoReflect() protoreflect.Message

func (*PatchDeployment) Reset Uses

func (x *PatchDeployment) Reset()

func (*PatchDeployment) String Uses

func (x *PatchDeployment) String() string

type PatchDeployment_OneTimeSchedule Uses

type PatchDeployment_OneTimeSchedule struct {
    // Required. Schedule a one-time execution.
    OneTimeSchedule *OneTimeSchedule `protobuf:"bytes,6,opt,name=one_time_schedule,json=oneTimeSchedule,proto3,oneof"`
}

type PatchDeployment_RecurringSchedule Uses

type PatchDeployment_RecurringSchedule struct {
    // Required. Schedule recurring executions.
    RecurringSchedule *RecurringSchedule `protobuf:"bytes,7,opt,name=recurring_schedule,json=recurringSchedule,proto3,oneof"`
}

type PatchInstanceFilter Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use PatchInstanceFilter.ProtoReflect.Descriptor instead.

func (*PatchInstanceFilter) GetAll Uses

func (x *PatchInstanceFilter) GetAll() bool

func (*PatchInstanceFilter) GetGroupLabels Uses

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

func (*PatchInstanceFilter) GetInstanceNamePrefixes Uses

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

func (*PatchInstanceFilter) GetInstances Uses

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

func (*PatchInstanceFilter) GetZones Uses

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

func (*PatchInstanceFilter) ProtoMessage Uses

func (*PatchInstanceFilter) ProtoMessage()

func (*PatchInstanceFilter) ProtoReflect Uses

func (x *PatchInstanceFilter) ProtoReflect() protoreflect.Message

func (*PatchInstanceFilter) Reset Uses

func (x *PatchInstanceFilter) Reset()

func (*PatchInstanceFilter) String Uses

func (x *PatchInstanceFilter) String() string

type PatchInstanceFilter_GroupLabel Uses

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 `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use PatchInstanceFilter_GroupLabel.ProtoReflect.Descriptor instead.

func (*PatchInstanceFilter_GroupLabel) GetLabels Uses

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

func (*PatchInstanceFilter_GroupLabel) ProtoMessage Uses

func (*PatchInstanceFilter_GroupLabel) ProtoMessage()

func (*PatchInstanceFilter_GroupLabel) ProtoReflect Uses

func (x *PatchInstanceFilter_GroupLabel) ProtoReflect() protoreflect.Message

func (*PatchInstanceFilter_GroupLabel) Reset Uses

func (x *PatchInstanceFilter_GroupLabel) Reset()

func (*PatchInstanceFilter_GroupLabel) String Uses

func (x *PatchInstanceFilter_GroupLabel) String() string

type PatchJob Uses

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 *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Last time this patch job was updated.
    UpdateTime *timestamppb.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 *durationpb.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"`
    // Summary of instance details.
    InstanceDetailsSummary *PatchJob_InstanceDetailsSummary `protobuf:"bytes,9,opt,name=instance_details_summary,json=instanceDetailsSummary,proto3" json:"instance_details_summary,omitempty"`
    // 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"`
    // Rollout strategy being applied.
    Rollout *PatchRollout `protobuf:"bytes,16,opt,name=rollout,proto3" json:"rollout,omitempty"`
    // contains filtered or unexported fields
}

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

Instance 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 Uses

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

Deprecated: Use PatchJob.ProtoReflect.Descriptor instead.

func (*PatchJob) GetCreateTime Uses

func (x *PatchJob) GetCreateTime() *timestamppb.Timestamp

func (*PatchJob) GetDescription Uses

func (x *PatchJob) GetDescription() string

func (*PatchJob) GetDisplayName Uses

func (x *PatchJob) GetDisplayName() string

func (*PatchJob) GetDryRun Uses

func (x *PatchJob) GetDryRun() bool

func (*PatchJob) GetDuration Uses

func (x *PatchJob) GetDuration() *durationpb.Duration

func (*PatchJob) GetErrorMessage Uses

func (x *PatchJob) GetErrorMessage() string

func (*PatchJob) GetInstanceDetailsSummary Uses

func (x *PatchJob) GetInstanceDetailsSummary() *PatchJob_InstanceDetailsSummary

func (*PatchJob) GetInstanceFilter Uses

func (x *PatchJob) GetInstanceFilter() *PatchInstanceFilter

func (*PatchJob) GetName Uses

func (x *PatchJob) GetName() string

func (*PatchJob) GetPatchConfig Uses

func (x *PatchJob) GetPatchConfig() *PatchConfig

func (*PatchJob) GetPatchDeployment Uses

func (x *PatchJob) GetPatchDeployment() string

func (*PatchJob) GetPercentComplete Uses

func (x *PatchJob) GetPercentComplete() float64

func (*PatchJob) GetRollout Uses

func (x *PatchJob) GetRollout() *PatchRollout

func (*PatchJob) GetState Uses

func (x *PatchJob) GetState() PatchJob_State

func (*PatchJob) GetUpdateTime Uses

func (x *PatchJob) GetUpdateTime() *timestamppb.Timestamp

func (*PatchJob) ProtoMessage Uses

func (*PatchJob) ProtoMessage()

func (*PatchJob) ProtoReflect Uses

func (x *PatchJob) ProtoReflect() protoreflect.Message

func (*PatchJob) Reset Uses

func (x *PatchJob) Reset()

func (*PatchJob) String Uses

func (x *PatchJob) String() string

type PatchJobInstanceDetails Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use PatchJobInstanceDetails.ProtoReflect.Descriptor instead.

func (*PatchJobInstanceDetails) GetAttemptCount Uses

func (x *PatchJobInstanceDetails) GetAttemptCount() int64

func (*PatchJobInstanceDetails) GetFailureReason Uses

func (x *PatchJobInstanceDetails) GetFailureReason() string

func (*PatchJobInstanceDetails) GetInstanceSystemId Uses

func (x *PatchJobInstanceDetails) GetInstanceSystemId() string

func (*PatchJobInstanceDetails) GetName Uses

func (x *PatchJobInstanceDetails) GetName() string

func (*PatchJobInstanceDetails) GetState Uses

func (x *PatchJobInstanceDetails) GetState() Instance_PatchState

func (*PatchJobInstanceDetails) ProtoMessage Uses

func (*PatchJobInstanceDetails) ProtoMessage()

func (*PatchJobInstanceDetails) ProtoReflect Uses

func (x *PatchJobInstanceDetails) ProtoReflect() protoreflect.Message

func (*PatchJobInstanceDetails) Reset Uses

func (x *PatchJobInstanceDetails) Reset()

func (*PatchJobInstanceDetails) String Uses

func (x *PatchJobInstanceDetails) String() string

type PatchJob_InstanceDetailsSummary Uses

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 `protobuf:"varint,2,opt,name=inactive_instance_count,json=inactiveInstanceCount,proto3" json:"inactive_instance_count,omitempty"`
    // Number of instances notified about patch job.
    NotifiedInstanceCount int64 `protobuf:"varint,3,opt,name=notified_instance_count,json=notifiedInstanceCount,proto3" json:"notified_instance_count,omitempty"`
    // 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 `protobuf:"varint,5,opt,name=downloading_patches_instance_count,json=downloadingPatchesInstanceCount,proto3" json:"downloading_patches_instance_count,omitempty"`
    // Number of instances that are applying patches.
    ApplyingPatchesInstanceCount int64 `protobuf:"varint,6,opt,name=applying_patches_instance_count,json=applyingPatchesInstanceCount,proto3" json:"applying_patches_instance_count,omitempty"`
    // Number of instances rebooting.
    RebootingInstanceCount int64 `protobuf:"varint,7,opt,name=rebooting_instance_count,json=rebootingInstanceCount,proto3" json:"rebooting_instance_count,omitempty"`
    // Number of instances that have completed successfully.
    SucceededInstanceCount int64 `protobuf:"varint,8,opt,name=succeeded_instance_count,json=succeededInstanceCount,proto3" json:"succeeded_instance_count,omitempty"`
    // Number of instances that require reboot.
    SucceededRebootRequiredInstanceCount int64 `protobuf:"varint,9,opt,name=succeeded_reboot_required_instance_count,json=succeededRebootRequiredInstanceCount,proto3" json:"succeeded_reboot_required_instance_count,omitempty"`
    // 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 `protobuf:"varint,12,opt,name=timed_out_instance_count,json=timedOutInstanceCount,proto3" json:"timed_out_instance_count,omitempty"`
    // Number of instances that are running the pre-patch step.
    PrePatchStepInstanceCount int64 `protobuf:"varint,13,opt,name=pre_patch_step_instance_count,json=prePatchStepInstanceCount,proto3" json:"pre_patch_step_instance_count,omitempty"`
    // Number of instances that are running the post-patch step.
    PostPatchStepInstanceCount int64 `protobuf:"varint,14,opt,name=post_patch_step_instance_count,json=postPatchStepInstanceCount,proto3" json:"post_patch_step_instance_count,omitempty"`
    // 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 `protobuf:"varint,15,opt,name=no_agent_detected_instance_count,json=noAgentDetectedInstanceCount,proto3" json:"no_agent_detected_instance_count,omitempty"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use PatchJob_InstanceDetailsSummary.ProtoReflect.Descriptor instead.

func (*PatchJob_InstanceDetailsSummary) GetAckedInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetAckedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetApplyingPatchesInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetApplyingPatchesInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetDownloadingPatchesInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetDownloadingPatchesInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetFailedInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetFailedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetInactiveInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetInactiveInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetNoAgentDetectedInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetNoAgentDetectedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetNotifiedInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetNotifiedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPendingInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetPendingInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPostPatchStepInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetPostPatchStepInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPrePatchStepInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetPrePatchStepInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetRebootingInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetRebootingInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetStartedInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetStartedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetSucceededInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetSucceededInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetSucceededRebootRequiredInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetSucceededRebootRequiredInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetTimedOutInstanceCount Uses

func (x *PatchJob_InstanceDetailsSummary) GetTimedOutInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) ProtoMessage Uses

func (*PatchJob_InstanceDetailsSummary) ProtoMessage()

func (*PatchJob_InstanceDetailsSummary) ProtoReflect Uses

func (x *PatchJob_InstanceDetailsSummary) ProtoReflect() protoreflect.Message

func (*PatchJob_InstanceDetailsSummary) Reset Uses

func (x *PatchJob_InstanceDetailsSummary) Reset()

func (*PatchJob_InstanceDetailsSummary) String Uses

func (x *PatchJob_InstanceDetailsSummary) String() string

type PatchJob_State Uses

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) Descriptor Uses

func (PatchJob_State) Descriptor() protoreflect.EnumDescriptor

func (PatchJob_State) Enum Uses

func (x PatchJob_State) Enum() *PatchJob_State

func (PatchJob_State) EnumDescriptor Uses

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

Deprecated: Use PatchJob_State.Descriptor instead.

func (PatchJob_State) Number Uses

func (x PatchJob_State) Number() protoreflect.EnumNumber

func (PatchJob_State) String Uses

func (x PatchJob_State) String() string

func (PatchJob_State) Type Uses

func (PatchJob_State) Type() protoreflect.EnumType

type PatchRollout Uses

type PatchRollout struct {

    // Mode of the patch rollout.
    Mode PatchRollout_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.osconfig.v1.PatchRollout_Mode" json:"mode,omitempty"`
    // The maximum number (or percentage) of VMs per zone to disrupt at any given
    // moment. The number of VMs calculated from multiplying the percentage by the
    // total number of VMs in a zone is rounded up.
    //
    // During patching, a VM is considered disrupted from the time the agent is
    // notified to begin until patching has completed. This disruption time
    // includes the time to complete reboot and any post-patch steps.
    //
    // A VM contributes to the disruption budget if its patching operation fails
    // either when applying the patches, running pre or post patch steps, or if it
    // fails to respond with a success notification before timing out. VMs that
    // are not running or do not have an active agent do not count toward this
    // disruption budget.
    //
    // For zone-by-zone rollouts, if the disruption budget in a zone is exceeded,
    // the patch job stops, because continuing to the next zone requires
    // completion of the patch process in the previous zone.
    //
    // For example, if the disruption budget has a fixed value of `10`, and 8 VMs
    // fail to patch in the current zone, the patch job continues to patch 2 VMs
    // at a time until the zone is completed. When that zone is completed
    // successfully, patching begins with 10 VMs at a time in the next zone. If 10
    // VMs in the next zone fail to patch, the patch job stops.
    DisruptionBudget *FixedOrPercent `protobuf:"bytes,2,opt,name=disruption_budget,json=disruptionBudget,proto3" json:"disruption_budget,omitempty"`
    // contains filtered or unexported fields
}

Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs.

func (*PatchRollout) Descriptor Uses

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

Deprecated: Use PatchRollout.ProtoReflect.Descriptor instead.

func (*PatchRollout) GetDisruptionBudget Uses

func (x *PatchRollout) GetDisruptionBudget() *FixedOrPercent

func (*PatchRollout) GetMode Uses

func (x *PatchRollout) GetMode() PatchRollout_Mode

func (*PatchRollout) ProtoMessage Uses

func (*PatchRollout) ProtoMessage()

func (*PatchRollout) ProtoReflect Uses

func (x *PatchRollout) ProtoReflect() protoreflect.Message

func (*PatchRollout) Reset Uses

func (x *PatchRollout) Reset()

func (*PatchRollout) String Uses

func (x *PatchRollout) String() string

type PatchRollout_Mode Uses

type PatchRollout_Mode int32

Type of the rollout.

const (
    // Mode must be specified.
    PatchRollout_MODE_UNSPECIFIED PatchRollout_Mode = 0
    // Patches are applied one zone at a time. The patch job begins in the
    // region with the lowest number of targeted VMs. Within the region,
    // patching begins in the zone with the lowest number of targeted VMs. If
    // multiple regions (or zones within a region) have the same number of
    // targeted VMs, a tie-breaker is achieved by sorting the regions or zones
    // in alphabetical order.
    PatchRollout_ZONE_BY_ZONE PatchRollout_Mode = 1
    // Patches are applied to VMs in all zones at the same time.
    PatchRollout_CONCURRENT_ZONES PatchRollout_Mode = 2
)

func (PatchRollout_Mode) Descriptor Uses

func (PatchRollout_Mode) Descriptor() protoreflect.EnumDescriptor

func (PatchRollout_Mode) Enum Uses

func (x PatchRollout_Mode) Enum() *PatchRollout_Mode

func (PatchRollout_Mode) EnumDescriptor Uses

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

Deprecated: Use PatchRollout_Mode.Descriptor instead.

func (PatchRollout_Mode) Number Uses

func (x PatchRollout_Mode) Number() protoreflect.EnumNumber

func (PatchRollout_Mode) String Uses

func (x PatchRollout_Mode) String() string

func (PatchRollout_Mode) Type Uses

func (PatchRollout_Mode) Type() protoreflect.EnumType

type RecurringSchedule Uses

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 *timestamppb.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 *timestamppb.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 `protobuf:"varint,5,opt,name=frequency,proto3,enum=google.cloud.osconfig.v1.RecurringSchedule_Frequency" json:"frequency,omitempty"`
    // Configurations for this recurring schedule.
    // Configurations must match frequency.
    //
    // Types that are assignable to ScheduleConfig:
    //	*RecurringSchedule_Weekly
    //	*RecurringSchedule_Monthly
    ScheduleConfig isRecurringSchedule_ScheduleConfig `protobuf_oneof:"schedule_config"`
    // Output only. The time the last patch job ran successfully.
    LastExecuteTime *timestamppb.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 *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=next_execute_time,json=nextExecuteTime,proto3" json:"next_execute_time,omitempty"`
    // contains filtered or unexported fields
}

Sets the time for recurring patch deployments.

func (*RecurringSchedule) Descriptor Uses

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

Deprecated: Use RecurringSchedule.ProtoReflect.Descriptor instead.

func (*RecurringSchedule) GetEndTime Uses

func (x *RecurringSchedule) GetEndTime() *timestamppb.Timestamp

func (*RecurringSchedule) GetFrequency Uses

func (x *RecurringSchedule) GetFrequency() RecurringSchedule_Frequency

func (*RecurringSchedule) GetLastExecuteTime Uses

func (x *RecurringSchedule) GetLastExecuteTime() *timestamppb.Timestamp

func (*RecurringSchedule) GetMonthly Uses

func (x *RecurringSchedule) GetMonthly() *MonthlySchedule

func (*RecurringSchedule) GetNextExecuteTime Uses

func (x *RecurringSchedule) GetNextExecuteTime() *timestamppb.Timestamp

func (*RecurringSchedule) GetScheduleConfig Uses

func (m *RecurringSchedule) GetScheduleConfig() isRecurringSchedule_ScheduleConfig

func (*RecurringSchedule) GetStartTime Uses

func (x *RecurringSchedule) GetStartTime() *timestamppb.Timestamp

func (*RecurringSchedule) GetTimeOfDay Uses

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

func (*RecurringSchedule) GetTimeZone Uses

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

func (*RecurringSchedule) GetWeekly Uses

func (x *RecurringSchedule) GetWeekly() *WeeklySchedule

func (*RecurringSchedule) ProtoMessage Uses

func (*RecurringSchedule) ProtoMessage()

func (*RecurringSchedule) ProtoReflect Uses

func (x *RecurringSchedule) ProtoReflect() protoreflect.Message

func (*RecurringSchedule) Reset Uses

func (x *RecurringSchedule) Reset()

func (*RecurringSchedule) String Uses

func (x *RecurringSchedule) String() string

type RecurringSchedule_Frequency Uses

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) Descriptor Uses

func (RecurringSchedule_Frequency) Descriptor() protoreflect.EnumDescriptor

func (RecurringSchedule_Frequency) Enum Uses

func (x RecurringSchedule_Frequency) Enum() *RecurringSchedule_Frequency

func (RecurringSchedule_Frequency) EnumDescriptor Uses

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

Deprecated: Use RecurringSchedule_Frequency.Descriptor instead.

func (RecurringSchedule_Frequency) Number Uses

func (x RecurringSchedule_Frequency) Number() protoreflect.EnumNumber

func (RecurringSchedule_Frequency) String Uses

func (x RecurringSchedule_Frequency) String() string

func (RecurringSchedule_Frequency) Type Uses

func (RecurringSchedule_Frequency) Type() protoreflect.EnumType

type RecurringSchedule_Monthly Uses

type RecurringSchedule_Monthly struct {
    // Required. Schedule with monthly executions.
    Monthly *MonthlySchedule `protobuf:"bytes,7,opt,name=monthly,proto3,oneof"`
}

type RecurringSchedule_Weekly Uses

type RecurringSchedule_Weekly struct {
    // Required. Schedule with weekly executions.
    Weekly *WeeklySchedule `protobuf:"bytes,6,opt,name=weekly,proto3,oneof"`
}

type UnimplementedOsConfigServiceServer Uses

type UnimplementedOsConfigServiceServer struct {
}

UnimplementedOsConfigServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOsConfigServiceServer) CancelPatchJob Uses

func (*UnimplementedOsConfigServiceServer) CancelPatchJob(context.Context, *CancelPatchJobRequest) (*PatchJob, error)

func (*UnimplementedOsConfigServiceServer) CreatePatchDeployment Uses

func (*UnimplementedOsConfigServiceServer) CreatePatchDeployment(context.Context, *CreatePatchDeploymentRequest) (*PatchDeployment, error)

func (*UnimplementedOsConfigServiceServer) DeletePatchDeployment Uses

func (*UnimplementedOsConfigServiceServer) DeletePatchDeployment(context.Context, *DeletePatchDeploymentRequest) (*emptypb.Empty, error)

func (*UnimplementedOsConfigServiceServer) ExecutePatchJob Uses

func (*UnimplementedOsConfigServiceServer) ExecutePatchJob(context.Context, *ExecutePatchJobRequest) (*PatchJob, error)

func (*UnimplementedOsConfigServiceServer) GetPatchDeployment Uses

func (*UnimplementedOsConfigServiceServer) GetPatchDeployment(context.Context, *GetPatchDeploymentRequest) (*PatchDeployment, error)

func (*UnimplementedOsConfigServiceServer) GetPatchJob Uses

func (*UnimplementedOsConfigServiceServer) GetPatchJob(context.Context, *GetPatchJobRequest) (*PatchJob, error)

func (*UnimplementedOsConfigServiceServer) ListPatchDeployments Uses

func (*UnimplementedOsConfigServiceServer) ListPatchDeployments(context.Context, *ListPatchDeploymentsRequest) (*ListPatchDeploymentsResponse, error)

func (*UnimplementedOsConfigServiceServer) ListPatchJobInstanceDetails Uses

func (*UnimplementedOsConfigServiceServer) ListPatchJobInstanceDetails(context.Context, *ListPatchJobInstanceDetailsRequest) (*ListPatchJobInstanceDetailsResponse, error)

func (*UnimplementedOsConfigServiceServer) ListPatchJobs Uses

func (*UnimplementedOsConfigServiceServer) ListPatchJobs(context.Context, *ListPatchJobsRequest) (*ListPatchJobsResponse, error)

type WeekDayOfMonth Uses

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"`
    // contains filtered or unexported fields
}

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

func (*WeekDayOfMonth) Descriptor Uses

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

Deprecated: Use WeekDayOfMonth.ProtoReflect.Descriptor instead.

func (*WeekDayOfMonth) GetDayOfWeek Uses

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

func (*WeekDayOfMonth) GetWeekOrdinal Uses

func (x *WeekDayOfMonth) GetWeekOrdinal() int32

func (*WeekDayOfMonth) ProtoMessage Uses

func (*WeekDayOfMonth) ProtoMessage()

func (*WeekDayOfMonth) ProtoReflect Uses

func (x *WeekDayOfMonth) ProtoReflect() protoreflect.Message

func (*WeekDayOfMonth) Reset Uses

func (x *WeekDayOfMonth) Reset()

func (*WeekDayOfMonth) String Uses

func (x *WeekDayOfMonth) String() string

type WeeklySchedule Uses

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"`
    // contains filtered or unexported fields
}

Represents a weekly schedule.

func (*WeeklySchedule) Descriptor Uses

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

Deprecated: Use WeeklySchedule.ProtoReflect.Descriptor instead.

func (*WeeklySchedule) GetDayOfWeek Uses

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

func (*WeeklySchedule) ProtoMessage Uses

func (*WeeklySchedule) ProtoMessage()

func (*WeeklySchedule) ProtoReflect Uses

func (x *WeeklySchedule) ProtoReflect() protoreflect.Message

func (*WeeklySchedule) Reset Uses

func (x *WeeklySchedule) Reset()

func (*WeeklySchedule) String Uses

func (x *WeeklySchedule) String() string

type WindowsUpdateSettings Uses

type WindowsUpdateSettings struct {

    // Only apply updates of these windows update classifications. If empty, all
    // updates are applied.
    Classifications []WindowsUpdateSettings_Classification `protobuf:"varint,1,rep,packed,name=classifications,proto3,enum=google.cloud.osconfig.v1.WindowsUpdateSettings_Classification" json:"classifications,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

Windows patching is performed using the Windows Update Agent.

func (*WindowsUpdateSettings) Descriptor Uses

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

Deprecated: Use WindowsUpdateSettings.ProtoReflect.Descriptor instead.

func (*WindowsUpdateSettings) GetClassifications Uses

func (x *WindowsUpdateSettings) GetClassifications() []WindowsUpdateSettings_Classification

func (*WindowsUpdateSettings) GetExcludes Uses

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

func (*WindowsUpdateSettings) GetExclusivePatches Uses

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

func (*WindowsUpdateSettings) ProtoMessage Uses

func (*WindowsUpdateSettings) ProtoMessage()

func (*WindowsUpdateSettings) ProtoReflect Uses

func (x *WindowsUpdateSettings) ProtoReflect() protoreflect.Message

func (*WindowsUpdateSettings) Reset Uses

func (x *WindowsUpdateSettings) Reset()

func (*WindowsUpdateSettings) String Uses

func (x *WindowsUpdateSettings) String() string

type WindowsUpdateSettings_Classification Uses

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) Descriptor Uses

func (WindowsUpdateSettings_Classification) Descriptor() protoreflect.EnumDescriptor

func (WindowsUpdateSettings_Classification) Enum Uses

func (x WindowsUpdateSettings_Classification) Enum() *WindowsUpdateSettings_Classification

func (WindowsUpdateSettings_Classification) EnumDescriptor Uses

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

Deprecated: Use WindowsUpdateSettings_Classification.Descriptor instead.

func (WindowsUpdateSettings_Classification) Number Uses

func (x WindowsUpdateSettings_Classification) Number() protoreflect.EnumNumber

func (WindowsUpdateSettings_Classification) String Uses

func (x WindowsUpdateSettings_Classification) String() string

func (WindowsUpdateSettings_Classification) Type Uses

func (WindowsUpdateSettings_Classification) Type() protoreflect.EnumType

type YumSettings Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use YumSettings.ProtoReflect.Descriptor instead.

func (*YumSettings) GetExcludes Uses

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

func (*YumSettings) GetExclusivePackages Uses

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

func (*YumSettings) GetMinimal Uses

func (x *YumSettings) GetMinimal() bool

func (*YumSettings) GetSecurity Uses

func (x *YumSettings) GetSecurity() bool

func (*YumSettings) ProtoMessage Uses

func (*YumSettings) ProtoMessage()

func (*YumSettings) ProtoReflect Uses

func (x *YumSettings) ProtoReflect() protoreflect.Message

func (*YumSettings) Reset Uses

func (x *YumSettings) Reset()

func (*YumSettings) String Uses

func (x *YumSettings) String() string

type ZypperSettings Uses

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"`
    // contains filtered or unexported fields
}

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

func (*ZypperSettings) Descriptor Uses

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

Deprecated: Use ZypperSettings.ProtoReflect.Descriptor instead.

func (*ZypperSettings) GetCategories Uses

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

func (*ZypperSettings) GetExcludes Uses

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

func (*ZypperSettings) GetExclusivePatches Uses

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

func (*ZypperSettings) GetSeverities Uses

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

func (*ZypperSettings) GetWithOptional Uses

func (x *ZypperSettings) GetWithOptional() bool

func (*ZypperSettings) GetWithUpdate Uses

func (x *ZypperSettings) GetWithUpdate() bool

func (*ZypperSettings) ProtoMessage Uses

func (*ZypperSettings) ProtoMessage()

func (*ZypperSettings) ProtoReflect Uses

func (x *ZypperSettings) ProtoReflect() protoreflect.Message

func (*ZypperSettings) Reset Uses

func (x *ZypperSettings) Reset()

func (*ZypperSettings) String Uses

func (x *ZypperSettings) String() string

Package osconfig imports 16 packages (graph) and is imported by 2 packages. Updated 2020-11-15. Refresh now. Tools for package owners.