Package cloud.google.com/go/osconfig/agentendpoint/apiv1/agentendpointpb (v1.9.0)

Variables

OSPolicyComplianceState_name, OSPolicyComplianceState_value

var (
	OSPolicyComplianceState_name = map[int32]string{
		0: "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED",
		1: "COMPLIANT",
		2: "NON_COMPLIANT",
		3: "UNKNOWN",
		4: "NO_OS_POLICIES_APPLICABLE",
	}
	OSPolicyComplianceState_value = map[string]int32{
		"OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED": 0,
		"COMPLIANT":                              1,
		"NON_COMPLIANT":                          2,
		"UNKNOWN":                                3,
		"NO_OS_POLICIES_APPLICABLE":              4,
	}
)

Enum value maps for OSPolicyComplianceState.

OSPolicyResourceConfigStep_Type_name, OSPolicyResourceConfigStep_Type_value

var (
	OSPolicyResourceConfigStep_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "VALIDATION",
		2: "DESIRED_STATE_CHECK",
		3: "DESIRED_STATE_ENFORCEMENT",
		4: "DESIRED_STATE_CHECK_POST_ENFORCEMENT",
	}
	OSPolicyResourceConfigStep_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":                     0,
		"VALIDATION":                           1,
		"DESIRED_STATE_CHECK":                  2,
		"DESIRED_STATE_ENFORCEMENT":            3,
		"DESIRED_STATE_CHECK_POST_ENFORCEMENT": 4,
	}
)

Enum value maps for OSPolicyResourceConfigStep_Type.

OSPolicyResourceConfigStep_Outcome_name, OSPolicyResourceConfigStep_Outcome_value

var (
	OSPolicyResourceConfigStep_Outcome_name = map[int32]string{
		0: "OUTCOME_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
	}
	OSPolicyResourceConfigStep_Outcome_value = map[string]int32{
		"OUTCOME_UNSPECIFIED": 0,
		"SUCCEEDED":           1,
		"FAILED":              2,
	}
)

Enum value maps for OSPolicyResourceConfigStep_Outcome.

OSPolicy_Mode_name, OSPolicy_Mode_value

var (
	OSPolicy_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "VALIDATION",
		2: "ENFORCEMENT",
	}
	OSPolicy_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"VALIDATION":       1,
		"ENFORCEMENT":      2,
	}
)

Enum value maps for OSPolicy_Mode.

OSPolicy_Resource_PackageResource_DesiredState_name, OSPolicy_Resource_PackageResource_DesiredState_value

var (
	OSPolicy_Resource_PackageResource_DesiredState_name = map[int32]string{
		0: "DESIRED_STATE_UNSPECIFIED",
		1: "INSTALLED",
		2: "REMOVED",
	}
	OSPolicy_Resource_PackageResource_DesiredState_value = map[string]int32{
		"DESIRED_STATE_UNSPECIFIED": 0,
		"INSTALLED":                 1,
		"REMOVED":                   2,
	}
)

Enum value maps for OSPolicy_Resource_PackageResource_DesiredState.

OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_name, OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_value

var (
	OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_name = map[int32]string{
		0: "ARCHIVE_TYPE_UNSPECIFIED",
		1: "DEB",
		2: "DEB_SRC",
	}
	OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_value = map[string]int32{
		"ARCHIVE_TYPE_UNSPECIFIED": 0,
		"DEB":                      1,
		"DEB_SRC":                  2,
	}
)

Enum value maps for OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.

OSPolicy_Resource_ExecResource_Exec_Interpreter_name, OSPolicy_Resource_ExecResource_Exec_Interpreter_value

var (
	OSPolicy_Resource_ExecResource_Exec_Interpreter_name = map[int32]string{
		0: "INTERPRETER_UNSPECIFIED",
		1: "NONE",
		2: "SHELL",
		3: "POWERSHELL",
	}
	OSPolicy_Resource_ExecResource_Exec_Interpreter_value = map[string]int32{
		"INTERPRETER_UNSPECIFIED": 0,
		"NONE":                    1,
		"SHELL":                   2,
		"POWERSHELL":              3,
	}
)

Enum value maps for OSPolicy_Resource_ExecResource_Exec_Interpreter.

OSPolicy_Resource_FileResource_DesiredState_name, OSPolicy_Resource_FileResource_DesiredState_value

var (
	OSPolicy_Resource_FileResource_DesiredState_name = map[int32]string{
		0: "DESIRED_STATE_UNSPECIFIED",
		1: "PRESENT",
		2: "ABSENT",
		3: "CONTENTS_MATCH",
	}
	OSPolicy_Resource_FileResource_DesiredState_value = map[string]int32{
		"DESIRED_STATE_UNSPECIFIED": 0,
		"PRESENT":                   1,
		"ABSENT":                    2,
		"CONTENTS_MATCH":            3,
	}
)

Enum value maps for OSPolicy_Resource_FileResource_DesiredState.

PatchConfig_RebootConfig_name, PatchConfig_RebootConfig_value

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.

AptSettings_Type_name, AptSettings_Type_value

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.

WindowsUpdateSettings_Classification_name, WindowsUpdateSettings_Classification_value

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.

ExecStepConfig_Interpreter_name, ExecStepConfig_Interpreter_value

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

Enum value maps for ExecStepConfig_Interpreter.

TaskDirective_name, TaskDirective_value

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.

TaskType_name, TaskType_value

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

Enum value maps for TaskType.

ApplyPatchesTaskProgress_State_name, ApplyPatchesTaskProgress_State_value

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.

ApplyPatchesTaskOutput_State_name, ApplyPatchesTaskOutput_State_value

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.

ExecStepTaskProgress_State_name, ExecStepTaskProgress_State_value

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.

ExecStepTaskOutput_State_name, ExecStepTaskOutput_State_value

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.

ApplyConfigTaskProgress_State_name, ApplyConfigTaskProgress_State_value

var (
	ApplyConfigTaskProgress_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STARTED",
		2: "APPLYING_CONFIG",
	}
	ApplyConfigTaskProgress_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STARTED":           1,
		"APPLYING_CONFIG":   2,
	}
)

Enum value maps for ApplyConfigTaskProgress_State.

ApplyConfigTaskOutput_State_name, ApplyConfigTaskOutput_State_value

var (
	ApplyConfigTaskOutput_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
		3: "CANCELLED",
	}
	ApplyConfigTaskOutput_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"SUCCEEDED":         1,
		"FAILED":            2,
		"CANCELLED":         3,
	}
)

Enum value maps for ApplyConfigTaskOutput_State.

File_google_cloud_osconfig_agentendpoint_v1_agentendpoint_proto

var File_google_cloud_osconfig_agentendpoint_v1_agentendpoint_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_agentendpoint_v1_config_common_proto

var File_google_cloud_osconfig_agentendpoint_v1_config_common_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_agentendpoint_v1_inventory_proto

var File_google_cloud_osconfig_agentendpoint_v1_inventory_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_agentendpoint_v1_os_policy_proto

var File_google_cloud_osconfig_agentendpoint_v1_os_policy_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_agentendpoint_v1_patch_jobs_proto

var File_google_cloud_osconfig_agentendpoint_v1_patch_jobs_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_agentendpoint_v1_tasks_proto

var File_google_cloud_osconfig_agentendpoint_v1_tasks_proto protoreflect.FileDescriptor

Functions

func RegisterAgentEndpointServiceServer

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

AgentEndpointServiceClient

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

func NewAgentEndpointServiceClient(cc grpc.ClientConnInterface) AgentEndpointServiceClient

AgentEndpointServiceServer

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.

AgentEndpointService_ReceiveTaskNotificationClient

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

AgentEndpointService_ReceiveTaskNotificationServer

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

ApplyConfigTask

type ApplyConfigTask struct {

	// List of os policies to be applied for the instance.
	OsPolicies []*ApplyConfigTask_OSPolicy `protobuf:"bytes,1,rep,name=os_policies,json=osPolicies,proto3" json:"os_policies,omitempty"`
	// contains filtered or unexported fields
}

Message which instructs OS Config agent to apply the desired state configuration.

func (*ApplyConfigTask) Descriptor

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

Deprecated: Use ApplyConfigTask.ProtoReflect.Descriptor instead.

func (*ApplyConfigTask) GetOsPolicies

func (x *ApplyConfigTask) GetOsPolicies() []*ApplyConfigTask_OSPolicy

func (*ApplyConfigTask) ProtoMessage

func (*ApplyConfigTask) ProtoMessage()

func (*ApplyConfigTask) ProtoReflect

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

func (*ApplyConfigTask) Reset

func (x *ApplyConfigTask) Reset()

func (*ApplyConfigTask) String

func (x *ApplyConfigTask) String() string

ApplyConfigTaskOutput

type ApplyConfigTaskOutput struct {
	State ApplyConfigTaskOutput_State "" /* 136 byte string literal not displayed */

	OsPolicyResults []*ApplyConfigTaskOutput_OSPolicyResult `protobuf:"bytes,2,rep,name=os_policy_results,json=osPolicyResults,proto3" json:"os_policy_results,omitempty"`

}

Information reported from the agent regarding the output of the task of applying desired state configuration.

func (*ApplyConfigTaskOutput) Descriptor

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

Deprecated: Use ApplyConfigTaskOutput.ProtoReflect.Descriptor instead.

func (*ApplyConfigTaskOutput) GetOsPolicyResults

func (*ApplyConfigTaskOutput) GetState

func (*ApplyConfigTaskOutput) ProtoMessage

func (*ApplyConfigTaskOutput) ProtoMessage()

func (*ApplyConfigTaskOutput) ProtoReflect

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

func (*ApplyConfigTaskOutput) Reset

func (x *ApplyConfigTaskOutput) Reset()

func (*ApplyConfigTaskOutput) String

func (x *ApplyConfigTaskOutput) String() string

ApplyConfigTaskOutput_OSPolicyResult

type ApplyConfigTaskOutput_OSPolicyResult struct {
	OsPolicyId string `protobuf:"bytes,1,opt,name=os_policy_id,json=osPolicyId,proto3" json:"os_policy_id,omitempty"`

	OsPolicyAssignment string `protobuf:"bytes,2,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`

	OsPolicyResourceCompliances []*OSPolicyResourceCompliance "" /* 146 byte string literal not displayed */

}

Result of applying desired state config for an OS policy.

func (*ApplyConfigTaskOutput_OSPolicyResult) Descriptor

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

Deprecated: Use ApplyConfigTaskOutput_OSPolicyResult.ProtoReflect.Descriptor instead.

func (*ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyAssignment

func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyAssignment() string

func (*ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyId

func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyId() string

func (*ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyResourceCompliances

func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyResourceCompliances() []*OSPolicyResourceCompliance

func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoMessage

func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoMessage()

func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoReflect

func (*ApplyConfigTaskOutput_OSPolicyResult) Reset

func (*ApplyConfigTaskOutput_OSPolicyResult) String

ApplyConfigTaskOutput_State

type ApplyConfigTaskOutput_State int32

The final state of this task.

ApplyConfigTaskOutput_STATE_UNSPECIFIED, ApplyConfigTaskOutput_SUCCEEDED, ApplyConfigTaskOutput_FAILED, ApplyConfigTaskOutput_CANCELLED

const (
	// Unspecified is invalid.
	ApplyConfigTaskOutput_STATE_UNSPECIFIED ApplyConfigTaskOutput_State = 0
	// The apply config task completed successfully.
	ApplyConfigTaskOutput_SUCCEEDED ApplyConfigTaskOutput_State = 1
	// The apply config task failed.
	ApplyConfigTaskOutput_FAILED ApplyConfigTaskOutput_State = 2
	// The apply config task was cancelled.
	ApplyConfigTaskOutput_CANCELLED ApplyConfigTaskOutput_State = 3
)

func (ApplyConfigTaskOutput_State) Descriptor

func (ApplyConfigTaskOutput_State) Enum

func (ApplyConfigTaskOutput_State) EnumDescriptor

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

Deprecated: Use ApplyConfigTaskOutput_State.Descriptor instead.

func (ApplyConfigTaskOutput_State) Number

func (ApplyConfigTaskOutput_State) String

func (ApplyConfigTaskOutput_State) Type

ApplyConfigTaskProgress

type ApplyConfigTaskProgress struct {
	State ApplyConfigTaskProgress_State "" /* 138 byte string literal not displayed */

}

Information reported from the agent regarding the progress of the task of applying desired state configuration.

func (*ApplyConfigTaskProgress) Descriptor

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

Deprecated: Use ApplyConfigTaskProgress.ProtoReflect.Descriptor instead.

func (*ApplyConfigTaskProgress) GetState

func (*ApplyConfigTaskProgress) ProtoMessage

func (*ApplyConfigTaskProgress) ProtoMessage()

func (*ApplyConfigTaskProgress) ProtoReflect

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

func (*ApplyConfigTaskProgress) Reset

func (x *ApplyConfigTaskProgress) Reset()

func (*ApplyConfigTaskProgress) String

func (x *ApplyConfigTaskProgress) String() string

ApplyConfigTaskProgress_State

type ApplyConfigTaskProgress_State int32

The intermediate states of apply config task.

ApplyConfigTaskProgress_STATE_UNSPECIFIED, ApplyConfigTaskProgress_STARTED, ApplyConfigTaskProgress_APPLYING_CONFIG

const (
	// Invalid state
	ApplyConfigTaskProgress_STATE_UNSPECIFIED ApplyConfigTaskProgress_State = 0
	// The agent has started the task.
	ApplyConfigTaskProgress_STARTED ApplyConfigTaskProgress_State = 1
	// The agent is in the process of applying the configuration.
	ApplyConfigTaskProgress_APPLYING_CONFIG ApplyConfigTaskProgress_State = 2
)

func (ApplyConfigTaskProgress_State) Descriptor

func (ApplyConfigTaskProgress_State) Enum

func (ApplyConfigTaskProgress_State) EnumDescriptor

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

Deprecated: Use ApplyConfigTaskProgress_State.Descriptor instead.

func (ApplyConfigTaskProgress_State) Number

func (ApplyConfigTaskProgress_State) String

func (ApplyConfigTaskProgress_State) Type

ApplyConfigTask_OSPolicy

type ApplyConfigTask_OSPolicy struct {

	// User provided policy id.
	// Used for reporting and logging by the agent.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The policy mode
	Mode OSPolicy_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.cloud.osconfig.agentendpoint.v1.OSPolicy_Mode" json:"mode,omitempty"`
	// Reference to the `OSPolicyAssignment` API resource that this `OSPolicy`
	// belongs to.
	// Format:
	// projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
	// Used for reporting and logging by the agent.
	OsPolicyAssignment string `protobuf:"bytes,3,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
	// List of resources associated with the policy to be set to their
	// desired state.
	Resources []*OSPolicy_Resource `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

Message representing an OS policy.

func (*ApplyConfigTask_OSPolicy) Descriptor

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

Deprecated: Use ApplyConfigTask_OSPolicy.ProtoReflect.Descriptor instead.

func (*ApplyConfigTask_OSPolicy) GetId

func (x *ApplyConfigTask_OSPolicy) GetId() string

func (*ApplyConfigTask_OSPolicy) GetMode

func (*ApplyConfigTask_OSPolicy) GetOsPolicyAssignment

func (x *ApplyConfigTask_OSPolicy) GetOsPolicyAssignment() string

func (*ApplyConfigTask_OSPolicy) GetResources

func (x *ApplyConfigTask_OSPolicy) GetResources() []*OSPolicy_Resource

func (*ApplyConfigTask_OSPolicy) ProtoMessage

func (*ApplyConfigTask_OSPolicy) ProtoMessage()

func (*ApplyConfigTask_OSPolicy) ProtoReflect

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

func (*ApplyConfigTask_OSPolicy) Reset

func (x *ApplyConfigTask_OSPolicy) Reset()

func (*ApplyConfigTask_OSPolicy) String

func (x *ApplyConfigTask_OSPolicy) String() string

ApplyPatchesTask

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

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

Deprecated: Use ApplyPatchesTask.ProtoReflect.Descriptor instead.

func (*ApplyPatchesTask) GetDryRun

func (x *ApplyPatchesTask) GetDryRun() bool

func (*ApplyPatchesTask) GetPatchConfig

func (x *ApplyPatchesTask) GetPatchConfig() *PatchConfig

func (*ApplyPatchesTask) ProtoMessage

func (*ApplyPatchesTask) ProtoMessage()

func (*ApplyPatchesTask) ProtoReflect

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

func (*ApplyPatchesTask) Reset

func (x *ApplyPatchesTask) Reset()

func (*ApplyPatchesTask) String

func (x *ApplyPatchesTask) String() string

ApplyPatchesTaskOutput

type ApplyPatchesTaskOutput struct {
	State ApplyPatchesTaskOutput_State "" /* 137 byte string literal not displayed */

}

Information reported from the agent about applying patches execution.

func (*ApplyPatchesTaskOutput) Descriptor

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

Deprecated: Use ApplyPatchesTaskOutput.ProtoReflect.Descriptor instead.

func (*ApplyPatchesTaskOutput) GetState

func (*ApplyPatchesTaskOutput) ProtoMessage

func (*ApplyPatchesTaskOutput) ProtoMessage()

func (*ApplyPatchesTaskOutput) ProtoReflect

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

func (*ApplyPatchesTaskOutput) Reset

func (x *ApplyPatchesTaskOutput) Reset()

func (*ApplyPatchesTaskOutput) String

func (x *ApplyPatchesTaskOutput) String() string

ApplyPatchesTaskOutput_State

type ApplyPatchesTaskOutput_State int32

The final states of applying patches.

ApplyPatchesTaskOutput_STATE_UNSPECIFIED, ApplyPatchesTaskOutput_SUCCEEDED, ApplyPatchesTaskOutput_SUCCEEDED_REBOOT_REQUIRED, ApplyPatchesTaskOutput_FAILED

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

func (ApplyPatchesTaskOutput_State) Enum

func (ApplyPatchesTaskOutput_State) EnumDescriptor

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

Deprecated: Use ApplyPatchesTaskOutput_State.Descriptor instead.

func (ApplyPatchesTaskOutput_State) Number

func (ApplyPatchesTaskOutput_State) String

func (ApplyPatchesTaskOutput_State) Type

ApplyPatchesTaskProgress

type ApplyPatchesTaskProgress struct {
	State ApplyPatchesTaskProgress_State "" /* 139 byte string literal not displayed */

}

Information reported from the agent about applying patches execution.

func (*ApplyPatchesTaskProgress) Descriptor

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

Deprecated: Use ApplyPatchesTaskProgress.ProtoReflect.Descriptor instead.

func (*ApplyPatchesTaskProgress) GetState

func (*ApplyPatchesTaskProgress) ProtoMessage

func (*ApplyPatchesTaskProgress) ProtoMessage()

func (*ApplyPatchesTaskProgress) ProtoReflect

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

func (*ApplyPatchesTaskProgress) Reset

func (x *ApplyPatchesTaskProgress) Reset()

func (*ApplyPatchesTaskProgress) String

func (x *ApplyPatchesTaskProgress) String() string

ApplyPatchesTaskProgress_State

type ApplyPatchesTaskProgress_State int32

The intermediate states of applying patches.

ApplyPatchesTaskProgress_STATE_UNSPECIFIED, ApplyPatchesTaskProgress_STARTED, ApplyPatchesTaskProgress_DOWNLOADING_PATCHES, ApplyPatchesTaskProgress_APPLYING_PATCHES, ApplyPatchesTaskProgress_REBOOTING

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 instance.
	ApplyPatchesTaskProgress_REBOOTING ApplyPatchesTaskProgress_State = 3
)

func (ApplyPatchesTaskProgress_State) Descriptor

func (ApplyPatchesTaskProgress_State) Enum

func (ApplyPatchesTaskProgress_State) EnumDescriptor

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

Deprecated: Use ApplyPatchesTaskProgress_State.Descriptor instead.

func (ApplyPatchesTaskProgress_State) Number

func (ApplyPatchesTaskProgress_State) String

func (ApplyPatchesTaskProgress_State) Type

AptSettings

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

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

Deprecated: Use AptSettings.ProtoReflect.Descriptor instead.

func (*AptSettings) GetExcludes

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

func (*AptSettings) GetExclusivePackages

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

func (*AptSettings) GetType

func (x *AptSettings) GetType() AptSettings_Type

func (*AptSettings) ProtoMessage

func (*AptSettings) ProtoMessage()

func (*AptSettings) ProtoReflect

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

func (*AptSettings) Reset

func (x *AptSettings) Reset()

func (*AptSettings) String

func (x *AptSettings) String() string

AptSettings_Type

type AptSettings_Type int32

Apt patch type.

AptSettings_TYPE_UNSPECIFIED, AptSettings_DIST, AptSettings_UPGRADE

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

func (AptSettings_Type) Enum

func (AptSettings_Type) EnumDescriptor

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

Deprecated: Use AptSettings_Type.Descriptor instead.

func (AptSettings_Type) Number

func (AptSettings_Type) String

func (x AptSettings_Type) String() string

func (AptSettings_Type) Type

ExecStep

type ExecStep struct {
	LinuxExecStepConfig *ExecStepConfig `protobuf:"bytes,1,opt,name=linux_exec_step_config,json=linuxExecStepConfig,proto3" json:"linux_exec_step_config,omitempty"`

	WindowsExecStepConfig *ExecStepConfig "" /* 128 byte string literal not displayed */

}

A step that runs an executable for a PatchJob.

func (*ExecStep) Descriptor

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

Deprecated: Use ExecStep.ProtoReflect.Descriptor instead.

func (*ExecStep) GetLinuxExecStepConfig

func (x *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig

func (*ExecStep) GetWindowsExecStepConfig

func (x *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig

func (*ExecStep) ProtoMessage

func (*ExecStep) ProtoMessage()

func (*ExecStep) ProtoReflect

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

func (*ExecStep) Reset

func (x *ExecStep) Reset()

func (*ExecStep) String

func (x *ExecStep) String() string

ExecStepConfig

type ExecStepConfig struct {
	Executable isExecStepConfig_Executable `protobuf_oneof:"executable"`

	AllowedSuccessCodes []int32 "" /* 128 byte string literal not displayed */

	Interpreter ExecStepConfig_Interpreter "" /* 147 byte string literal not displayed */

}

Common configurations for an ExecStep.

func (*ExecStepConfig) Descriptor

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

Deprecated: Use ExecStepConfig.ProtoReflect.Descriptor instead.

func (*ExecStepConfig) GetAllowedSuccessCodes

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

func (*ExecStepConfig) GetExecutable

func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable

func (*ExecStepConfig) GetGcsObject

func (x *ExecStepConfig) GetGcsObject() *GcsObject

func (*ExecStepConfig) GetInterpreter

func (x *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter

func (*ExecStepConfig) GetLocalPath

func (x *ExecStepConfig) GetLocalPath() string

func (*ExecStepConfig) ProtoMessage

func (*ExecStepConfig) ProtoMessage()

func (*ExecStepConfig) ProtoReflect

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

func (*ExecStepConfig) Reset

func (x *ExecStepConfig) Reset()

func (*ExecStepConfig) String

func (x *ExecStepConfig) String() string

ExecStepConfig_GcsObject

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

ExecStepConfig_Interpreter

type ExecStepConfig_Interpreter int32

The interpreter used to execute the a file.

ExecStepConfig_INTERPRETER_UNSPECIFIED, ExecStepConfig_NONE, ExecStepConfig_SHELL, ExecStepConfig_POWERSHELL

const (
	// Deprecated, defaults to NONE for compatibility reasons.
	ExecStepConfig_INTERPRETER_UNSPECIFIED ExecStepConfig_Interpreter = 0
	// Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
	// interpreter will be parsed from the shebang line of the script if
	// unspecified.
	ExecStepConfig_NONE ExecStepConfig_Interpreter = 3
	// 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

func (ExecStepConfig_Interpreter) Enum

func (ExecStepConfig_Interpreter) EnumDescriptor

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

Deprecated: Use ExecStepConfig_Interpreter.Descriptor instead.

func (ExecStepConfig_Interpreter) Number

func (ExecStepConfig_Interpreter) String

func (ExecStepConfig_Interpreter) Type

ExecStepConfig_LocalPath

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"`
}

ExecStepTask

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

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

Deprecated: Use ExecStepTask.ProtoReflect.Descriptor instead.

func (*ExecStepTask) GetExecStep

func (x *ExecStepTask) GetExecStep() *ExecStep

func (*ExecStepTask) ProtoMessage

func (*ExecStepTask) ProtoMessage()

func (*ExecStepTask) ProtoReflect

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

func (*ExecStepTask) Reset

func (x *ExecStepTask) Reset()

func (*ExecStepTask) String

func (x *ExecStepTask) String() string

ExecStepTaskOutput

type ExecStepTaskOutput struct {
	State ExecStepTaskOutput_State "" /* 133 byte string literal not displayed */

	ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`

}

Information reported from the agent about the exec step execution.

func (*ExecStepTaskOutput) Descriptor

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

Deprecated: Use ExecStepTaskOutput.ProtoReflect.Descriptor instead.

func (*ExecStepTaskOutput) GetExitCode

func (x *ExecStepTaskOutput) GetExitCode() int32

func (*ExecStepTaskOutput) GetState

func (*ExecStepTaskOutput) ProtoMessage

func (*ExecStepTaskOutput) ProtoMessage()

func (*ExecStepTaskOutput) ProtoReflect

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

func (*ExecStepTaskOutput) Reset

func (x *ExecStepTaskOutput) Reset()

func (*ExecStepTaskOutput) String

func (x *ExecStepTaskOutput) String() string

ExecStepTaskOutput_State

type ExecStepTaskOutput_State int32

The final states of exec steps.

ExecStepTaskOutput_STATE_UNSPECIFIED, ExecStepTaskOutput_COMPLETED, ExecStepTaskOutput_TIMED_OUT, ExecStepTaskOutput_CANCELLED

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

func (ExecStepTaskOutput_State) Enum

func (ExecStepTaskOutput_State) EnumDescriptor

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

Deprecated: Use ExecStepTaskOutput_State.Descriptor instead.

func (ExecStepTaskOutput_State) Number

func (ExecStepTaskOutput_State) String

func (x ExecStepTaskOutput_State) String() string

func (ExecStepTaskOutput_State) Type

ExecStepTaskProgress

type ExecStepTaskProgress struct {
	State ExecStepTaskProgress_State "" /* 135 byte string literal not displayed */

}

Information reported from the agent about the exec step execution.

func (*ExecStepTaskProgress) Descriptor

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

Deprecated: Use ExecStepTaskProgress.ProtoReflect.Descriptor instead.

func (*ExecStepTaskProgress) GetState

func (*ExecStepTaskProgress) ProtoMessage

func (*ExecStepTaskProgress) ProtoMessage()

func (*ExecStepTaskProgress) ProtoReflect

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

func (*ExecStepTaskProgress) Reset

func (x *ExecStepTaskProgress) Reset()

func (*ExecStepTaskProgress) String

func (x *ExecStepTaskProgress) String() string

ExecStepTaskProgress_State

type ExecStepTaskProgress_State int32

The intermediate states of exec steps.

ExecStepTaskProgress_STATE_UNSPECIFIED, ExecStepTaskProgress_STARTED

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

func (ExecStepTaskProgress_State) Enum

func (ExecStepTaskProgress_State) EnumDescriptor

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

Deprecated: Use ExecStepTaskProgress_State.Descriptor instead.

func (ExecStepTaskProgress_State) Number

func (ExecStepTaskProgress_State) String

func (ExecStepTaskProgress_State) Type

GcsObject

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

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

Deprecated: Use GcsObject.ProtoReflect.Descriptor instead.

func (*GcsObject) GetBucket

func (x *GcsObject) GetBucket() string

func (*GcsObject) GetGenerationNumber

func (x *GcsObject) GetGenerationNumber() int64

func (*GcsObject) GetObject

func (x *GcsObject) GetObject() string

func (*GcsObject) ProtoMessage

func (*GcsObject) ProtoMessage()

func (*GcsObject) ProtoReflect

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

func (*GcsObject) Reset

func (x *GcsObject) Reset()

func (*GcsObject) String

func (x *GcsObject) String() string

GooSettings

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

Googet patching is performed by running googet update.

func (*GooSettings) Descriptor

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

Deprecated: Use GooSettings.ProtoReflect.Descriptor instead.

func (*GooSettings) ProtoMessage

func (*GooSettings) ProtoMessage()

func (*GooSettings) ProtoReflect

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

func (*GooSettings) Reset

func (x *GooSettings) Reset()

func (*GooSettings) String

func (x *GooSettings) String() string

Inventory

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

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

Deprecated: Use Inventory.ProtoReflect.Descriptor instead.

func (*Inventory) GetAvailablePackages

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

func (*Inventory) GetInstalledPackages

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

func (*Inventory) GetOsInfo

func (x *Inventory) GetOsInfo() *Inventory_OsInfo

func (*Inventory) ProtoMessage

func (*Inventory) ProtoMessage()

func (*Inventory) ProtoReflect

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

func (*Inventory) Reset

func (x *Inventory) Reset()

func (*Inventory) String

func (x *Inventory) String() string

Inventory_OsInfo

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

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

Deprecated: Use Inventory_OsInfo.ProtoReflect.Descriptor instead.

func (*Inventory_OsInfo) GetArchitecture

func (x *Inventory_OsInfo) GetArchitecture() string

func (*Inventory_OsInfo) GetHostname

func (x *Inventory_OsInfo) GetHostname() string

func (*Inventory_OsInfo) GetKernelRelease

func (x *Inventory_OsInfo) GetKernelRelease() string

func (*Inventory_OsInfo) GetKernelVersion

func (x *Inventory_OsInfo) GetKernelVersion() string

func (*Inventory_OsInfo) GetLongName

func (x *Inventory_OsInfo) GetLongName() string

func (*Inventory_OsInfo) GetOsconfigAgentVersion

func (x *Inventory_OsInfo) GetOsconfigAgentVersion() string

func (*Inventory_OsInfo) GetShortName

func (x *Inventory_OsInfo) GetShortName() string

func (*Inventory_OsInfo) GetVersion

func (x *Inventory_OsInfo) GetVersion() string

func (*Inventory_OsInfo) ProtoMessage

func (*Inventory_OsInfo) ProtoMessage()

func (*Inventory_OsInfo) ProtoReflect

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

func (*Inventory_OsInfo) Reset

func (x *Inventory_OsInfo) Reset()

func (*Inventory_OsInfo) String

func (x *Inventory_OsInfo) String() string

Inventory_SoftwarePackage

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
	//	*Inventory_SoftwarePackage_WindowsApplication
	Details isInventory_SoftwarePackage_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

Software package information of the operating system.

func (*Inventory_SoftwarePackage) Descriptor

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

Deprecated: Use Inventory_SoftwarePackage.ProtoReflect.Descriptor instead.

func (*Inventory_SoftwarePackage) GetAptPackage

func (*Inventory_SoftwarePackage) GetCosPackage

func (*Inventory_SoftwarePackage) GetDetails

func (m *Inventory_SoftwarePackage) GetDetails() isInventory_SoftwarePackage_Details

func (*Inventory_SoftwarePackage) GetGoogetPackage

func (*Inventory_SoftwarePackage) GetQfePackage

func (*Inventory_SoftwarePackage) GetWindowsApplication

func (x *Inventory_SoftwarePackage) GetWindowsApplication() *Inventory_WindowsApplication

func (*Inventory_SoftwarePackage) GetWuaPackage

func (*Inventory_SoftwarePackage) GetYumPackage

func (*Inventory_SoftwarePackage) GetZypperPackage

func (*Inventory_SoftwarePackage) GetZypperPatch

func (x *Inventory_SoftwarePackage) GetZypperPatch() *Inventory_ZypperPatch

func (*Inventory_SoftwarePackage) ProtoMessage

func (*Inventory_SoftwarePackage) ProtoMessage()

func (*Inventory_SoftwarePackage) ProtoReflect

func (*Inventory_SoftwarePackage) Reset

func (x *Inventory_SoftwarePackage) Reset()

func (*Inventory_SoftwarePackage) String

func (x *Inventory_SoftwarePackage) String() string

Inventory_SoftwarePackage_AptPackage

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"`
}

Inventory_SoftwarePackage_CosPackage

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

Inventory_SoftwarePackage_GoogetPackage

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"`
}

Inventory_SoftwarePackage_QfePackage

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"`
}

Inventory_SoftwarePackage_WindowsApplication

type Inventory_SoftwarePackage_WindowsApplication struct {
	// Details of Windows Application.
	WindowsApplication *Inventory_WindowsApplication `protobuf:"bytes,9,opt,name=windows_application,json=windowsApplication,proto3,oneof"`
}

Inventory_SoftwarePackage_WuaPackage

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"`
}

Inventory_SoftwarePackage_YumPackage

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"`
}

Inventory_SoftwarePackage_ZypperPackage

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"`
}

Inventory_SoftwarePackage_ZypperPatch

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"`
}

Inventory_VersionedPackage

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

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

Deprecated: Use Inventory_VersionedPackage.ProtoReflect.Descriptor instead.

func (*Inventory_VersionedPackage) GetArchitecture

func (x *Inventory_VersionedPackage) GetArchitecture() string

func (*Inventory_VersionedPackage) GetPackageName

func (x *Inventory_VersionedPackage) GetPackageName() string

func (*Inventory_VersionedPackage) GetVersion

func (x *Inventory_VersionedPackage) GetVersion() string

func (*Inventory_VersionedPackage) ProtoMessage

func (*Inventory_VersionedPackage) ProtoMessage()

func (*Inventory_VersionedPackage) ProtoReflect

func (*Inventory_VersionedPackage) Reset

func (x *Inventory_VersionedPackage) Reset()

func (*Inventory_VersionedPackage) String

func (x *Inventory_VersionedPackage) String() string

Inventory_WindowsApplication

type Inventory_WindowsApplication struct {

	// DisplayName field from Windows Registry.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// DisplayVersion field from Windows Registry.
	DisplayVersion string `protobuf:"bytes,2,opt,name=display_version,json=displayVersion,proto3" json:"display_version,omitempty"`
	// Publisher field from Windows Registry.
	Publisher string `protobuf:"bytes,3,opt,name=publisher,proto3" json:"publisher,omitempty"`
	// Installation date field from Windows Registry.
	InstallDate *date.Date `protobuf:"bytes,4,opt,name=install_date,json=installDate,proto3" json:"install_date,omitempty"`
	// HelpLink field from Windows Registry.
	HelpLink string `protobuf:"bytes,5,opt,name=help_link,json=helpLink,proto3" json:"help_link,omitempty"`
	// contains filtered or unexported fields
}

Details about Windows Application - based on Windows Registry. All fields in this message are taken from: https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key

func (*Inventory_WindowsApplication) Descriptor

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

Deprecated: Use Inventory_WindowsApplication.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsApplication) GetDisplayName

func (x *Inventory_WindowsApplication) GetDisplayName() string

func (*Inventory_WindowsApplication) GetDisplayVersion

func (x *Inventory_WindowsApplication) GetDisplayVersion() string
func (x *Inventory_WindowsApplication) GetHelpLink() string

func (*Inventory_WindowsApplication) GetInstallDate

func (x *Inventory_WindowsApplication) GetInstallDate() *date.Date

func (*Inventory_WindowsApplication) GetPublisher

func (x *Inventory_WindowsApplication) GetPublisher() string

func (*Inventory_WindowsApplication) ProtoMessage

func (*Inventory_WindowsApplication) ProtoMessage()

func (*Inventory_WindowsApplication) ProtoReflect

func (*Inventory_WindowsApplication) Reset

func (x *Inventory_WindowsApplication) Reset()

func (*Inventory_WindowsApplication) String

Inventory_WindowsQuickFixEngineeringPackage

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 *timestamp.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

Deprecated: Use Inventory_WindowsQuickFixEngineeringPackage.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsQuickFixEngineeringPackage) GetCaption

func (*Inventory_WindowsQuickFixEngineeringPackage) GetDescription

func (*Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId

func (*Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime

func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoMessage

func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoReflect

func (*Inventory_WindowsQuickFixEngineeringPackage) Reset

func (*Inventory_WindowsQuickFixEngineeringPackage) String

Inventory_WindowsUpdatePackage

type Inventory_WindowsUpdatePackage struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`

	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`

	Categories []*Inventory_WindowsUpdatePackage_WindowsUpdateCategory `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"`

	KbArticleIds []string `protobuf:"bytes,4,rep,name=kb_article_ids,json=kbArticleIds,proto3" json:"kb_article_ids,omitempty"`

	SupportUrl string `protobuf:"bytes,5,opt,name=support_url,json=supportUrl,proto3" json:"support_url,omitempty"`

	MoreInfoUrls []string `protobuf:"bytes,6,rep,name=more_info_urls,json=moreInfoUrls,proto3" json:"more_info_urls,omitempty"`

	UpdateId string `protobuf:"bytes,7,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`

	RevisionNumber int32 `protobuf:"varint,8,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`

	LastDeploymentChangeTime *timestamp.Timestamp "" /* 137 byte string literal not displayed */

}

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

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

Deprecated: Use Inventory_WindowsUpdatePackage.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsUpdatePackage) GetCategories

func (*Inventory_WindowsUpdatePackage) GetDescription

func (x *Inventory_WindowsUpdatePackage) GetDescription() string

func (*Inventory_WindowsUpdatePackage) GetKbArticleIds

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

func (*Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime

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

func (*Inventory_WindowsUpdatePackage) GetMoreInfoUrls

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

func (*Inventory_WindowsUpdatePackage) GetRevisionNumber

func (x *Inventory_WindowsUpdatePackage) GetRevisionNumber() int32

func (*Inventory_WindowsUpdatePackage) GetSupportUrl

func (x *Inventory_WindowsUpdatePackage) GetSupportUrl() string

func (*Inventory_WindowsUpdatePackage) GetTitle

func (x *Inventory_WindowsUpdatePackage) GetTitle() string

func (*Inventory_WindowsUpdatePackage) GetUpdateId

func (x *Inventory_WindowsUpdatePackage) GetUpdateId() string

func (*Inventory_WindowsUpdatePackage) ProtoMessage

func (*Inventory_WindowsUpdatePackage) ProtoMessage()

func (*Inventory_WindowsUpdatePackage) ProtoReflect

func (*Inventory_WindowsUpdatePackage) Reset

func (x *Inventory_WindowsUpdatePackage) Reset()

func (*Inventory_WindowsUpdatePackage) String

Inventory_WindowsUpdatePackage_WindowsUpdateCategory

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

Deprecated: Use Inventory_WindowsUpdatePackage_WindowsUpdateCategory.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetId

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetName

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoMessage

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoReflect

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Reset

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) String

Inventory_ZypperPatch

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

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

Deprecated: Use Inventory_ZypperPatch.ProtoReflect.Descriptor instead.

func (*Inventory_ZypperPatch) GetCategory

func (x *Inventory_ZypperPatch) GetCategory() string

func (*Inventory_ZypperPatch) GetPatchName

func (x *Inventory_ZypperPatch) GetPatchName() string

func (*Inventory_ZypperPatch) GetSeverity

func (x *Inventory_ZypperPatch) GetSeverity() string

func (*Inventory_ZypperPatch) GetSummary

func (x *Inventory_ZypperPatch) GetSummary() string

func (*Inventory_ZypperPatch) ProtoMessage

func (*Inventory_ZypperPatch) ProtoMessage()

func (*Inventory_ZypperPatch) ProtoReflect

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

func (*Inventor