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

package agentendpoint

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

Index

Package Files

agentendpoint.pb.go inventory.pb.go patch_jobs.pb.go tasks.pb.go

Variables

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 (
    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 (
    TaskDirective_name = map[int32]string{
        0:  "TASK_DIRECTIVE_UNSPECIFIED",
        1:  "CONTINUE",
        2:  "STOP",
    }
    TaskDirective_value = map[string]int32{
        "TASK_DIRECTIVE_UNSPECIFIED": 0,
        "CONTINUE":                   1,
        "STOP":                       2,
    }
)

Enum value maps for TaskDirective.

var (
    TaskType_name = map[int32]string{
        0:  "TASK_TYPE_UNSPECIFIED",
        1:  "APPLY_PATCHES",
        2:  "EXEC_STEP_TASK",
    }
    TaskType_value = map[string]int32{
        "TASK_TYPE_UNSPECIFIED": 0,
        "APPLY_PATCHES":         1,
        "EXEC_STEP_TASK":        2,
    }
)

Enum value maps for TaskType.

var (
    ApplyPatchesTaskProgress_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        4:  "STARTED",
        1:  "DOWNLOADING_PATCHES",
        2:  "APPLYING_PATCHES",
        3:  "REBOOTING",
    }
    ApplyPatchesTaskProgress_State_value = map[string]int32{
        "STATE_UNSPECIFIED":   0,
        "STARTED":             4,
        "DOWNLOADING_PATCHES": 1,
        "APPLYING_PATCHES":    2,
        "REBOOTING":           3,
    }
)

Enum value maps for ApplyPatchesTaskProgress_State.

var (
    ApplyPatchesTaskOutput_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "SUCCEEDED",
        2:  "SUCCEEDED_REBOOT_REQUIRED",
        3:  "FAILED",
    }
    ApplyPatchesTaskOutput_State_value = map[string]int32{
        "STATE_UNSPECIFIED":         0,
        "SUCCEEDED":                 1,
        "SUCCEEDED_REBOOT_REQUIRED": 2,
        "FAILED":                    3,
    }
)

Enum value maps for ApplyPatchesTaskOutput_State.

var (
    ExecStepTaskProgress_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "STARTED",
    }
    ExecStepTaskProgress_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "STARTED":           1,
    }
)

Enum value maps for ExecStepTaskProgress_State.

var (
    ExecStepTaskOutput_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "COMPLETED",
        2:  "TIMED_OUT",
        3:  "CANCELLED",
    }
    ExecStepTaskOutput_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "COMPLETED":         1,
        "TIMED_OUT":         2,
        "CANCELLED":         3,
    }
)

Enum value maps for ExecStepTaskOutput_State.

var File_google_cloud_osconfig_agentendpoint_v1_agentendpoint_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_inventory_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_patch_jobs_proto protoreflect.FileDescriptor
var File_google_cloud_osconfig_agentendpoint_v1_tasks_proto protoreflect.FileDescriptor

func RegisterAgentEndpointServiceServer Uses

func RegisterAgentEndpointServiceServer(s *grpc.Server, srv AgentEndpointServiceServer)

type AgentEndpointServiceClient Uses

type AgentEndpointServiceClient interface {
    // Stream established by client to receive Task notifications.
    ReceiveTaskNotification(ctx context.Context, in *ReceiveTaskNotificationRequest, opts ...grpc.CallOption) (AgentEndpointService_ReceiveTaskNotificationClient, error)
    // Signals the start of a task execution and returns the task info.
    StartNextTask(ctx context.Context, in *StartNextTaskRequest, opts ...grpc.CallOption) (*StartNextTaskResponse, error)
    // Signals an intermediary progress checkpoint in task execution.
    ReportTaskProgress(ctx context.Context, in *ReportTaskProgressRequest, opts ...grpc.CallOption) (*ReportTaskProgressResponse, error)
    // Signals that the task execution is complete and optionally returns the next
    // task.
    ReportTaskComplete(ctx context.Context, in *ReportTaskCompleteRequest, opts ...grpc.CallOption) (*ReportTaskCompleteResponse, error)
    // Registers the agent running on the VM.
    RegisterAgent(ctx context.Context, in *RegisterAgentRequest, opts ...grpc.CallOption) (*RegisterAgentResponse, error)
    // Reports the VMs current inventory.
    ReportInventory(ctx context.Context, in *ReportInventoryRequest, opts ...grpc.CallOption) (*ReportInventoryResponse, error)
}

AgentEndpointServiceClient is the client API for AgentEndpointService service.

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

func NewAgentEndpointServiceClient Uses

func NewAgentEndpointServiceClient(cc grpc.ClientConnInterface) AgentEndpointServiceClient

type AgentEndpointServiceServer Uses

type AgentEndpointServiceServer interface {
    // Stream established by client to receive Task notifications.
    ReceiveTaskNotification(*ReceiveTaskNotificationRequest, AgentEndpointService_ReceiveTaskNotificationServer) error
    // Signals the start of a task execution and returns the task info.
    StartNextTask(context.Context, *StartNextTaskRequest) (*StartNextTaskResponse, error)
    // Signals an intermediary progress checkpoint in task execution.
    ReportTaskProgress(context.Context, *ReportTaskProgressRequest) (*ReportTaskProgressResponse, error)
    // Signals that the task execution is complete and optionally returns the next
    // task.
    ReportTaskComplete(context.Context, *ReportTaskCompleteRequest) (*ReportTaskCompleteResponse, error)
    // Registers the agent running on the VM.
    RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)
    // Reports the VMs current inventory.
    ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, error)
}

AgentEndpointServiceServer is the server API for AgentEndpointService service.

type AgentEndpointService_ReceiveTaskNotificationClient Uses

type AgentEndpointService_ReceiveTaskNotificationClient interface {
    Recv() (*ReceiveTaskNotificationResponse, error)
    grpc.ClientStream
}

type AgentEndpointService_ReceiveTaskNotificationServer Uses

type AgentEndpointService_ReceiveTaskNotificationServer interface {
    Send(*ReceiveTaskNotificationResponse) error
    grpc.ServerStream
}

type ApplyPatchesTask Uses

type ApplyPatchesTask struct {

    // Specific information about how patches should be applied.
    PatchConfig *PatchConfig `protobuf:"bytes,1,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
    // If true, the agent will report its status as it goes through the motions
    // but won't actually run any updates or perform any reboots.
    DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
    // contains filtered or unexported fields
}

Message which instructs agent to apply patches.

func (*ApplyPatchesTask) Descriptor Uses

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

Deprecated: Use ApplyPatchesTask.ProtoReflect.Descriptor instead.

func (*ApplyPatchesTask) GetDryRun Uses

func (x *ApplyPatchesTask) GetDryRun() bool

func (*ApplyPatchesTask) GetPatchConfig Uses

func (x *ApplyPatchesTask) GetPatchConfig() *PatchConfig

func (*ApplyPatchesTask) ProtoMessage Uses

func (*ApplyPatchesTask) ProtoMessage()

func (*ApplyPatchesTask) ProtoReflect Uses

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

func (*ApplyPatchesTask) Reset Uses

func (x *ApplyPatchesTask) Reset()

func (*ApplyPatchesTask) String Uses

func (x *ApplyPatchesTask) String() string

type ApplyPatchesTaskOutput Uses

type ApplyPatchesTaskOutput struct {

    // Required. The final state of this task.
    State ApplyPatchesTaskOutput_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutput_State" json:"state,omitempty"`
    // contains filtered or unexported fields
}

Information reported from the agent about applying patches execution.

func (*ApplyPatchesTaskOutput) Descriptor Uses

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

Deprecated: Use ApplyPatchesTaskOutput.ProtoReflect.Descriptor instead.

func (*ApplyPatchesTaskOutput) GetState Uses

func (x *ApplyPatchesTaskOutput) GetState() ApplyPatchesTaskOutput_State

func (*ApplyPatchesTaskOutput) ProtoMessage Uses

func (*ApplyPatchesTaskOutput) ProtoMessage()

func (*ApplyPatchesTaskOutput) ProtoReflect Uses

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

func (*ApplyPatchesTaskOutput) Reset Uses

func (x *ApplyPatchesTaskOutput) Reset()

func (*ApplyPatchesTaskOutput) String Uses

func (x *ApplyPatchesTaskOutput) String() string

type ApplyPatchesTaskOutput_State Uses

type ApplyPatchesTaskOutput_State int32

The final states of applying patches.

const (
    // Unspecified is invalid.
    ApplyPatchesTaskOutput_STATE_UNSPECIFIED ApplyPatchesTaskOutput_State = 0
    // Applying patches completed successfully.
    ApplyPatchesTaskOutput_SUCCEEDED ApplyPatchesTaskOutput_State = 1
    // Applying patches completed successfully, but a reboot is required.
    ApplyPatchesTaskOutput_SUCCEEDED_REBOOT_REQUIRED ApplyPatchesTaskOutput_State = 2
    // Applying patches failed.
    ApplyPatchesTaskOutput_FAILED ApplyPatchesTaskOutput_State = 3
)

func (ApplyPatchesTaskOutput_State) Descriptor Uses

func (ApplyPatchesTaskOutput_State) Descriptor() protoreflect.EnumDescriptor

func (ApplyPatchesTaskOutput_State) Enum Uses

func (x ApplyPatchesTaskOutput_State) Enum() *ApplyPatchesTaskOutput_State

func (ApplyPatchesTaskOutput_State) EnumDescriptor Uses

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

Deprecated: Use ApplyPatchesTaskOutput_State.Descriptor instead.

func (ApplyPatchesTaskOutput_State) Number Uses

func (x ApplyPatchesTaskOutput_State) Number() protoreflect.EnumNumber

func (ApplyPatchesTaskOutput_State) String Uses

func (x ApplyPatchesTaskOutput_State) String() string

func (ApplyPatchesTaskOutput_State) Type Uses

func (ApplyPatchesTaskOutput_State) Type() protoreflect.EnumType

type ApplyPatchesTaskProgress Uses

type ApplyPatchesTaskProgress struct {

    // Required. The current state of this patch execution.
    State ApplyPatchesTaskProgress_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress_State" json:"state,omitempty"`
    // contains filtered or unexported fields
}

Information reported from the agent about applying patches execution.

func (*ApplyPatchesTaskProgress) Descriptor Uses

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

Deprecated: Use ApplyPatchesTaskProgress.ProtoReflect.Descriptor instead.

func (*ApplyPatchesTaskProgress) GetState Uses

func (x *ApplyPatchesTaskProgress) GetState() ApplyPatchesTaskProgress_State

func (*ApplyPatchesTaskProgress) ProtoMessage Uses

func (*ApplyPatchesTaskProgress) ProtoMessage()

func (*ApplyPatchesTaskProgress) ProtoReflect Uses

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

func (*ApplyPatchesTaskProgress) Reset Uses

func (x *ApplyPatchesTaskProgress) Reset()

func (*ApplyPatchesTaskProgress) String Uses

func (x *ApplyPatchesTaskProgress) String() string

type ApplyPatchesTaskProgress_State Uses

type ApplyPatchesTaskProgress_State int32

The intermediate states of applying patches.

const (
    // Unspecified is invalid.
    ApplyPatchesTaskProgress_STATE_UNSPECIFIED ApplyPatchesTaskProgress_State = 0
    // The agent has started the patch task.
    ApplyPatchesTaskProgress_STARTED ApplyPatchesTaskProgress_State = 4
    // The agent is currently downloading patches.
    ApplyPatchesTaskProgress_DOWNLOADING_PATCHES ApplyPatchesTaskProgress_State = 1
    // The agent is currently applying patches.
    ApplyPatchesTaskProgress_APPLYING_PATCHES ApplyPatchesTaskProgress_State = 2
    // The agent is currently rebooting the VM instance.
    ApplyPatchesTaskProgress_REBOOTING ApplyPatchesTaskProgress_State = 3
)

func (ApplyPatchesTaskProgress_State) Descriptor Uses

func (ApplyPatchesTaskProgress_State) Descriptor() protoreflect.EnumDescriptor

func (ApplyPatchesTaskProgress_State) Enum Uses

func (x ApplyPatchesTaskProgress_State) Enum() *ApplyPatchesTaskProgress_State

func (ApplyPatchesTaskProgress_State) EnumDescriptor Uses

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

Deprecated: Use ApplyPatchesTaskProgress_State.Descriptor instead.

func (ApplyPatchesTaskProgress_State) Number Uses

func (x ApplyPatchesTaskProgress_State) Number() protoreflect.EnumNumber

func (ApplyPatchesTaskProgress_State) String Uses

func (x ApplyPatchesTaskProgress_State) String() string

func (ApplyPatchesTaskProgress_State) Type Uses

func (ApplyPatchesTaskProgress_State) Type() protoreflect.EnumType

type AptSettings Uses

type AptSettings struct {

    // By changing the type to DIST, the patching will be performed
    // using `apt-get dist-upgrade` instead.
    Type AptSettings_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.osconfig.agentendpoint.v1.AptSettings_Type" json:"type,omitempty"`
    // List of packages to exclude from update.
    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 will be performed 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 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.
    // [Wikipedia shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)).
    Interpreter ExecStepConfig_Interpreter `protobuf:"varint,4,opt,name=interpreter,proto3,enum=google.cloud.osconfig.agentendpoint.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 GCS 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 will be run with /bin/sh on Linux and cmd
    // on windows.
    ExecStepConfig_SHELL ExecStepConfig_Interpreter = 1
    // Indicates that the file will be run with PowerShell.
    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 ExecStepTask Uses

type ExecStepTask struct {

    // Details of the exec step to run.
    ExecStep *ExecStep `protobuf:"bytes,1,opt,name=exec_step,json=execStep,proto3" json:"exec_step,omitempty"`
    // contains filtered or unexported fields
}

Message which instructs agent to execute the following command.

func (*ExecStepTask) Descriptor Uses

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

Deprecated: Use ExecStepTask.ProtoReflect.Descriptor instead.

func (*ExecStepTask) GetExecStep Uses

func (x *ExecStepTask) GetExecStep() *ExecStep

func (*ExecStepTask) ProtoMessage Uses

func (*ExecStepTask) ProtoMessage()

func (*ExecStepTask) ProtoReflect Uses

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

func (*ExecStepTask) Reset Uses

func (x *ExecStepTask) Reset()

func (*ExecStepTask) String Uses

func (x *ExecStepTask) String() string

type ExecStepTaskOutput Uses

type ExecStepTaskOutput struct {

    // Required. The final state of the exec step.
    State ExecStepTaskOutput_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ExecStepTaskOutput_State" json:"state,omitempty"`
    // Required. The exit code received from the script which ran as part of the
    // exec step.
    ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
    // contains filtered or unexported fields
}

Information reported from the agent about the exec step execution.

func (*ExecStepTaskOutput) Descriptor Uses

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

Deprecated: Use ExecStepTaskOutput.ProtoReflect.Descriptor instead.

func (*ExecStepTaskOutput) GetExitCode Uses

func (x *ExecStepTaskOutput) GetExitCode() int32

func (*ExecStepTaskOutput) GetState Uses

func (x *ExecStepTaskOutput) GetState() ExecStepTaskOutput_State

func (*ExecStepTaskOutput) ProtoMessage Uses

func (*ExecStepTaskOutput) ProtoMessage()

func (*ExecStepTaskOutput) ProtoReflect Uses

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

func (*ExecStepTaskOutput) Reset Uses

func (x *ExecStepTaskOutput) Reset()

func (*ExecStepTaskOutput) String Uses

func (x *ExecStepTaskOutput) String() string

type ExecStepTaskOutput_State Uses

type ExecStepTaskOutput_State int32

The final states of exec steps.

const (
    // Unspecified is invalid.
    ExecStepTaskOutput_STATE_UNSPECIFIED ExecStepTaskOutput_State = 0
    // The exec step completed normally.
    ExecStepTaskOutput_COMPLETED ExecStepTaskOutput_State = 1
    // The exec step was terminated because it took too long.
    ExecStepTaskOutput_TIMED_OUT ExecStepTaskOutput_State = 2
    // The exec step task was cancelled before it started.
    ExecStepTaskOutput_CANCELLED ExecStepTaskOutput_State = 3
)

func (ExecStepTaskOutput_State) Descriptor Uses

func (ExecStepTaskOutput_State) Descriptor() protoreflect.EnumDescriptor

func (ExecStepTaskOutput_State) Enum Uses

func (x ExecStepTaskOutput_State) Enum() *ExecStepTaskOutput_State

func (ExecStepTaskOutput_State) EnumDescriptor Uses

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

Deprecated: Use ExecStepTaskOutput_State.Descriptor instead.

func (ExecStepTaskOutput_State) Number Uses

func (x ExecStepTaskOutput_State) Number() protoreflect.EnumNumber

func (ExecStepTaskOutput_State) String Uses

func (x ExecStepTaskOutput_State) String() string

func (ExecStepTaskOutput_State) Type Uses

func (ExecStepTaskOutput_State) Type() protoreflect.EnumType

type ExecStepTaskProgress Uses

type ExecStepTaskProgress struct {

    // Required. The current state of this exec step.
    State ExecStepTaskProgress_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ExecStepTaskProgress_State" json:"state,omitempty"`
    // contains filtered or unexported fields
}

Information reported from the agent about the exec step execution.

func (*ExecStepTaskProgress) Descriptor Uses

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

Deprecated: Use ExecStepTaskProgress.ProtoReflect.Descriptor instead.

func (*ExecStepTaskProgress) GetState Uses

func (x *ExecStepTaskProgress) GetState() ExecStepTaskProgress_State

func (*ExecStepTaskProgress) ProtoMessage Uses

func (*ExecStepTaskProgress) ProtoMessage()

func (*ExecStepTaskProgress) ProtoReflect Uses

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

func (*ExecStepTaskProgress) Reset Uses

func (x *ExecStepTaskProgress) Reset()

func (*ExecStepTaskProgress) String Uses

func (x *ExecStepTaskProgress) String() string

type ExecStepTaskProgress_State Uses

type ExecStepTaskProgress_State int32

The intermediate states of exec steps.

const (
    // Unspecified is invalid.
    ExecStepTaskProgress_STATE_UNSPECIFIED ExecStepTaskProgress_State = 0
    // The agent has started the exec step task.
    ExecStepTaskProgress_STARTED ExecStepTaskProgress_State = 1
)

func (ExecStepTaskProgress_State) Descriptor Uses

func (ExecStepTaskProgress_State) Descriptor() protoreflect.EnumDescriptor

func (ExecStepTaskProgress_State) Enum Uses

func (x ExecStepTaskProgress_State) Enum() *ExecStepTaskProgress_State

func (ExecStepTaskProgress_State) EnumDescriptor Uses

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

Deprecated: Use ExecStepTaskProgress_State.Descriptor instead.

func (ExecStepTaskProgress_State) Number Uses

func (x ExecStepTaskProgress_State) Number() protoreflect.EnumNumber

func (ExecStepTaskProgress_State) String Uses

func (x ExecStepTaskProgress_State) String() string

func (ExecStepTaskProgress_State) Type Uses

func (ExecStepTaskProgress_State) Type() protoreflect.EnumType

type GcsObject Uses

type GcsObject struct {

    // Bucket of the GCS object.
    Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
    // Name of the GCS object.
    Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
    // Generation number of the GCS 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
}

GCS 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 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 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"`
    // A list of installed packages currently on the VM.
    InstalledPackages []*Inventory_SoftwarePackage `protobuf:"bytes,2,rep,name=installed_packages,json=installedPackages,proto3" json:"installed_packages,omitempty"`
    // A list of software updates available for the VM as reported by the update
    // managers.
    AvailablePackages []*Inventory_SoftwarePackage `protobuf:"bytes,3,rep,name=available_packages,json=availablePackages,proto3" json:"available_packages,omitempty"`
    // 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) GetAvailablePackages Uses

func (x *Inventory) GetAvailablePackages() []*Inventory_SoftwarePackage

func (*Inventory) GetInstalledPackages Uses

func (x *Inventory) GetInstalledPackages() []*Inventory_SoftwarePackage

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

type Inventory_OsInfo struct {

    // The VM hostname.
    Hostname string `protobuf:"bytes,1,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,1,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,4,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,5,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,6,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,7,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`
    // The revision number of this update package.
    RevisionNumber int32 `protobuf:"varint,8,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,9,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,1,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 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.agentendpoint.v1.PatchConfig_RebootConfig" json:"reboot_config,omitempty"`
    // Retry strategy can be defined to have the agent retry patching
    // during the window if patching fails. If omitted, the agent will use its
    // default retry strategy.
    RetryStrategy *RetryStrategy `protobuf:"bytes,2,opt,name=retry_strategy,json=retryStrategy,proto3" json:"retry_strategy,omitempty"`
    // Apt update settings. Use this override the default apt patch rules.
    Apt *AptSettings `protobuf:"bytes,3,opt,name=apt,proto3" json:"apt,omitempty"`
    // Yum update settings. Use this override the default yum patch rules.
    Yum *YumSettings `protobuf:"bytes,4,opt,name=yum,proto3" json:"yum,omitempty"`
    // Goo update settings. Use this override the default goo patch rules.
    Goo *GooSettings `protobuf:"bytes,5,opt,name=goo,proto3" json:"goo,omitempty"`
    // Zypper update settings. Use this 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 patches 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) GetRetryStrategy Uses

func (x *PatchConfig) GetRetryStrategy() *RetryStrategy

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

type ReceiveTaskNotificationRequest struct {

    // Required. This is the Compute Engine instance identity token described in
    // https://cloud.google.com/compute/docs/instances/verifying-instance-identity
    // where the audience is 'osconfig.googleapis.com' and the format is 'full'.
    InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"`
    // Required. The version of the agent making the request.
    AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
    // contains filtered or unexported fields
}

A request message to receive task notifications.

func (*ReceiveTaskNotificationRequest) Descriptor Uses

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

Deprecated: Use ReceiveTaskNotificationRequest.ProtoReflect.Descriptor instead.

func (*ReceiveTaskNotificationRequest) GetAgentVersion Uses

func (x *ReceiveTaskNotificationRequest) GetAgentVersion() string

func (*ReceiveTaskNotificationRequest) GetInstanceIdToken Uses

func (x *ReceiveTaskNotificationRequest) GetInstanceIdToken() string

func (*ReceiveTaskNotificationRequest) ProtoMessage Uses

func (*ReceiveTaskNotificationRequest) ProtoMessage()

func (*ReceiveTaskNotificationRequest) ProtoReflect Uses

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

func (*ReceiveTaskNotificationRequest) Reset Uses

func (x *ReceiveTaskNotificationRequest) Reset()

func (*ReceiveTaskNotificationRequest) String Uses

func (x *ReceiveTaskNotificationRequest) String() string

type ReceiveTaskNotificationResponse Uses

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

The streaming rpc message that notifies the agent when it has a task that it needs to perform on the VM instance.

func (*ReceiveTaskNotificationResponse) Descriptor Uses

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

Deprecated: Use ReceiveTaskNotificationResponse.ProtoReflect.Descriptor instead.

func (*ReceiveTaskNotificationResponse) ProtoMessage Uses

func (*ReceiveTaskNotificationResponse) ProtoMessage()

func (*ReceiveTaskNotificationResponse) ProtoReflect Uses

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

func (*ReceiveTaskNotificationResponse) Reset Uses

func (x *ReceiveTaskNotificationResponse) Reset()

func (*ReceiveTaskNotificationResponse) String Uses

func (x *ReceiveTaskNotificationResponse) String() string

type RegisterAgentRequest Uses

type RegisterAgentRequest struct {

    // Required. This is the Compute Engine instance identity token described in
    // https://cloud.google.com/compute/docs/instances/verifying-instance-identity
    // where the audience is 'osconfig.googleapis.com' and the format is 'full'.
    InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"`
    // Required. The version of the agent.
    AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
    // Required. The capabilities supported by the agent. Supported values are:
    // PATCH_GA
    // GUEST_POLICY_BETA
    SupportedCapabilities []string `protobuf:"bytes,3,rep,name=supported_capabilities,json=supportedCapabilities,proto3" json:"supported_capabilities,omitempty"`
    // contains filtered or unexported fields
}

The request message for registering the agent.

func (*RegisterAgentRequest) Descriptor Uses

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

Deprecated: Use RegisterAgentRequest.ProtoReflect.Descriptor instead.

func (*RegisterAgentRequest) GetAgentVersion Uses

func (x *RegisterAgentRequest) GetAgentVersion() string

func (*RegisterAgentRequest) GetInstanceIdToken Uses

func (x *RegisterAgentRequest) GetInstanceIdToken() string

func (*RegisterAgentRequest) GetSupportedCapabilities Uses

func (x *RegisterAgentRequest) GetSupportedCapabilities() []string

func (*RegisterAgentRequest) ProtoMessage Uses

func (*RegisterAgentRequest) ProtoMessage()

func (*RegisterAgentRequest) ProtoReflect Uses

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

func (*RegisterAgentRequest) Reset Uses

func (x *RegisterAgentRequest) Reset()

func (*RegisterAgentRequest) String Uses

func (x *RegisterAgentRequest) String() string

type RegisterAgentResponse Uses

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

The response message after the agent registered.

func (*RegisterAgentResponse) Descriptor Uses

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

Deprecated: Use RegisterAgentResponse.ProtoReflect.Descriptor instead.

func (*RegisterAgentResponse) ProtoMessage Uses

func (*RegisterAgentResponse) ProtoMessage()

func (*RegisterAgentResponse) ProtoReflect Uses

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

func (*RegisterAgentResponse) Reset Uses

func (x *RegisterAgentResponse) Reset()

func (*RegisterAgentResponse) String Uses

func (x *RegisterAgentResponse) String() string

type ReportInventoryRequest Uses

type ReportInventoryRequest struct {

    // Required. This is the Compute Engine instance identity token described in
    // https://cloud.google.com/compute/docs/instances/verifying-instance-identity
    // where the audience is 'osconfig.googleapis.com' and the format is 'full'.
    InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"`
    // Required. This is a client created checksum that should be generated based on the
    // contents of the reported inventory.  This will be used by the service to
    // determine if it has the latest version of inventory.
    InventoryChecksum string `protobuf:"bytes,2,opt,name=inventory_checksum,json=inventoryChecksum,proto3" json:"inventory_checksum,omitempty"`
    // Optional. This is the details of the inventory.  Should only be provided if the
    // inventory has changed since the last report, or if instructed by the
    // service to provide full inventory.
    Inventory *Inventory `protobuf:"bytes,3,opt,name=inventory,proto3" json:"inventory,omitempty"`
    // contains filtered or unexported fields
}

The request message for having the agent report inventory.

func (*ReportInventoryRequest) Descriptor Uses

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

Deprecated: Use ReportInventoryRequest.ProtoReflect.Descriptor instead.

func (*ReportInventoryRequest) GetInstanceIdToken Uses

func (x *ReportInventoryRequest) GetInstanceIdToken() string

func (*ReportInventoryRequest) GetInventory Uses

func (x *ReportInventoryRequest) GetInventory() *Inventory

func (*ReportInventoryRequest) GetInventoryChecksum Uses

func (x *ReportInventoryRequest) GetInventoryChecksum() string

func (*ReportInventoryRequest) ProtoMessage Uses

func (*ReportInventoryRequest) ProtoMessage()

func (*ReportInventoryRequest) ProtoReflect Uses

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

func (*ReportInventoryRequest) Reset Uses

func (x *ReportInventoryRequest) Reset()

func (*ReportInventoryRequest) String Uses

func (x *ReportInventoryRequest) String() string

type ReportInventoryResponse Uses

type ReportInventoryResponse struct {

    // If true, the full inventory should be reported back to the server.
    ReportFullInventory bool `protobuf:"varint,1,opt,name=report_full_inventory,json=reportFullInventory,proto3" json:"report_full_inventory,omitempty"`
    // contains filtered or unexported fields
}

The response message after the agent has reported inventory.

func (*ReportInventoryResponse) Descriptor Uses

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

Deprecated: Use ReportInventoryResponse.ProtoReflect.Descriptor instead.

func (*ReportInventoryResponse) GetReportFullInventory Uses

func (x *ReportInventoryResponse) GetReportFullInventory() bool

func (*ReportInventoryResponse) ProtoMessage Uses

func (*ReportInventoryResponse) ProtoMessage()

func (*ReportInventoryResponse) ProtoReflect Uses

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

func (*ReportInventoryResponse) Reset Uses

func (x *ReportInventoryResponse) Reset()

func (*ReportInventoryResponse) String Uses

func (x *ReportInventoryResponse) String() string

type ReportTaskCompleteRequest Uses

type ReportTaskCompleteRequest struct {

    // Required. This is the Compute Engine instance identity token described in
    // https://cloud.google.com/compute/docs/instances/verifying-instance-identity
    // where the audience is 'osconfig.googleapis.com' and the format is 'full'.
    InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"`
    // Required. Unique identifier of the task this applies to.
    TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
    // Required. The type of task to report completed.
    //
    // The output must include the appropriate message based on the following
    // enum values:
    // APPLY_PATCHES = ApplyPatchesTaskOutput
    // EXEC_STEP = ExecStepTaskOutput
    TaskType TaskType `protobuf:"varint,3,opt,name=task_type,json=taskType,proto3,enum=google.cloud.osconfig.agentendpoint.v1.TaskType" json:"task_type,omitempty"`
    // Descriptive error message if the task execution ended in error.
    ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
    // Final output details of the current task.
    //
    // Types that are assignable to Output:
    //	*ReportTaskCompleteRequest_ApplyPatchesTaskOutput
    //	*ReportTaskCompleteRequest_ExecStepTaskOutput
    Output isReportTaskCompleteRequest_Output `protobuf_oneof:"output"`
    // contains filtered or unexported fields
}

A request message for signaling the completion of a task execution.

func (*ReportTaskCompleteRequest) Descriptor Uses

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

Deprecated: Use ReportTaskCompleteRequest.ProtoReflect.Descriptor instead.

func (*ReportTaskCompleteRequest) GetApplyPatchesTaskOutput Uses

func (x *ReportTaskCompleteRequest) GetApplyPatchesTaskOutput() *ApplyPatchesTaskOutput

func (*ReportTaskCompleteRequest) GetErrorMessage Uses

func (x *ReportTaskCompleteRequest) GetErrorMessage() string

func (*ReportTaskCompleteRequest) GetExecStepTaskOutput Uses

func (x *ReportTaskCompleteRequest) GetExecStepTaskOutput() *ExecStepTaskOutput

func (*ReportTaskCompleteRequest) GetInstanceIdToken Uses

func (x *ReportTaskCompleteRequest) GetInstanceIdToken() string

func (*ReportTaskCompleteRequest) GetOutput Uses

func (m *ReportTaskCompleteRequest) GetOutput() isReportTaskCompleteRequest_Output

func (*ReportTaskCompleteRequest) GetTaskId Uses

func (x *ReportTaskCompleteRequest) GetTaskId() string

func (*ReportTaskCompleteRequest) GetTaskType Uses

func (x *ReportTaskCompleteRequest) GetTaskType() TaskType

func (*ReportTaskCompleteRequest) ProtoMessage Uses

func (*ReportTaskCompleteRequest) ProtoMessage()

func (*ReportTaskCompleteRequest) ProtoReflect Uses

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

func (*ReportTaskCompleteRequest) Reset Uses

func (x *ReportTaskCompleteRequest) Reset()

func (*ReportTaskCompleteRequest) String Uses

func (x *ReportTaskCompleteRequest) String() string

type ReportTaskCompleteRequest_ApplyPatchesTaskOutput Uses

type ReportTaskCompleteRequest_ApplyPatchesTaskOutput struct {
    // Final output details of the apply patches task;
    ApplyPatchesTaskOutput *ApplyPatchesTaskOutput `protobuf:"bytes,5,opt,name=apply_patches_task_output,json=applyPatchesTaskOutput,proto3,oneof"`
}

type ReportTaskCompleteRequest_ExecStepTaskOutput Uses

type ReportTaskCompleteRequest_ExecStepTaskOutput struct {
    // Final output details of the exec step task;
    ExecStepTaskOutput *ExecStepTaskOutput `protobuf:"bytes,6,opt,name=exec_step_task_output,json=execStepTaskOutput,proto3,oneof"`
}

type ReportTaskCompleteResponse Uses

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

The response message after the agent signaled the current task complete.

func (*ReportTaskCompleteResponse) Descriptor Uses

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

Deprecated: Use ReportTaskCompleteResponse.ProtoReflect.Descriptor instead.

func (*ReportTaskCompleteResponse) ProtoMessage Uses

func (*ReportTaskCompleteResponse) ProtoMessage()

func (*ReportTaskCompleteResponse) ProtoReflect Uses

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

func (*ReportTaskCompleteResponse) Reset Uses

func (x *ReportTaskCompleteResponse) Reset()

func (*ReportTaskCompleteResponse) String Uses

func (x *ReportTaskCompleteResponse) String() string

type ReportTaskProgressRequest Uses

type ReportTaskProgressRequest struct {

    // Required. This is the Compute Engine instance identity token described in
    // https://cloud.google.com/compute/docs/instances/verifying-instance-identity
    // where the audience is 'osconfig.googleapis.com' and the format is 'full'.
    InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"`
    // Required. Unique identifier of the task this applies to.
    TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
    // Required. The type of task to report progress on.
    //
    // Progress must include the appropriate message based on this enum as
    // specified below:
    // APPLY_PATCHES = ApplyPatchesTaskProgress
    // EXEC_STEP = Progress not supported for this type.
    TaskType TaskType `protobuf:"varint,3,opt,name=task_type,json=taskType,proto3,enum=google.cloud.osconfig.agentendpoint.v1.TaskType" json:"task_type,omitempty"`
    // Intermediate progress of the current task.
    //
    // Types that are assignable to Progress:
    //	*ReportTaskProgressRequest_ApplyPatchesTaskProgress
    //	*ReportTaskProgressRequest_ExecStepTaskProgress
    Progress isReportTaskProgressRequest_Progress `protobuf_oneof:"progress"`
    // contains filtered or unexported fields
}

A request message for reporting the progress of current task.

func (*ReportTaskProgressRequest) Descriptor Uses

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

Deprecated: Use ReportTaskProgressRequest.ProtoReflect.Descriptor instead.

func (*ReportTaskProgressRequest) GetApplyPatchesTaskProgress Uses

func (x *ReportTaskProgressRequest) GetApplyPatchesTaskProgress() *ApplyPatchesTaskProgress

func (*ReportTaskProgressRequest) GetExecStepTaskProgress Uses

func (x *ReportTaskProgressRequest) GetExecStepTaskProgress() *ExecStepTaskProgress

func (*ReportTaskProgressRequest) GetInstanceIdToken Uses

func (x *ReportTaskProgressRequest) GetInstanceIdToken() string

func (*ReportTaskProgressRequest) GetProgress Uses

func (m *ReportTaskProgressRequest) GetProgress() isReportTaskProgressRequest_Progress

func (*ReportTaskProgressRequest) GetTaskId Uses

func (x *ReportTaskProgressRequest) GetTaskId() string

func (*ReportTaskProgressRequest) GetTaskType Uses

func (x *ReportTaskProgressRequest) GetTaskType() TaskType

func (*ReportTaskProgressRequest) ProtoMessage Uses

func (*ReportTaskProgressRequest) ProtoMessage()

func (*ReportTaskProgressRequest) ProtoReflect Uses

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

func (*ReportTaskProgressRequest) Reset Uses

func (x *ReportTaskProgressRequest) Reset()

func (*ReportTaskProgressRequest) String Uses

func (x *ReportTaskProgressRequest) String() string

type ReportTaskProgressRequest_ApplyPatchesTaskProgress Uses

type ReportTaskProgressRequest_ApplyPatchesTaskProgress struct {
    // Details about the progress of the apply patches task.
    ApplyPatchesTaskProgress *ApplyPatchesTaskProgress `protobuf:"bytes,4,opt,name=apply_patches_task_progress,json=applyPatchesTaskProgress,proto3,oneof"`
}

type ReportTaskProgressRequest_ExecStepTaskProgress Uses

type ReportTaskProgressRequest_ExecStepTaskProgress struct {
    // Details about the progress of the exec step task.
    ExecStepTaskProgress *ExecStepTaskProgress `protobuf:"bytes,5,opt,name=exec_step_task_progress,json=execStepTaskProgress,proto3,oneof"`
}

type ReportTaskProgressResponse Uses

type ReportTaskProgressResponse struct {

    // Instructs agent to continue or not.
    TaskDirective TaskDirective `protobuf:"varint,1,opt,name=task_directive,json=taskDirective,proto3,enum=google.cloud.osconfig.agentendpoint.v1.TaskDirective" json:"task_directive,omitempty"`
    // contains filtered or unexported fields
}

The response message after the agent reported the current task progress.

func (*ReportTaskProgressResponse) Descriptor Uses

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

Deprecated: Use ReportTaskProgressResponse.ProtoReflect.Descriptor instead.

func (*ReportTaskProgressResponse) GetTaskDirective Uses

func (x *ReportTaskProgressResponse) GetTaskDirective() TaskDirective

func (*ReportTaskProgressResponse) ProtoMessage Uses

func (*ReportTaskProgressResponse) ProtoMessage()

func (*ReportTaskProgressResponse) ProtoReflect Uses

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

func (*ReportTaskProgressResponse) Reset Uses

func (x *ReportTaskProgressResponse) Reset()

func (*ReportTaskProgressResponse) String Uses

func (x *ReportTaskProgressResponse) String() string

type RetryStrategy Uses

type RetryStrategy struct {

    // If true, the agent will continue to try and patch until the window has
    // ended.
    Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
    // contains filtered or unexported fields
}

The strategy for retrying failed patches during the patch window.

func (*RetryStrategy) Descriptor Uses

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

Deprecated: Use RetryStrategy.ProtoReflect.Descriptor instead.

func (*RetryStrategy) GetEnabled Uses

func (x *RetryStrategy) GetEnabled() bool

func (*RetryStrategy) ProtoMessage Uses

func (*RetryStrategy) ProtoMessage()

func (*RetryStrategy) ProtoReflect Uses

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

func (*RetryStrategy) Reset Uses

func (x *RetryStrategy) Reset()

func (*RetryStrategy) String Uses

func (x *RetryStrategy) String() string

type StartNextTaskRequest Uses

type StartNextTaskRequest struct {

    // Required. This is the Compute Engine instance identity token described in
    // https://cloud.google.com/compute/docs/instances/verifying-instance-identity
    // where the audience is 'osconfig.googleapis.com' and the format is 'full'.
    InstanceIdToken string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken,proto3" json:"instance_id_token,omitempty"`
    // contains filtered or unexported fields
}

A request message for signaling the start of a task execution.

func (*StartNextTaskRequest) Descriptor Uses

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

Deprecated: Use StartNextTaskRequest.ProtoReflect.Descriptor instead.

func (*StartNextTaskRequest) GetInstanceIdToken Uses

func (x *StartNextTaskRequest) GetInstanceIdToken() string

func (*StartNextTaskRequest) ProtoMessage Uses

func (*StartNextTaskRequest) ProtoMessage()

func (*StartNextTaskRequest) ProtoReflect Uses

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

func (*StartNextTaskRequest) Reset Uses

func (x *StartNextTaskRequest) Reset()

func (*StartNextTaskRequest) String Uses

func (x *StartNextTaskRequest) String() string

type StartNextTaskResponse Uses

type StartNextTaskResponse struct {

    // The details of the task that should be worked on.  Can be empty if there
    // is no new task to work on.
    Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
    // contains filtered or unexported fields
}

A response message that contains the details of the task to work on.

func (*StartNextTaskResponse) Descriptor Uses

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

Deprecated: Use StartNextTaskResponse.ProtoReflect.Descriptor instead.

func (*StartNextTaskResponse) GetTask Uses

func (x *StartNextTaskResponse) GetTask() *Task

func (*StartNextTaskResponse) ProtoMessage Uses

func (*StartNextTaskResponse) ProtoMessage()

func (*StartNextTaskResponse) ProtoReflect Uses

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

func (*StartNextTaskResponse) Reset Uses

func (x *StartNextTaskResponse) Reset()

func (*StartNextTaskResponse) String Uses

func (x *StartNextTaskResponse) String() string

type Task Uses

type Task struct {

    // Unique task id.
    TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
    // The type of task to perform.
    //
    // Task details must include the appropriate message based on this enum as
    // specified below:
    // APPLY_PATCHES = ApplyPatchesTask
    // EXEC_STEP = ExecStepTask;
    TaskType TaskType `protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=google.cloud.osconfig.agentendpoint.v1.TaskType" json:"task_type,omitempty"`
    // Current directive to the agent.
    TaskDirective TaskDirective `protobuf:"varint,3,opt,name=task_directive,json=taskDirective,proto3,enum=google.cloud.osconfig.agentendpoint.v1.TaskDirective" json:"task_directive,omitempty"`
    // Specific details about the current task to perform.
    //
    // Types that are assignable to TaskDetails:
    //	*Task_ApplyPatchesTask
    //	*Task_ExecStepTask
    TaskDetails isTask_TaskDetails `protobuf_oneof:"task_details"`
    // Labels describing the task.  Used for logging by the agent.
    ServiceLabels map[string]string `protobuf:"bytes,6,rep,name=service_labels,json=serviceLabels,proto3" json:"service_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

A unit of work to be performed by the agent.

func (*Task) Descriptor Uses

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetApplyPatchesTask Uses

func (x *Task) GetApplyPatchesTask() *ApplyPatchesTask

func (*Task) GetExecStepTask Uses

func (x *Task) GetExecStepTask() *ExecStepTask

func (*Task) GetServiceLabels Uses

func (x *Task) GetServiceLabels() map[string]string

func (*Task) GetTaskDetails Uses

func (m *Task) GetTaskDetails() isTask_TaskDetails

func (*Task) GetTaskDirective Uses

func (x *Task) GetTaskDirective() TaskDirective

func (*Task) GetTaskId Uses

func (x *Task) GetTaskId() string

func (*Task) GetTaskType Uses

func (x *Task) GetTaskType() TaskType

func (*Task) ProtoMessage Uses

func (*Task) ProtoMessage()

func (*Task) ProtoReflect Uses

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

func (*Task) Reset Uses

func (x *Task) Reset()

func (*Task) String Uses

func (x *Task) String() string

type TaskDirective Uses

type TaskDirective int32

Specifies the current agent behavior.

const (
    // Unspecified is invalid.
    TaskDirective_TASK_DIRECTIVE_UNSPECIFIED TaskDirective = 0
    // The task should continue to progress.
    TaskDirective_CONTINUE TaskDirective = 1
    // Task should not be started, or if already in progress, should stop
    // at first safe stopping point.  Task should be considered done and will
    // never repeat.
    TaskDirective_STOP TaskDirective = 2
)

func (TaskDirective) Descriptor Uses

func (TaskDirective) Descriptor() protoreflect.EnumDescriptor

func (TaskDirective) Enum Uses

func (x TaskDirective) Enum() *TaskDirective

func (TaskDirective) EnumDescriptor Uses

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

Deprecated: Use TaskDirective.Descriptor instead.

func (TaskDirective) Number Uses

func (x TaskDirective) Number() protoreflect.EnumNumber

func (TaskDirective) String Uses

func (x TaskDirective) String() string

func (TaskDirective) Type Uses

func (TaskDirective) Type() protoreflect.EnumType

type TaskType Uses

type TaskType int32

Specifies the type of task to perform.

const (
    // Unspecified is invalid.
    TaskType_TASK_TYPE_UNSPECIFIED TaskType = 0
    // The apply patches task.
    TaskType_APPLY_PATCHES TaskType = 1
    // The exec step task.
    TaskType_EXEC_STEP_TASK TaskType = 2
)

func (TaskType) Descriptor Uses

func (TaskType) Descriptor() protoreflect.EnumDescriptor

func (TaskType) Enum Uses

func (x TaskType) Enum() *TaskType

func (TaskType) EnumDescriptor Uses

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

Deprecated: Use TaskType.Descriptor instead.

func (TaskType) Number Uses

func (x TaskType) Number() protoreflect.EnumNumber

func (TaskType) String Uses

func (x TaskType) String() string

func (TaskType) Type Uses

func (TaskType) Type() protoreflect.EnumType

type Task_ApplyPatchesTask Uses

type Task_ApplyPatchesTask struct {
    // Details about the apply patches task to perform.
    ApplyPatchesTask *ApplyPatchesTask `protobuf:"bytes,4,opt,name=apply_patches_task,json=applyPatchesTask,proto3,oneof"`
}

type Task_ExecStepTask Uses

type Task_ExecStepTask struct {
    // Details about the exec step task to perform.
    ExecStepTask *ExecStepTask `protobuf:"bytes,5,opt,name=exec_step_task,json=execStepTask,proto3,oneof"`
}

type UnimplementedAgentEndpointServiceServer Uses

type UnimplementedAgentEndpointServiceServer struct {
}

UnimplementedAgentEndpointServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAgentEndpointServiceServer) ReceiveTaskNotification Uses

func (*UnimplementedAgentEndpointServiceServer) ReceiveTaskNotification(*ReceiveTaskNotificationRequest, AgentEndpointService_ReceiveTaskNotificationServer) error

func (*UnimplementedAgentEndpointServiceServer) RegisterAgent Uses

func (*UnimplementedAgentEndpointServiceServer) RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)

func (*UnimplementedAgentEndpointServiceServer) ReportInventory Uses

func (*UnimplementedAgentEndpointServiceServer) ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, error)

func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete Uses

func (*UnimplementedAgentEndpointServiceServer) ReportTaskComplete(context.Context, *ReportTaskCompleteRequest) (*ReportTaskCompleteResponse, error)

func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress Uses

func (*UnimplementedAgentEndpointServiceServer) ReportTaskProgress(context.Context, *ReportTaskProgressRequest) (*ReportTaskProgressResponse, error)

func (*UnimplementedAgentEndpointServiceServer) StartNextTask Uses

func (*UnimplementedAgentEndpointServiceServer) StartNextTask(context.Context, *StartNextTaskRequest) (*StartNextTaskResponse, error)

type WindowsUpdateSettings Uses

type WindowsUpdateSettings struct {

    // Only apply updates of these windows update classifications. If empty, all
    // updates will be applied.
    Classifications []WindowsUpdateSettings_Classification `protobuf:"varint,1,rep,packed,name=classifications,proto3,enum=google.cloud.osconfig.agentendpoint.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 will be 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 will be 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 agentendpoint imports 11 packages (graph) and is imported by 2 packages. Updated 2020-12-08. Refresh now. Tools for package owners.