Package cloud.google.com/go/osconfig/apiv1/osconfigpb (v1.12.6)

Variables

InventoryView_name, InventoryView_value

var (
	InventoryView_name = map[int32]string{
		0: "INVENTORY_VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "FULL",
	}
	InventoryView_value = map[string]int32{
		"INVENTORY_VIEW_UNSPECIFIED": 0,
		"BASIC":                      1,
		"FULL":                       2,
	}
)

Enum value maps for InventoryView.

Inventory_Item_OriginType_name, Inventory_Item_OriginType_value

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

Enum value maps for Inventory_Item_OriginType.

Inventory_Item_Type_name, Inventory_Item_Type_value

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

Enum value maps for Inventory_Item_Type.

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.

OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState_name, OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState_value

var (
	OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState_name = map[int32]string{
		0: "UNKNOWN",
		1: "COMPLIANT",
		2: "NON_COMPLIANT",
	}
	OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState_value = map[string]int32{
		"UNKNOWN":       0,
		"COMPLIANT":     1,
		"NON_COMPLIANT": 2,
	}
)

Enum value maps for OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState.

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState_name, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState_value

var (
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState_name = map[int32]string{
		0: "UNKNOWN",
		1: "COMPLIANT",
		2: "NON_COMPLIANT",
	}
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState_value = map[string]int32{
		"UNKNOWN":       0,
		"COMPLIANT":     1,
		"NON_COMPLIANT": 2,
	}
)

Enum value maps for OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState.

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type_name, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type_value

var (
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_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",
	}
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_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 OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type.

OSPolicyAssignment_RolloutState_name, OSPolicyAssignment_RolloutState_value

var (
	OSPolicyAssignment_RolloutState_name = map[int32]string{
		0: "ROLLOUT_STATE_UNSPECIFIED",
		1: "IN_PROGRESS",
		2: "CANCELLING",
		3: "CANCELLED",
		4: "SUCCEEDED",
	}
	OSPolicyAssignment_RolloutState_value = map[string]int32{
		"ROLLOUT_STATE_UNSPECIFIED": 0,
		"IN_PROGRESS":               1,
		"CANCELLING":                2,
		"CANCELLED":                 3,
		"SUCCEEDED":                 4,
	}
)

Enum value maps for OSPolicyAssignment_RolloutState.

OSPolicyAssignmentOperationMetadata_APIMethod_name, OSPolicyAssignmentOperationMetadata_APIMethod_value

var (
	OSPolicyAssignmentOperationMetadata_APIMethod_name = map[int32]string{
		0: "API_METHOD_UNSPECIFIED",
		1: "CREATE",
		2: "UPDATE",
		3: "DELETE",
	}
	OSPolicyAssignmentOperationMetadata_APIMethod_value = map[string]int32{
		"API_METHOD_UNSPECIFIED": 0,
		"CREATE":                 1,
		"UPDATE":                 2,
		"DELETE":                 3,
	}
)

Enum value maps for OSPolicyAssignmentOperationMetadata_APIMethod.

OSPolicyAssignmentOperationMetadata_RolloutState_name, OSPolicyAssignmentOperationMetadata_RolloutState_value

var (
	OSPolicyAssignmentOperationMetadata_RolloutState_name = map[int32]string{
		0: "ROLLOUT_STATE_UNSPECIFIED",
		1: "IN_PROGRESS",
		2: "CANCELLING",
		3: "CANCELLED",
		4: "SUCCEEDED",
	}
	OSPolicyAssignmentOperationMetadata_RolloutState_value = map[string]int32{
		"ROLLOUT_STATE_UNSPECIFIED": 0,
		"IN_PROGRESS":               1,
		"CANCELLING":                2,
		"CANCELLED":                 3,
		"SUCCEEDED":                 4,
	}
)

Enum value maps for OSPolicyAssignmentOperationMetadata_RolloutState.

PatchDeployment_State_name, PatchDeployment_State_value

var (
	PatchDeployment_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "PAUSED",
	}
	PatchDeployment_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"PAUSED":            2,
	}
)

Enum value maps for PatchDeployment_State.

RecurringSchedule_Frequency_name, RecurringSchedule_Frequency_value

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

Enum value maps for RecurringSchedule_Frequency.

PatchJob_State_name, PatchJob_State_value

var (
	PatchJob_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STARTED",
		2: "INSTANCE_LOOKUP",
		3: "PATCHING",
		4: "SUCCEEDED",
		5: "COMPLETED_WITH_ERRORS",
		6: "CANCELED",
		7: "TIMED_OUT",
	}
	PatchJob_State_value = map[string]int32{
		"STATE_UNSPECIFIED":     0,
		"STARTED":               1,
		"INSTANCE_LOOKUP":       2,
		"PATCHING":              3,
		"SUCCEEDED":             4,
		"COMPLETED_WITH_ERRORS": 5,
		"CANCELED":              6,
		"TIMED_OUT":             7,
	}
)

Enum value maps for PatchJob_State.

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.

Instance_PatchState_name, Instance_PatchState_value

var (
	Instance_PatchState_name = map[int32]string{
		0:  "PATCH_STATE_UNSPECIFIED",
		1:  "PENDING",
		2:  "INACTIVE",
		3:  "NOTIFIED",
		4:  "STARTED",
		5:  "DOWNLOADING_PATCHES",
		6:  "APPLYING_PATCHES",
		7:  "REBOOTING",
		8:  "SUCCEEDED",
		9:  "SUCCEEDED_REBOOT_REQUIRED",
		10: "FAILED",
		11: "ACKED",
		12: "TIMED_OUT",
		13: "RUNNING_PRE_PATCH_STEP",
		14: "RUNNING_POST_PATCH_STEP",
		15: "NO_AGENT_DETECTED",
	}
	Instance_PatchState_value = map[string]int32{
		"PATCH_STATE_UNSPECIFIED":   0,
		"PENDING":                   1,
		"INACTIVE":                  2,
		"NOTIFIED":                  3,
		"STARTED":                   4,
		"DOWNLOADING_PATCHES":       5,
		"APPLYING_PATCHES":          6,
		"REBOOTING":                 7,
		"SUCCEEDED":                 8,
		"SUCCEEDED_REBOOT_REQUIRED": 9,
		"FAILED":                    10,
		"ACKED":                     11,
		"TIMED_OUT":                 12,
		"RUNNING_PRE_PATCH_STEP":    13,
		"RUNNING_POST_PATCH_STEP":   14,
		"NO_AGENT_DETECTED":         15,
	}
)

Enum value maps for Instance_PatchState.

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",
		1: "SHELL",
		2: "POWERSHELL",
	}
	ExecStepConfig_Interpreter_value = map[string]int32{
		"INTERPRETER_UNSPECIFIED": 0,
		"SHELL":                   1,
		"POWERSHELL":              2,
	}
)

Enum value maps for ExecStepConfig_Interpreter.

PatchRollout_Mode_name, PatchRollout_Mode_value

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

Enum value maps for PatchRollout_Mode.

CVSSv3_AttackVector_name, CVSSv3_AttackVector_value

var (
	CVSSv3_AttackVector_name = map[int32]string{
		0: "ATTACK_VECTOR_UNSPECIFIED",
		1: "ATTACK_VECTOR_NETWORK",
		2: "ATTACK_VECTOR_ADJACENT",
		3: "ATTACK_VECTOR_LOCAL",
		4: "ATTACK_VECTOR_PHYSICAL",
	}
	CVSSv3_AttackVector_value = map[string]int32{
		"ATTACK_VECTOR_UNSPECIFIED": 0,
		"ATTACK_VECTOR_NETWORK":     1,
		"ATTACK_VECTOR_ADJACENT":    2,
		"ATTACK_VECTOR_LOCAL":       3,
		"ATTACK_VECTOR_PHYSICAL":    4,
	}
)

Enum value maps for CVSSv3_AttackVector.

CVSSv3_AttackComplexity_name, CVSSv3_AttackComplexity_value

var (
	CVSSv3_AttackComplexity_name = map[int32]string{
		0: "ATTACK_COMPLEXITY_UNSPECIFIED",
		1: "ATTACK_COMPLEXITY_LOW",
		2: "ATTACK_COMPLEXITY_HIGH",
	}
	CVSSv3_AttackComplexity_value = map[string]int32{
		"ATTACK_COMPLEXITY_UNSPECIFIED": 0,
		"ATTACK_COMPLEXITY_LOW":         1,
		"ATTACK_COMPLEXITY_HIGH":        2,
	}
)

Enum value maps for CVSSv3_AttackComplexity.

CVSSv3_PrivilegesRequired_name, CVSSv3_PrivilegesRequired_value

var (
	CVSSv3_PrivilegesRequired_name = map[int32]string{
		0: "PRIVILEGES_REQUIRED_UNSPECIFIED",
		1: "PRIVILEGES_REQUIRED_NONE",
		2: "PRIVILEGES_REQUIRED_LOW",
		3: "PRIVILEGES_REQUIRED_HIGH",
	}
	CVSSv3_PrivilegesRequired_value = map[string]int32{
		"PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
		"PRIVILEGES_REQUIRED_NONE":        1,
		"PRIVILEGES_REQUIRED_LOW":         2,
		"PRIVILEGES_REQUIRED_HIGH":        3,
	}
)

Enum value maps for CVSSv3_PrivilegesRequired.

CVSSv3_UserInteraction_name, CVSSv3_UserInteraction_value

var (
	CVSSv3_UserInteraction_name = map[int32]string{
		0: "USER_INTERACTION_UNSPECIFIED",
		1: "USER_INTERACTION_NONE",
		2: "USER_INTERACTION_REQUIRED",
	}
	CVSSv3_UserInteraction_value = map[string]int32{
		"USER_INTERACTION_UNSPECIFIED": 0,
		"USER_INTERACTION_NONE":        1,
		"USER_INTERACTION_REQUIRED":    2,
	}
)

Enum value maps for CVSSv3_UserInteraction.

CVSSv3_Scope_name, CVSSv3_Scope_value

var (
	CVSSv3_Scope_name = map[int32]string{
		0: "SCOPE_UNSPECIFIED",
		1: "SCOPE_UNCHANGED",
		2: "SCOPE_CHANGED",
	}
	CVSSv3_Scope_value = map[string]int32{
		"SCOPE_UNSPECIFIED": 0,
		"SCOPE_UNCHANGED":   1,
		"SCOPE_CHANGED":     2,
	}
)

Enum value maps for CVSSv3_Scope.

CVSSv3_Impact_name, CVSSv3_Impact_value

var (
	CVSSv3_Impact_name = map[int32]string{
		0: "IMPACT_UNSPECIFIED",
		1: "IMPACT_HIGH",
		2: "IMPACT_LOW",
		3: "IMPACT_NONE",
	}
	CVSSv3_Impact_value = map[string]int32{
		"IMPACT_UNSPECIFIED": 0,
		"IMPACT_HIGH":        1,
		"IMPACT_LOW":         2,
		"IMPACT_NONE":        3,
	}
)

Enum value maps for CVSSv3_Impact.

File_google_cloud_osconfig_v1_inventory_proto

var File_google_cloud_osconfig_v1_inventory_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_os_policy_assignment_reports_proto

var File_google_cloud_osconfig_v1_os_policy_assignment_reports_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_os_policy_assignments_proto

var File_google_cloud_osconfig_v1_os_policy_assignments_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_os_policy_proto

var File_google_cloud_osconfig_v1_os_policy_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_osconfig_common_proto

var File_google_cloud_osconfig_v1_osconfig_common_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_osconfig_service_proto

var File_google_cloud_osconfig_v1_osconfig_service_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_osconfig_zonal_service_proto

var File_google_cloud_osconfig_v1_osconfig_zonal_service_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_patch_deployments_proto

var File_google_cloud_osconfig_v1_patch_deployments_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_patch_jobs_proto

var File_google_cloud_osconfig_v1_patch_jobs_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1_vulnerability_proto

var File_google_cloud_osconfig_v1_vulnerability_proto protoreflect.FileDescriptor

Functions

func RegisterOsConfigServiceServer

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

func RegisterOsConfigZonalServiceServer

func RegisterOsConfigZonalServiceServer(s *grpc.Server, srv OsConfigZonalServiceServer)

AptSettings

type AptSettings struct {

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

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

func (*AptSettings) Descriptor

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

CVSSv3

type CVSSv3 struct {
	BaseScore float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`

	ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"`

	ImpactScore float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"`

	AttackVector CVSSv3_AttackVector "" /* 148 byte string literal not displayed */

	AttackComplexity CVSSv3_AttackComplexity "" /* 164 byte string literal not displayed */

	PrivilegesRequired CVSSv3_PrivilegesRequired "" /* 172 byte string literal not displayed */

	UserInteraction CVSSv3_UserInteraction "" /* 160 byte string literal not displayed */

	Scope CVSSv3_Scope `protobuf:"varint,9,opt,name=scope,proto3,enum=google.cloud.osconfig.v1.CVSSv3_Scope" json:"scope,omitempty"`

	ConfidentialityImpact CVSSv3_Impact "" /* 170 byte string literal not displayed */

	IntegrityImpact CVSSv3_Impact "" /* 152 byte string literal not displayed */

	AvailabilityImpact CVSSv3_Impact "" /* 161 byte string literal not displayed */

}

Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

func (*CVSSv3) Descriptor

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

Deprecated: Use CVSSv3.ProtoReflect.Descriptor instead.

func (*CVSSv3) GetAttackComplexity

func (x *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity

func (*CVSSv3) GetAttackVector

func (x *CVSSv3) GetAttackVector() CVSSv3_AttackVector

func (*CVSSv3) GetAvailabilityImpact

func (x *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact

func (*CVSSv3) GetBaseScore

func (x *CVSSv3) GetBaseScore() float32

func (*CVSSv3) GetConfidentialityImpact

func (x *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact

func (*CVSSv3) GetExploitabilityScore

func (x *CVSSv3) GetExploitabilityScore() float32

func (*CVSSv3) GetImpactScore

func (x *CVSSv3) GetImpactScore() float32

func (*CVSSv3) GetIntegrityImpact

func (x *CVSSv3) GetIntegrityImpact() CVSSv3_Impact

func (*CVSSv3) GetPrivilegesRequired

func (x *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired

func (*CVSSv3) GetScope

func (x *CVSSv3) GetScope() CVSSv3_Scope

func (*CVSSv3) GetUserInteraction

func (x *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction

func (*CVSSv3) ProtoMessage

func (*CVSSv3) ProtoMessage()

func (*CVSSv3) ProtoReflect

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

func (*CVSSv3) Reset

func (x *CVSSv3) Reset()

func (*CVSSv3) String

func (x *CVSSv3) String() string

CVSSv3_AttackComplexity

type CVSSv3_AttackComplexity int32

This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED, CVSSv3_ATTACK_COMPLEXITY_LOW, CVSSv3_ATTACK_COMPLEXITY_HIGH

const (
	// Invalid value.
	CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED CVSSv3_AttackComplexity = 0
	// Specialized access conditions or extenuating circumstances do not exist.
	// An attacker can expect repeatable success when attacking the vulnerable
	// component.
	CVSSv3_ATTACK_COMPLEXITY_LOW CVSSv3_AttackComplexity = 1
	// A successful attack depends on conditions beyond the attacker's control.
	// That is, a successful attack cannot be accomplished at will, but requires
	// the attacker to invest in some measurable amount of effort in preparation
	// or execution against the vulnerable component before a successful attack
	// can be expected.
	CVSSv3_ATTACK_COMPLEXITY_HIGH CVSSv3_AttackComplexity = 2
)

func (CVSSv3_AttackComplexity) Descriptor

func (CVSSv3_AttackComplexity) Enum

func (CVSSv3_AttackComplexity) EnumDescriptor

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

Deprecated: Use CVSSv3_AttackComplexity.Descriptor instead.

func (CVSSv3_AttackComplexity) Number

func (CVSSv3_AttackComplexity) String

func (x CVSSv3_AttackComplexity) String() string

func (CVSSv3_AttackComplexity) Type

CVSSv3_AttackVector

type CVSSv3_AttackVector int32

This metric reflects the context by which vulnerability exploitation is possible.

CVSSv3_ATTACK_VECTOR_UNSPECIFIED, CVSSv3_ATTACK_VECTOR_NETWORK, CVSSv3_ATTACK_VECTOR_ADJACENT, CVSSv3_ATTACK_VECTOR_LOCAL, CVSSv3_ATTACK_VECTOR_PHYSICAL

const (
	// Invalid value.
	CVSSv3_ATTACK_VECTOR_UNSPECIFIED CVSSv3_AttackVector = 0
	// The vulnerable component is bound to the network stack and the set of
	// possible attackers extends beyond the other options listed below, up to
	// and including the entire Internet.
	CVSSv3_ATTACK_VECTOR_NETWORK CVSSv3_AttackVector = 1
	// The vulnerable component is bound to the network stack, but the attack is
	// limited at the protocol level to a logically adjacent topology.
	CVSSv3_ATTACK_VECTOR_ADJACENT CVSSv3_AttackVector = 2
	// The vulnerable component is not bound to the network stack and the
	// attacker's path is via read/write/execute capabilities.
	CVSSv3_ATTACK_VECTOR_LOCAL CVSSv3_AttackVector = 3
	// The attack requires the attacker to physically touch or manipulate the
	// vulnerable component.
	CVSSv3_ATTACK_VECTOR_PHYSICAL CVSSv3_AttackVector = 4
)

func (CVSSv3_AttackVector) Descriptor

func (CVSSv3_AttackVector) Enum

func (CVSSv3_AttackVector) EnumDescriptor

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

Deprecated: Use CVSSv3_AttackVector.Descriptor instead.

func (CVSSv3_AttackVector) Number

func (CVSSv3_AttackVector) String

func (x CVSSv3_AttackVector) String() string

func (CVSSv3_AttackVector) Type

CVSSv3_Impact

type CVSSv3_Impact int32

The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack.

CVSSv3_IMPACT_UNSPECIFIED, CVSSv3_IMPACT_HIGH, CVSSv3_IMPACT_LOW, CVSSv3_IMPACT_NONE

const (
	// Invalid value.
	CVSSv3_IMPACT_UNSPECIFIED CVSSv3_Impact = 0
	// High impact.
	CVSSv3_IMPACT_HIGH CVSSv3_Impact = 1
	// Low impact.
	CVSSv3_IMPACT_LOW CVSSv3_Impact = 2
	// No impact.
	CVSSv3_IMPACT_NONE CVSSv3_Impact = 3
)

func (CVSSv3_Impact) Descriptor

func (CVSSv3_Impact) Enum

func (x CVSSv3_Impact) Enum() *CVSSv3_Impact

func (CVSSv3_Impact) EnumDescriptor

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

Deprecated: Use CVSSv3_Impact.Descriptor instead.

func (CVSSv3_Impact) Number

func (CVSSv3_Impact) String

func (x CVSSv3_Impact) String() string

func (CVSSv3_Impact) Type

CVSSv3_PrivilegesRequired

type CVSSv3_PrivilegesRequired int32

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED, CVSSv3_PRIVILEGES_REQUIRED_NONE, CVSSv3_PRIVILEGES_REQUIRED_LOW, CVSSv3_PRIVILEGES_REQUIRED_HIGH

const (
	// Invalid value.
	CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED CVSSv3_PrivilegesRequired = 0
	// The attacker is unauthorized prior to attack, and therefore does not
	// require any access to settings or files of the vulnerable system to
	// carry out an attack.
	CVSSv3_PRIVILEGES_REQUIRED_NONE CVSSv3_PrivilegesRequired = 1
	// The attacker requires privileges that provide basic user capabilities
	// that could normally affect only settings and files owned by a user.
	// Alternatively, an attacker with Low privileges has the ability to access
	// only non-sensitive resources.
	CVSSv3_PRIVILEGES_REQUIRED_LOW CVSSv3_PrivilegesRequired = 2
	// The attacker requires privileges that provide significant (e.g.,
	// administrative) control over the vulnerable component allowing access to
	// component-wide settings and files.
	CVSSv3_PRIVILEGES_REQUIRED_HIGH CVSSv3_PrivilegesRequired = 3
)

func (CVSSv3_PrivilegesRequired) Descriptor

func (CVSSv3_PrivilegesRequired) Enum

func (CVSSv3_PrivilegesRequired) EnumDescriptor

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

Deprecated: Use CVSSv3_PrivilegesRequired.Descriptor instead.

func (CVSSv3_PrivilegesRequired) Number

func (CVSSv3_PrivilegesRequired) String

func (x CVSSv3_PrivilegesRequired) String() string

func (CVSSv3_PrivilegesRequired) Type

CVSSv3_Scope

type CVSSv3_Scope int32

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

CVSSv3_SCOPE_UNSPECIFIED, CVSSv3_SCOPE_UNCHANGED, CVSSv3_SCOPE_CHANGED

const (
	// Invalid value.
	CVSSv3_SCOPE_UNSPECIFIED CVSSv3_Scope = 0
	// An exploited vulnerability can only affect resources managed by the same
	// security authority.
	CVSSv3_SCOPE_UNCHANGED CVSSv3_Scope = 1
	// An exploited vulnerability can affect resources beyond the security scope
	// managed by the security authority of the vulnerable component.
	CVSSv3_SCOPE_CHANGED CVSSv3_Scope = 2
)

func (CVSSv3_Scope) Descriptor

func (CVSSv3_Scope) Enum

func (x CVSSv3_Scope) Enum() *CVSSv3_Scope

func (CVSSv3_Scope) EnumDescriptor

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

Deprecated: Use CVSSv3_Scope.Descriptor instead.

func (CVSSv3_Scope) Number

func (CVSSv3_Scope) String

func (x CVSSv3_Scope) String() string

func (CVSSv3_Scope) Type

CVSSv3_UserInteraction

type CVSSv3_UserInteraction int32

This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.

CVSSv3_USER_INTERACTION_UNSPECIFIED, CVSSv3_USER_INTERACTION_NONE, CVSSv3_USER_INTERACTION_REQUIRED

const (
	// Invalid value.
	CVSSv3_USER_INTERACTION_UNSPECIFIED CVSSv3_UserInteraction = 0
	// The vulnerable system can be exploited without interaction from any user.
	CVSSv3_USER_INTERACTION_NONE CVSSv3_UserInteraction = 1
	// Successful exploitation of this vulnerability requires a user to take
	// some action before the vulnerability can be exploited.
	CVSSv3_USER_INTERACTION_REQUIRED CVSSv3_UserInteraction = 2
)

func (CVSSv3_UserInteraction) Descriptor

func (CVSSv3_UserInteraction) Enum

func (CVSSv3_UserInteraction) EnumDescriptor

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

Deprecated: Use CVSSv3_UserInteraction.Descriptor instead.

func (CVSSv3_UserInteraction) Number

func (CVSSv3_UserInteraction) String

func (x CVSSv3_UserInteraction) String() string

func (CVSSv3_UserInteraction) Type

CancelPatchJobRequest

type CancelPatchJobRequest struct {

	// Required. Name of the patch in the form `projects/*/patchJobs/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for canceling a patch job.

func (*CancelPatchJobRequest) Descriptor

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

Deprecated: Use CancelPatchJobRequest.ProtoReflect.Descriptor instead.

func (*CancelPatchJobRequest) GetName

func (x *CancelPatchJobRequest) GetName() string

func (*CancelPatchJobRequest) ProtoMessage

func (*CancelPatchJobRequest) ProtoMessage()

func (*CancelPatchJobRequest) ProtoReflect

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

func (*CancelPatchJobRequest) Reset

func (x *CancelPatchJobRequest) Reset()

func (*CancelPatchJobRequest) String

func (x *CancelPatchJobRequest) String() string

CreateOSPolicyAssignmentRequest

type CreateOSPolicyAssignmentRequest struct {

	// Required. The parent resource name in the form:
	// projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The OS policy assignment to be created.
	OsPolicyAssignment *OSPolicyAssignment `protobuf:"bytes,2,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
	// Required. The logical name of the OS policy assignment in the project
	// with the following restrictions:
	//
	// * Must contain only lowercase letters, numbers, and hyphens.
	// * Must start with a letter.
	// * Must be between 1-63 characters.
	// * Must end with a number or a letter.
	// * Must be unique within the project.
	OsPolicyAssignmentId string `protobuf:"bytes,3,opt,name=os_policy_assignment_id,json=osPolicyAssignmentId,proto3" json:"os_policy_assignment_id,omitempty"`
	// contains filtered or unexported fields
}

A request message to create an OS policy assignment

func (*CreateOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use CreateOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*CreateOSPolicyAssignmentRequest) GetOsPolicyAssignment

func (x *CreateOSPolicyAssignmentRequest) GetOsPolicyAssignment() *OSPolicyAssignment

func (*CreateOSPolicyAssignmentRequest) GetOsPolicyAssignmentId

func (x *CreateOSPolicyAssignmentRequest) GetOsPolicyAssignmentId() string

func (*CreateOSPolicyAssignmentRequest) GetParent

func (x *CreateOSPolicyAssignmentRequest) GetParent() string

func (*CreateOSPolicyAssignmentRequest) ProtoMessage

func (*CreateOSPolicyAssignmentRequest) ProtoMessage()

func (*CreateOSPolicyAssignmentRequest) ProtoReflect

func (*CreateOSPolicyAssignmentRequest) Reset

func (*CreateOSPolicyAssignmentRequest) String

CreatePatchDeploymentRequest

type CreatePatchDeploymentRequest struct {

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

A request message for creating a patch deployment.

func (*CreatePatchDeploymentRequest) Descriptor

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

Deprecated: Use CreatePatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*CreatePatchDeploymentRequest) GetParent

func (x *CreatePatchDeploymentRequest) GetParent() string

func (*CreatePatchDeploymentRequest) GetPatchDeployment

func (x *CreatePatchDeploymentRequest) GetPatchDeployment() *PatchDeployment

func (*CreatePatchDeploymentRequest) GetPatchDeploymentId

func (x *CreatePatchDeploymentRequest) GetPatchDeploymentId() string

func (*CreatePatchDeploymentRequest) ProtoMessage

func (*CreatePatchDeploymentRequest) ProtoMessage()

func (*CreatePatchDeploymentRequest) ProtoReflect

func (*CreatePatchDeploymentRequest) Reset

func (x *CreatePatchDeploymentRequest) Reset()

func (*CreatePatchDeploymentRequest) String

DeleteOSPolicyAssignmentRequest

type DeleteOSPolicyAssignmentRequest struct {

	// Required. The name of the OS policy assignment to be deleted
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for deleting a OS policy assignment.

func (*DeleteOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use DeleteOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteOSPolicyAssignmentRequest) GetName

func (*DeleteOSPolicyAssignmentRequest) ProtoMessage

func (*DeleteOSPolicyAssignmentRequest) ProtoMessage()

func (*DeleteOSPolicyAssignmentRequest) ProtoReflect

func (*DeleteOSPolicyAssignmentRequest) Reset

func (*DeleteOSPolicyAssignmentRequest) String

DeletePatchDeploymentRequest

type DeletePatchDeploymentRequest struct {

	// Required. The resource name of the patch deployment in the form
	// `projects/*/patchDeployments/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for deleting a patch deployment.

func (*DeletePatchDeploymentRequest) Descriptor

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

Deprecated: Use DeletePatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeletePatchDeploymentRequest) GetName

func (x *DeletePatchDeploymentRequest) GetName() string

func (*DeletePatchDeploymentRequest) ProtoMessage

func (*DeletePatchDeploymentRequest) ProtoMessage()

func (*DeletePatchDeploymentRequest) ProtoReflect

func (*DeletePatchDeploymentRequest) Reset

func (x *DeletePatchDeploymentRequest) Reset()

func (*DeletePatchDeploymentRequest) String

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 "" /* 133 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 Cloud Storage 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_SHELL, ExecStepConfig_POWERSHELL

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

func (ExecStepConfig_Interpreter) Descriptor

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

ExecutePatchJobRequest

type ExecutePatchJobRequest struct {

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

A request message to initiate patching across Compute Engine instances.

func (*ExecutePatchJobRequest) Descriptor

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

Deprecated: Use ExecutePatchJobRequest.ProtoReflect.Descriptor instead.

func (*ExecutePatchJobRequest) GetDescription

func (x *ExecutePatchJobRequest) GetDescription() string

func (*ExecutePatchJobRequest) GetDisplayName

func (x *ExecutePatchJobRequest) GetDisplayName() string

func (*ExecutePatchJobRequest) GetDryRun

func (x *ExecutePatchJobRequest) GetDryRun() bool

func (*ExecutePatchJobRequest) GetDuration

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

func (*ExecutePatchJobRequest) GetInstanceFilter

func (x *ExecutePatchJobRequest) GetInstanceFilter() *PatchInstanceFilter

func (*ExecutePatchJobRequest) GetParent

func (x *ExecutePatchJobRequest) GetParent() string

func (*ExecutePatchJobRequest) GetPatchConfig

func (x *ExecutePatchJobRequest) GetPatchConfig() *PatchConfig

func (*ExecutePatchJobRequest) GetRollout

func (x *ExecutePatchJobRequest) GetRollout() *PatchRollout

func (*ExecutePatchJobRequest) ProtoMessage

func (*ExecutePatchJobRequest) ProtoMessage()

func (*ExecutePatchJobRequest) ProtoReflect

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

func (*ExecutePatchJobRequest) Reset

func (x *ExecutePatchJobRequest) Reset()

func (*ExecutePatchJobRequest) String

func (x *ExecutePatchJobRequest) String() string

FixedOrPercent

type FixedOrPercent struct {

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

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

func (*FixedOrPercent) Descriptor

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

Deprecated: Use FixedOrPercent.ProtoReflect.Descriptor instead.

func (*FixedOrPercent) GetFixed

func (x *FixedOrPercent) GetFixed() int32

func (*FixedOrPercent) GetMode

func (m *FixedOrPercent) GetMode() isFixedOrPercent_Mode

func (*FixedOrPercent) GetPercent

func (x *FixedOrPercent) GetPercent() int32

func (*FixedOrPercent) ProtoMessage

func (*FixedOrPercent) ProtoMessage()

func (*FixedOrPercent) ProtoReflect

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

func (*FixedOrPercent) Reset

func (x *FixedOrPercent) Reset()

func (*FixedOrPercent) String

func (x *FixedOrPercent) String() string

FixedOrPercent_Fixed

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

FixedOrPercent_Percent

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

GcsObject

type GcsObject struct {

	// Required. Bucket of the Cloud Storage object.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the Cloud Storage object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Required. Generation number of the Cloud Storage object. This is used to
	// ensure that the ExecStep specified by this PatchJob does not change.
	GenerationNumber int64 `protobuf:"varint,3,opt,name=generation_number,json=generationNumber,proto3" json:"generation_number,omitempty"`
	// contains filtered or unexported fields
}

Cloud Storage 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

GetInventoryRequest

type GetInventoryRequest struct {

	// Required. API resource name for inventory resource.
	//
	// Format:
	// `projects/{project}/locations/{location}/instances/{instance}/inventory`
	//
	// For `{project}`, either `project-number` or `project-id` can be provided.
	// For `{instance}`, either Compute Engine  `instance-id` or `instance-name`
	// can be provided.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Inventory view indicating what information should be included in the
	// inventory resource. If unspecified, the default view is BASIC.
	View InventoryView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.osconfig.v1.InventoryView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

A request message for getting inventory data for the specified VM.

func (*GetInventoryRequest) Descriptor

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

Deprecated: Use GetInventoryRequest.ProtoReflect.Descriptor instead.

func (*GetInventoryRequest) GetName

func (x *GetInventoryRequest) GetName() string

func (*GetInventoryRequest) GetView

func (x *GetInventoryRequest) GetView() InventoryView

func (*GetInventoryRequest) ProtoMessage

func (*GetInventoryRequest) ProtoMessage()

func (*GetInventoryRequest) ProtoReflect

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

func (*GetInventoryRequest) Reset

func (x *GetInventoryRequest) Reset()

func (*GetInventoryRequest) String

func (x *GetInventoryRequest) String() string

GetOSPolicyAssignmentReportRequest

type GetOSPolicyAssignmentReportRequest struct {

	// Required. API resource name for OS policy assignment report.
	//
	// Format:
	// `/projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/report`
	//
	// For `{project}`, either `project-number` or `project-id` can be provided.
	// For `{instance_id}`, either Compute Engine `instance-id` or `instance-name`
	// can be provided.
	// For `{assignment_id}`, the OSPolicyAssignment id must be provided.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Get a report of the OS policy assignment for a VM instance.

func (*GetOSPolicyAssignmentReportRequest) Descriptor

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

Deprecated: Use GetOSPolicyAssignmentReportRequest.ProtoReflect.Descriptor instead.

func (*GetOSPolicyAssignmentReportRequest) GetName

func (*GetOSPolicyAssignmentReportRequest) ProtoMessage

func (*GetOSPolicyAssignmentReportRequest) ProtoMessage()

func (*GetOSPolicyAssignmentReportRequest) ProtoReflect

func (*GetOSPolicyAssignmentReportRequest) Reset

func (*GetOSPolicyAssignmentReportRequest) String

GetOSPolicyAssignmentRequest

type GetOSPolicyAssignmentRequest struct {

	// Required. The resource name of OS policy assignment.
	//
	// Format:
	// `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message to get an OS policy assignment

func (*GetOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use GetOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*GetOSPolicyAssignmentRequest) GetName

func (x *GetOSPolicyAssignmentRequest) GetName() string

func (*GetOSPolicyAssignmentRequest) ProtoMessage

func (*GetOSPolicyAssignmentRequest) ProtoMessage()

func (*GetOSPolicyAssignmentRequest) ProtoReflect

func (*GetOSPolicyAssignmentRequest) Reset

func (x *GetOSPolicyAssignmentRequest) Reset()

func (*GetOSPolicyAssignmentRequest) String

GetPatchDeploymentRequest

type GetPatchDeploymentRequest struct {

	// Required. The resource name of the patch deployment in the form
	// `projects/*/patchDeployments/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for retrieving a patch deployment.

func (*GetPatchDeploymentRequest) Descriptor

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

Deprecated: Use GetPatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetPatchDeploymentRequest) GetName

func (x *GetPatchDeploymentRequest) GetName() string

func (*GetPatchDeploymentRequest) ProtoMessage

func (*GetPatchDeploymentRequest) ProtoMessage()

func (*GetPatchDeploymentRequest) ProtoReflect

func (*GetPatchDeploymentRequest) Reset

func (x *GetPatchDeploymentRequest) Reset()

func (*GetPatchDeploymentRequest) String

func (x *GetPatchDeploymentRequest) String() string

GetPatchJobRequest

type GetPatchJobRequest struct {

	// Required. Name of the patch in the form `projects/*/patchJobs/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get an active or completed patch job.

func (*GetPatchJobRequest) Descriptor

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

Deprecated: Use GetPatchJobRequest.ProtoReflect.Descriptor instead.

func (*GetPatchJobRequest) GetName

func (x *GetPatchJobRequest) GetName() string

func (*GetPatchJobRequest) ProtoMessage

func (*GetPatchJobRequest) ProtoMessage()

func (*GetPatchJobRequest) ProtoReflect

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

func (*GetPatchJobRequest) Reset

func (x *GetPatchJobRequest) Reset()

func (*GetPatchJobRequest) String

func (x *GetPatchJobRequest) String() string

GetVulnerabilityReportRequest

type GetVulnerabilityReportRequest struct {

	// Required. API resource name for vulnerability resource.
	//
	// Format:
	// `projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport`
	//
	// For `{project}`, either `project-number` or `project-id` can be provided.
	// For `{instance}`, either Compute Engine `instance-id` or `instance-name`
	// can be provided.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for getting the vulnerability report for the specified VM.

func (*GetVulnerabilityReportRequest) Descriptor

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

Deprecated: Use GetVulnerabilityReportRequest.ProtoReflect.Descriptor instead.

func (*GetVulnerabilityReportRequest) GetName

func (*GetVulnerabilityReportRequest) ProtoMessage

func (*GetVulnerabilityReportRequest) ProtoMessage()

func (*GetVulnerabilityReportRequest) ProtoReflect

func (*GetVulnerabilityReportRequest) Reset

func (x *GetVulnerabilityReportRequest) Reset()

func (*GetVulnerabilityReportRequest) 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

Instance

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

Namespace for instance state enums.

func (*Instance) Descriptor

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

Instance_PatchState

type Instance_PatchState int32

Patch state of an instance.

Instance_PATCH_STATE_UNSPECIFIED, Instance_PENDING, Instance_INACTIVE, Instance_NOTIFIED, Instance_STARTED, Instance_DOWNLOADING_PATCHES, Instance_APPLYING_PATCHES, Instance_REBOOTING, Instance_SUCCEEDED, Instance_SUCCEEDED_REBOOT_REQUIRED, Instance_FAILED, Instance_ACKED, Instance_TIMED_OUT, Instance_RUNNING_PRE_PATCH_STEP, Instance_RUNNING_POST_PATCH_STEP, Instance_NO_AGENT_DETECTED

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

func (Instance_PatchState) Descriptor

func (Instance_PatchState) Enum

func (Instance_PatchState) EnumDescriptor

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

Deprecated: Use Instance_PatchState.Descriptor instead.

func (Instance_PatchState) Number

func (Instance_PatchState) String

func (x Instance_PatchState) String() string

func (Instance_PatchState) Type

Inventory

type Inventory struct {
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`

	OsInfo *Inventory_OsInfo `protobuf:"bytes,1,opt,name=os_info,json=osInfo,proto3" json:"os_info,omitempty"`

	Items map[string]*Inventory_Item "" /* 151 byte string literal not displayed */

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

}

This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time.

You can use this API resource to determine the inventory data of your VM.

For more information, see Information provided by OS inventory management.

func (*Inventory) Descriptor

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

Deprecated: Use Inventory.ProtoReflect.Descriptor instead.

func (*Inventory) GetItems

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

func (*Inventory) GetName

func (x *Inventory) GetName() string

func (*Inventory) GetOsInfo

func (x *Inventory) GetOsInfo() *Inventory_OsInfo

func (*Inventory) GetUpdateTime

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

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

InventoryView

type InventoryView int32

The view for inventory objects.

InventoryView_INVENTORY_VIEW_UNSPECIFIED, InventoryView_BASIC, InventoryView_FULL

const (
	// The default value.
	// The API defaults to the BASIC view.
	InventoryView_INVENTORY_VIEW_UNSPECIFIED InventoryView = 0
	// Returns the basic inventory information that includes `os_info`.
	InventoryView_BASIC InventoryView = 1
	// Returns all fields.
	InventoryView_FULL InventoryView = 2
)

func (InventoryView) Descriptor

func (InventoryView) Enum

func (x InventoryView) Enum() *InventoryView

func (InventoryView) EnumDescriptor

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

Deprecated: Use InventoryView.Descriptor instead.

func (InventoryView) Number

func (InventoryView) String

func (x InventoryView) String() string

func (InventoryView) Type

Inventory_Item

type Inventory_Item struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	OriginType Inventory_Item_OriginType "" /* 148 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Type Inventory_Item_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.osconfig.v1.Inventory_Item_Type" json:"type,omitempty"`

	Details isInventory_Item_Details `protobuf_oneof:"details"`

}

A single piece of inventory on a VM.

func (*Inventory_Item) Descriptor

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

Deprecated: Use Inventory_Item.ProtoReflect.Descriptor instead.

func (*Inventory_Item) GetAvailablePackage

func (x *Inventory_Item) GetAvailablePackage() *Inventory_SoftwarePackage

func (*Inventory_Item) GetCreateTime

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

func (*Inventory_Item) GetDetails

func (m *Inventory_Item) GetDetails() isInventory_Item_Details

func (*Inventory_Item) GetId

func (x *Inventory_Item) GetId() string

func (*Inventory_Item) GetInstalledPackage

func (x *Inventory_Item) GetInstalledPackage() *Inventory_SoftwarePackage

func (*Inventory_Item) GetOriginType

func (x *Inventory_Item) GetOriginType() Inventory_Item_OriginType

func (*Inventory_Item) GetType

func (x *Inventory_Item) GetType() Inventory_Item_Type

func (*Inventory_Item) GetUpdateTime

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

func (*Inventory_Item) ProtoMessage

func (*Inventory_Item) ProtoMessage()

func (*Inventory_Item) ProtoReflect

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

func (*Inventory_Item) Reset

func (x *Inventory_Item) Reset()

func (*Inventory_Item) String

func (x *Inventory_Item) String() string

Inventory_Item_AvailablePackage

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

Inventory_Item_InstalledPackage

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

Inventory_Item_OriginType

type Inventory_Item_OriginType int32

The origin of a specific inventory item.

Inventory_Item_ORIGIN_TYPE_UNSPECIFIED, Inventory_Item_INVENTORY_REPORT

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

func (Inventory_Item_OriginType) Descriptor

func (Inventory_Item_OriginType) Enum

func (Inventory_Item_OriginType) EnumDescriptor

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

Deprecated: Use Inventory_Item_OriginType.Descriptor instead.

func (Inventory_Item_OriginType) Number

func (Inventory_Item_OriginType) String

func (x Inventory_Item_OriginType) String() string

func (Inventory_Item_OriginType) Type

Inventory_Item_Type

type Inventory_Item_Type int32

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

Inventory_Item_TYPE_UNSPECIFIED, Inventory_Item_INSTALLED_PACKAGE, Inventory_Item_AVAILABLE_PACKAGE

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

func (Inventory_Item_Type) Descriptor

func (Inventory_Item_Type) Enum

func (Inventory_Item_Type) EnumDescriptor

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

Deprecated: Use Inventory_Item_Type.Descriptor instead.

func (Inventory_Item_Type) Number

func (Inventory_Item_Type) String

func (x Inventory_Item_Type) String() string

func (Inventory_Item_Type) Type

Inventory_OsInfo

type Inventory_OsInfo struct {

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

Operating system information for the VM.

func (*Inventory_OsInfo) Descriptor

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

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

func (*Inventory_VersionedPackage) Descriptor

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 {

	// The name of the application or product.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The version of the product or application in string format.
	DisplayVersion string `protobuf:"bytes,2,opt,name=display_version,json=displayVersion,proto3" json:"display_version,omitempty"`
	// The name of the manufacturer for the product or application.
	Publisher string `protobuf:"bytes,3,opt,name=publisher,proto3" json:"publisher,omitempty"`
	// The last time this product received service. The value of this property
	// is replaced each time a patch is applied or removed from the product or
	// the command-line option is used to repair the product.
	InstallDate *date.Date `protobuf:"bytes,4,opt,name=install_date,json=installDate,proto3" json:"install_date,omitempty"`
	// The internet address for technical support.
	HelpLink string `protobuf:"bytes,5,opt,name=help_link,json=helpLink,proto3" json:"help_link,omitempty"`
	// contains filtered or unexported fields
}

Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see: 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 *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Inventory_WindowsQuickFixEngineeringPackage) Descriptor

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,11,opt,name=support_url,json=supportUrl,proto3" json:"support_url,omitempty"`

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

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

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

	LastDeploymentChangeTime *timestamppb.Timestamp "" /* 138 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() *timestamppb.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,5,opt,name=patch_name,json=patchName,proto3" json:"patch_name,omitempty"`
	// The category of the patch.
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// The severity specified for this patch
	Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
	// Any summary information provided about this patch.
	Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

Details related to a Zypper Patch.

func (*Inventory_ZypperPatch) Descriptor

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 (*Inventory_ZypperPatch) Reset

func (x *Inventory_ZypperPatch) Reset()

func (*Inventory_ZypperPatch) String

func (x *Inventory_ZypperPatch) String() string

ListInventoriesRequest

type ListInventoriesRequest struct {

	// Required. The parent resource name.
	//
	// Format: `projects/{project}/locations/{location}/instances/-`
	//
	// For `{project}`, either `project-number` or `project-id` can be provided.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Inventory view indicating what information should be included in the
	// inventory resource. If unspecified, the default view is BASIC.
	View InventoryView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.osconfig.v1.InventoryView" json:"view,omitempty"`
	// The maximum number of results to return.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A pagination token returned from a previous call to
	// `ListInventories` that indicates where this listing
	// should continue from.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// If provided, this field specifies the criteria that must be met by a
	// `Inventory` API resource to be included in the response.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

A request message for listing inventory data for all VMs in the specified location.

func (*ListInventoriesRequest) Descriptor

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

Deprecated: Use ListInventoriesRequest.ProtoReflect.Descriptor instead.

func (*ListInventoriesRequest) GetFilter

func (x *ListInventoriesRequest) GetFilter() string

func (*ListInventoriesRequest) GetPageSize

func (x *ListInventoriesRequest) GetPageSize() int32

func (*ListInventoriesRequest) GetPageToken

func (x *ListInventoriesRequest) GetPageToken() string

func (*ListInventoriesRequest) GetParent

func (x *ListInventoriesRequest) GetParent() string

func (*ListInventoriesRequest) GetView

func (*ListInventoriesRequest) ProtoMessage

func (*ListInventoriesRequest) ProtoMessage()

func (*ListInventoriesRequest) ProtoReflect

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

func (*ListInventoriesRequest) Reset

func (x *ListInventoriesRequest) Reset()

func (*ListInventoriesRequest) String

func (x *ListInventoriesRequest) String() string

ListInventoriesResponse

type ListInventoriesResponse struct {

	// List of inventory objects.
	Inventories []*Inventory `protobuf:"bytes,1,rep,name=inventories,proto3" json:"inventories,omitempty"`
	// The pagination token to retrieve the next page of inventory objects.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for listing inventory data for all VMs in a specified location.

func (*ListInventoriesResponse) Descriptor

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

Deprecated: Use ListInventoriesResponse.ProtoReflect.Descriptor instead.

func (*ListInventoriesResponse) GetInventories

func (x *ListInventoriesResponse) GetInventories() []*Inventory

func (*ListInventoriesResponse) GetNextPageToken

func (x *ListInventoriesResponse) GetNextPageToken() string

func (*ListInventoriesResponse) ProtoMessage

func (*ListInventoriesResponse) ProtoMessage()

func (*ListInventoriesResponse) ProtoReflect

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

func (*ListInventoriesResponse) Reset

func (x *ListInventoriesResponse) Reset()

func (*ListInventoriesResponse) String

func (x *ListInventoriesResponse) String() string

ListOSPolicyAssignmentReportsRequest

type ListOSPolicyAssignmentReportsRequest struct {

	// Required. The parent resource name.
	//
	// Format:
	// `projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports`
	//
	// For `{project}`, either `project-number` or `project-id` can be provided.
	// For `{instance}`, either `instance-name`, `instance-id`, or `-` can be
	// provided. If '-' is provided, the response will include
	// OSPolicyAssignmentReports for all instances in the project/location.
	// For `{assignment}`, either `assignment-id` or `-` can be provided. If '-'
	// is provided, the response will include OSPolicyAssignmentReports for all
	// OSPolicyAssignments in the project/location.
	// Either {instance} or {assignment} must be `-`.
	//
	// For example:
	// `projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports`
	//
	//	returns all reports for the instance
	//
	// `projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports`
	//
	//	returns all the reports for the given assignment across all instances.
	//
	// `projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports`
	//
	//	returns all the reports for all assignments across all instances.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If provided, this field specifies the criteria that must be met by the
	// `OSPolicyAssignmentReport` API resource that is included in the response.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// A pagination token returned from a previous call to the
	// `ListOSPolicyAssignmentReports` method that indicates where this listing
	// should continue from.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

List the OS policy assignment reports for VM instances.

func (*ListOSPolicyAssignmentReportsRequest) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentReportsRequest.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentReportsRequest) GetFilter

func (*ListOSPolicyAssignmentReportsRequest) GetPageSize

func (*ListOSPolicyAssignmentReportsRequest) GetPageToken

func (x *ListOSPolicyAssignmentReportsRequest) GetPageToken() string

func (*ListOSPolicyAssignmentReportsRequest) GetParent

func (*ListOSPolicyAssignmentReportsRequest) ProtoMessage

func (*ListOSPolicyAssignmentReportsRequest) ProtoMessage()

func (*ListOSPolicyAssignmentReportsRequest) ProtoReflect

func (*ListOSPolicyAssignmentReportsRequest) Reset

func (*ListOSPolicyAssignmentReportsRequest) String

ListOSPolicyAssignmentReportsResponse

type ListOSPolicyAssignmentReportsResponse struct {
	OsPolicyAssignmentReports []*OSPolicyAssignmentReport "" /* 140 byte string literal not displayed */

	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`

}

A response message for listing OS Policy assignment reports including the page of results and page token.

func (*ListOSPolicyAssignmentReportsResponse) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentReportsResponse.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentReportsResponse) GetNextPageToken

func (x *ListOSPolicyAssignmentReportsResponse) GetNextPageToken() string

func (*ListOSPolicyAssignmentReportsResponse) GetOsPolicyAssignmentReports

func (x *ListOSPolicyAssignmentReportsResponse) GetOsPolicyAssignmentReports() []*OSPolicyAssignmentReport

func (*ListOSPolicyAssignmentReportsResponse) ProtoMessage

func (*ListOSPolicyAssignmentReportsResponse) ProtoMessage()

func (*ListOSPolicyAssignmentReportsResponse) ProtoReflect

func (*ListOSPolicyAssignmentReportsResponse) Reset

func (*ListOSPolicyAssignmentReportsResponse) String

ListOSPolicyAssignmentRevisionsRequest

type ListOSPolicyAssignmentRevisionsRequest struct {

	// Required. The name of the OS policy assignment to list revisions for.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum number of revisions to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A pagination token returned from a previous call to
	// `ListOSPolicyAssignmentRevisions` that indicates where this listing should
	// continue from.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message to list revisions for a OS policy assignment

func (*ListOSPolicyAssignmentRevisionsRequest) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentRevisionsRequest.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentRevisionsRequest) GetName

func (*ListOSPolicyAssignmentRevisionsRequest) GetPageSize

func (*ListOSPolicyAssignmentRevisionsRequest) GetPageToken

func (*ListOSPolicyAssignmentRevisionsRequest) ProtoMessage

func (*ListOSPolicyAssignmentRevisionsRequest) ProtoReflect

func (*ListOSPolicyAssignmentRevisionsRequest) Reset

func (*ListOSPolicyAssignmentRevisionsRequest) String

ListOSPolicyAssignmentRevisionsResponse

type ListOSPolicyAssignmentRevisionsResponse struct {

	// The OS policy assignment revisions
	OsPolicyAssignments []*OSPolicyAssignment `protobuf:"bytes,1,rep,name=os_policy_assignments,json=osPolicyAssignments,proto3" json:"os_policy_assignments,omitempty"`
	// The pagination token to retrieve the next page of OS policy assignment
	// revisions.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for listing all revisions for a OS policy assignment.

func (*ListOSPolicyAssignmentRevisionsResponse) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentRevisionsResponse.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentRevisionsResponse) GetNextPageToken

func (x *ListOSPolicyAssignmentRevisionsResponse) GetNextPageToken() string

func (*ListOSPolicyAssignmentRevisionsResponse) GetOsPolicyAssignments

func (x *ListOSPolicyAssignmentRevisionsResponse) GetOsPolicyAssignments() []*OSPolicyAssignment

func (*ListOSPolicyAssignmentRevisionsResponse) ProtoMessage

func (*ListOSPolicyAssignmentRevisionsResponse) ProtoReflect

func (*ListOSPolicyAssignmentRevisionsResponse) Reset

func (*ListOSPolicyAssignmentRevisionsResponse) String

ListOSPolicyAssignmentsRequest

type ListOSPolicyAssignmentsRequest struct {

	// Required. The parent resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of assignments to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A pagination token returned from a previous call to
	// `ListOSPolicyAssignments` that indicates where this listing should continue
	// from.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

A request message to list OS policy assignments for a parent resource

func (*ListOSPolicyAssignmentsRequest) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentsRequest.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentsRequest) GetPageSize

func (x *ListOSPolicyAssignmentsRequest) GetPageSize() int32

func (*ListOSPolicyAssignmentsRequest) GetPageToken

func (x *ListOSPolicyAssignmentsRequest) GetPageToken() string

func (*ListOSPolicyAssignmentsRequest) GetParent

func (x *ListOSPolicyAssignmentsRequest) GetParent() string

func (*ListOSPolicyAssignmentsRequest) ProtoMessage

func (*ListOSPolicyAssignmentsRequest) ProtoMessage()

func (*ListOSPolicyAssignmentsRequest) ProtoReflect

func (*ListOSPolicyAssignmentsRequest) Reset

func (x *ListOSPolicyAssignmentsRequest) Reset()

func (*ListOSPolicyAssignmentsRequest) String

ListOSPolicyAssignmentsResponse

type ListOSPolicyAssignmentsResponse struct {

	// The list of assignments
	OsPolicyAssignments []*OSPolicyAssignment `protobuf:"bytes,1,rep,name=os_policy_assignments,json=osPolicyAssignments,proto3" json:"os_policy_assignments,omitempty"`
	// The pagination token to retrieve the next page of OS policy assignments.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for listing all assignments under given parent.

func (*ListOSPolicyAssignmentsResponse) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentsResponse.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentsResponse) GetNextPageToken

func (x *ListOSPolicyAssignmentsResponse) GetNextPageToken() string

func (*ListOSPolicyAssignmentsResponse) GetOsPolicyAssignments

func (x *ListOSPolicyAssignmentsResponse) GetOsPolicyAssignments() []*OSPolicyAssignment

func (*ListOSPolicyAssignmentsResponse) ProtoMessage

func (*ListOSPolicyAssignmentsResponse) ProtoMessage()

func (*ListOSPolicyAssignmentsResponse) ProtoReflect

func (*ListOSPolicyAssignmentsResponse) Reset

func (*ListOSPolicyAssignmentsResponse) String

ListPatchDeploymentsRequest

type ListPatchDeploymentsRequest struct {

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

A request message for listing patch deployments.

func (*ListPatchDeploymentsRequest) Descriptor

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

Deprecated: Use ListPatchDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*ListPatchDeploymentsRequest) GetPageSize

func (x *ListPatchDeploymentsRequest) GetPageSize() int32

func (*ListPatchDeploymentsRequest) GetPageToken

func (x *ListPatchDeploymentsRequest) GetPageToken() string

func (*ListPatchDeploymentsRequest) GetParent

func (x *ListPatchDeploymentsRequest) GetParent() string

func (*ListPatchDeploymentsRequest) ProtoMessage

func (*ListPatchDeploymentsRequest) ProtoMessage()

func (*ListPatchDeploymentsRequest) ProtoReflect

func (*ListPatchDeploymentsRequest) Reset

func (x *ListPatchDeploymentsRequest) Reset()

func (*ListPatchDeploymentsRequest) String

func (x *ListPatchDeploymentsRequest) String() string

ListPatchDeploymentsResponse

type ListPatchDeploymentsResponse struct {

	// The list of patch deployments.
	PatchDeployments []*PatchDeployment `protobuf:"bytes,1,rep,name=patch_deployments,json=patchDeployments,proto3" json:"patch_deployments,omitempty"`
	// A pagination token that can be used to get the next page of patch
	// deployments.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for listing patch deployments.

func (*ListPatchDeploymentsResponse) Descriptor

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

Deprecated: Use ListPatchDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*ListPatchDeploymentsResponse) GetNextPageToken

func (x *ListPatchDeploymentsResponse) GetNextPageToken() string

func (*ListPatchDeploymentsResponse) GetPatchDeployments

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

func (*ListPatchDeploymentsResponse) ProtoMessage

func (*ListPatchDeploymentsResponse) ProtoMessage()

func (*ListPatchDeploymentsResponse) ProtoReflect

func (*ListPatchDeploymentsResponse) Reset

func (x *ListPatchDeploymentsResponse) Reset()

func (*ListPatchDeploymentsResponse) String

ListPatchJobInstanceDetailsRequest

type ListPatchJobInstanceDetailsRequest struct {

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

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

func (*ListPatchJobInstanceDetailsRequest) Descriptor

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

Deprecated: Use ListPatchJobInstanceDetailsRequest.ProtoReflect.Descriptor instead.

func (*ListPatchJobInstanceDetailsRequest) GetFilter

func (*ListPatchJobInstanceDetailsRequest) GetPageSize

func (x *ListPatchJobInstanceDetailsRequest) GetPageSize() int32

func (*ListPatchJobInstanceDetailsRequest) GetPageToken

func (x *ListPatchJobInstanceDetailsRequest) GetPageToken() string

func (*ListPatchJobInstanceDetailsRequest) GetParent

func (*ListPatchJobInstanceDetailsRequest) ProtoMessage

func (*ListPatchJobInstanceDetailsRequest) ProtoMessage()

func (*ListPatchJobInstanceDetailsRequest) ProtoReflect

func (*ListPatchJobInstanceDetailsRequest) Reset

func (*ListPatchJobInstanceDetailsRequest) String

ListPatchJobInstanceDetailsResponse

type ListPatchJobInstanceDetailsResponse struct {
	PatchJobInstanceDetails []*PatchJobInstanceDetails "" /* 134 byte string literal not displayed */

	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`

}

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

func (*ListPatchJobInstanceDetailsResponse) Descriptor

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

Deprecated: Use ListPatchJobInstanceDetailsResponse.ProtoReflect.Descriptor instead.

func (*ListPatchJobInstanceDetailsResponse) GetNextPageToken

func (x *ListPatchJobInstanceDetailsResponse) GetNextPageToken() string

func (*ListPatchJobInstanceDetailsResponse) GetPatchJobInstanceDetails

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

func (*ListPatchJobInstanceDetailsResponse) ProtoMessage

func (*ListPatchJobInstanceDetailsResponse) ProtoMessage()

func (*ListPatchJobInstanceDetailsResponse) ProtoReflect

func (*ListPatchJobInstanceDetailsResponse) Reset

func (*ListPatchJobInstanceDetailsResponse) String

ListPatchJobsRequest

type ListPatchJobsRequest struct {

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

A request message for listing patch jobs.

func (*ListPatchJobsRequest) Descriptor

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

Deprecated: Use ListPatchJobsRequest.ProtoReflect.Descriptor instead.

func (*ListPatchJobsRequest) GetFilter

func (x *ListPatchJobsRequest) GetFilter() string

func (*ListPatchJobsRequest) GetPageSize

func (x *ListPatchJobsRequest) GetPageSize() int32

func (*ListPatchJobsRequest) GetPageToken

func (x *ListPatchJobsRequest) GetPageToken() string

func (*ListPatchJobsRequest) GetParent

func (x *ListPatchJobsRequest) GetParent() string

func (*ListPatchJobsRequest) ProtoMessage

func (*ListPatchJobsRequest) ProtoMessage()

func (*ListPatchJobsRequest) ProtoReflect

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

func (*ListPatchJobsRequest) Reset

func (x *ListPatchJobsRequest) Reset()

func (*ListPatchJobsRequest) String

func (x *ListPatchJobsRequest) String() string

ListPatchJobsResponse

type ListPatchJobsResponse struct {

	// The list of patch jobs.
	PatchJobs []*PatchJob `protobuf:"bytes,1,rep,name=patch_jobs,json=patchJobs,proto3" json:"patch_jobs,omitempty"`
	// A pagination token that can be used to get the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for listing patch jobs.

func (*ListPatchJobsResponse) Descriptor

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

Deprecated: Use ListPatchJobsResponse.ProtoReflect.Descriptor instead.

func (*ListPatchJobsResponse) GetNextPageToken

func (x *ListPatchJobsResponse) GetNextPageToken() string

func (*ListPatchJobsResponse) GetPatchJobs

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

func (*ListPatchJobsResponse) ProtoMessage

func (*ListPatchJobsResponse) ProtoMessage()

func (*ListPatchJobsResponse) ProtoReflect

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

func (*ListPatchJobsResponse) Reset

func (x *ListPatchJobsResponse) Reset()

func (*ListPatchJobsResponse) String

func (x *ListPatchJobsResponse) String() string

ListVulnerabilityReportsRequest

type ListVulnerabilityReportsRequest struct {

	// Required. The parent resource name.
	//
	// Format: `projects/{project}/locations/{location}/instances/-`
	//
	// For `{project}`, either `project-number` or `project-id` can be provided.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A pagination token returned from a previous call to
	// `ListVulnerabilityReports` that indicates where this listing
	// should continue from.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// If provided, this field specifies the criteria that must be met by a
	// `vulnerabilityReport` API resource to be included in the response.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

A request message for listing vulnerability reports for all VM instances in the specified location.

func (*ListVulnerabilityReportsRequest) Descriptor

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

Deprecated: Use ListVulnerabilityReportsRequest.ProtoReflect.Descriptor instead.

func (*ListVulnerabilityReportsRequest) GetFilter

func (x *ListVulnerabilityReportsRequest) GetFilter() string

func (*ListVulnerabilityReportsRequest) GetPageSize

func (x *ListVulnerabilityReportsRequest) GetPageSize() int32

func (*ListVulnerabilityReportsRequest) GetPageToken

func (x *ListVulnerabilityReportsRequest) GetPageToken() string

func (*ListVulnerabilityReportsRequest) GetParent

func (x *ListVulnerabilityReportsRequest) GetParent() string

func (*ListVulnerabilityReportsRequest) ProtoMessage

func (*ListVulnerabilityReportsRequest) ProtoMessage()

func (*ListVulnerabilityReportsRequest) ProtoReflect

func (*ListVulnerabilityReportsRequest) Reset

func (*ListVulnerabilityReportsRequest) String

ListVulnerabilityReportsResponse

type ListVulnerabilityReportsResponse struct {

	// List of vulnerabilityReport objects.
	VulnerabilityReports []*VulnerabilityReport `protobuf:"bytes,1,rep,name=vulnerability_reports,json=vulnerabilityReports,proto3" json:"vulnerability_reports,omitempty"`
	// The pagination token to retrieve the next page of vulnerabilityReports
	// object.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

A response message for listing vulnerability reports for all VM instances in the specified location.

func (*ListVulnerabilityReportsResponse) Descriptor

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

Deprecated: Use ListVulnerabilityReportsResponse.ProtoReflect.Descriptor instead.

func (*ListVulnerabilityReportsResponse) GetNextPageToken

func (x *ListVulnerabilityReportsResponse) GetNextPageToken() string

func (*ListVulnerabilityReportsResponse) GetVulnerabilityReports

func (x *ListVulnerabilityReportsResponse) GetVulnerabilityReports() []*VulnerabilityReport

func (*ListVulnerabilityReportsResponse) ProtoMessage

func (*ListVulnerabilityReportsResponse) ProtoMessage()

func (*ListVulnerabilityReportsResponse) ProtoReflect

func (*ListVulnerabilityReportsResponse) Reset

func (*ListVulnerabilityReportsResponse) String

MonthlySchedule

type MonthlySchedule struct {

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

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

func (*MonthlySchedule) Descriptor

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

Deprecated: Use MonthlySchedule.ProtoReflect.Descriptor instead.

func (*MonthlySchedule) GetDayOfMonth

func (m *MonthlySchedule) GetDayOfMonth() isMonthlySchedule_DayOfMonth

func (*MonthlySchedule) GetMonthDay

func (x *MonthlySchedule) GetMonthDay() int32

func (*MonthlySchedule) GetWeekDayOfMonth

func (x *MonthlySchedule) GetWeekDayOfMonth() *WeekDayOfMonth

func (*MonthlySchedule) ProtoMessage

func (*MonthlySchedule) ProtoMessage()

func (*MonthlySchedule) ProtoReflect

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

func (*MonthlySchedule) Reset

func (x *MonthlySchedule) Reset()

func (*MonthlySchedule) String

func (x *MonthlySchedule) String() string

MonthlySchedule_MonthDay

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

MonthlySchedule_WeekDayOfMonth

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

OSPolicy

type OSPolicy struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

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

	Mode OSPolicy_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=google.cloud.osconfig.v1.OSPolicy_Mode" json:"mode,omitempty"`

	ResourceGroups []*OSPolicy_ResourceGroup `protobuf:"bytes,4,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"`

	AllowNoResourceGroupMatch bool "" /* 143 byte string literal not displayed */

}

An OS policy defines the desired state configuration for a VM.

func (*OSPolicy) Descriptor

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

Deprecated: Use OSPolicy.ProtoReflect.Descriptor instead.

func (*OSPolicy) GetAllowNoResourceGroupMatch

func (x *OSPolicy) GetAllowNoResourceGroupMatch() bool

func (*OSPolicy) GetDescription

func (x *OSPolicy) GetDescription() string

func (*OSPolicy) GetId

func (x *OSPolicy) GetId() string

func (*OSPolicy) GetMode

func (x *OSPolicy) GetMode() OSPolicy_Mode

func (*OSPolicy) GetResourceGroups

func (x *OSPolicy) GetResourceGroups() []*OSPolicy_ResourceGroup

func (*OSPolicy) ProtoMessage

func (*OSPolicy) ProtoMessage()

func (*OSPolicy) ProtoReflect

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

func (*OSPolicy) Reset

func (x *OSPolicy) Reset()

func (*OSPolicy) String

func (x *OSPolicy) String() string

OSPolicyAssignment

type OSPolicyAssignment struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

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

	OsPolicies []*OSPolicy `protobuf:"bytes,3,rep,name=os_policies,json=osPolicies,proto3" json:"os_policies,omitempty"`

	InstanceFilter *OSPolicyAssignment_InstanceFilter `protobuf:"bytes,4,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`

	Rollout *OSPolicyAssignment_Rollout `protobuf:"bytes,5,opt,name=rollout,proto3" json:"rollout,omitempty"`

	RevisionId string `protobuf:"bytes,6,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`

	RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`

	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`

	RolloutState OSPolicyAssignment_RolloutState "" /* 160 byte string literal not displayed */

	Baseline bool `protobuf:"varint,10,opt,name=baseline,proto3" json:"baseline,omitempty"`

	Deleted bool `protobuf:"varint,11,opt,name=deleted,proto3" json:"deleted,omitempty"`

	Reconciling bool `protobuf:"varint,12,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	Uid string `protobuf:"bytes,13,opt,name=uid,proto3" json:"uid,omitempty"`

}

OS policy assignment is an API resource that is used to apply a set of OS policies to a dynamically targeted group of Compute Engine VM instances.

An OS policy is used to define the desired state configuration for a Compute Engine VM instance through a set of configuration resources that provide capabilities such as installing or removing software packages, or executing a script.

For more information, see OS policy and OS policy assignment.

func (*OSPolicyAssignment) Descriptor

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

Deprecated: Use OSPolicyAssignment.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment) GetBaseline

func (x *OSPolicyAssignment) GetBaseline() bool

func (*OSPolicyAssignment) GetDeleted

func (x *OSPolicyAssignment) GetDeleted() bool

func (*OSPolicyAssignment) GetDescription

func (x *OSPolicyAssignment) GetDescription() string

func (*OSPolicyAssignment) GetEtag

func (x *OSPolicyAssignment) GetEtag() string

func (*OSPolicyAssignment) GetInstanceFilter

func (x *OSPolicyAssignment) GetInstanceFilter() *OSPolicyAssignment_InstanceFilter

func (*OSPolicyAssignment) GetName

func (x *OSPolicyAssignment) GetName() string

func (*OSPolicyAssignment) GetOsPolicies

func (x *OSPolicyAssignment) GetOsPolicies() []*OSPolicy

func (*OSPolicyAssignment) GetReconciling

func (x *OSPolicyAssignment) GetReconciling() bool

func (*OSPolicyAssignment) GetRevisionCreateTime

func (x *OSPolicyAssignment) GetRevisionCreateTime() *timestamppb.Timestamp

func (*OSPolicyAssignment) GetRevisionId

func (x *OSPolicyAssignment) GetRevisionId() string

func (*OSPolicyAssignment) GetRollout

func (*OSPolicyAssignment) GetRolloutState

func (*OSPolicyAssignment) GetUid

func (x *OSPolicyAssignment) GetUid() string

func (*OSPolicyAssignment) ProtoMessage

func (*OSPolicyAssignment) ProtoMessage()

func (*OSPolicyAssignment) ProtoReflect

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

func (*OSPolicyAssignment) Reset

func (x *OSPolicyAssignment) Reset()

func (*OSPolicyAssignment) String

func (x *OSPolicyAssignment) String() string

OSPolicyAssignmentOperationMetadata

type OSPolicyAssignmentOperationMetadata struct {
	OsPolicyAssignment string `protobuf:"bytes,1,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`

	ApiMethod OSPolicyAssignmentOperationMetadata_APIMethod "" /* 165 byte string literal not displayed */

	RolloutState OSPolicyAssignmentOperationMetadata_RolloutState "" /* 177 byte string literal not displayed */

	RolloutStartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=rollout_start_time,json=rolloutStartTime,proto3" json:"rollout_start_time,omitempty"`

	RolloutUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=rollout_update_time,json=rolloutUpdateTime,proto3" json:"rollout_update_time,omitempty"`

}

OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.

func (*OSPolicyAssignmentOperationMetadata) Descriptor

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

Deprecated: Use OSPolicyAssignmentOperationMetadata.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentOperationMetadata) GetApiMethod

func (*OSPolicyAssignmentOperationMetadata) GetOsPolicyAssignment

func (x *OSPolicyAssignmentOperationMetadata) GetOsPolicyAssignment() string

func (*OSPolicyAssignmentOperationMetadata) GetRolloutStartTime

func (x *OSPolicyAssignmentOperationMetadata) GetRolloutStartTime() *timestamppb.Timestamp

func (*OSPolicyAssignmentOperationMetadata) GetRolloutState

func (*OSPolicyAssignmentOperationMetadata) GetRolloutUpdateTime

func (x *OSPolicyAssignmentOperationMetadata) GetRolloutUpdateTime() *timestamppb.Timestamp

func (*OSPolicyAssignmentOperationMetadata) ProtoMessage

func (*OSPolicyAssignmentOperationMetadata) ProtoMessage()

func (*OSPolicyAssignmentOperationMetadata) ProtoReflect

func (*OSPolicyAssignmentOperationMetadata) Reset

func (*OSPolicyAssignmentOperationMetadata) String

OSPolicyAssignmentOperationMetadata_APIMethod

type OSPolicyAssignmentOperationMetadata_APIMethod int32

The OS policy assignment API method.

OSPolicyAssignmentOperationMetadata_API_METHOD_UNSPECIFIED, OSPolicyAssignmentOperationMetadata_CREATE, OSPolicyAssignmentOperationMetadata_UPDATE, OSPolicyAssignmentOperationMetadata_DELETE

const (
	// Invalid value
	OSPolicyAssignmentOperationMetadata_API_METHOD_UNSPECIFIED OSPolicyAssignmentOperationMetadata_APIMethod = 0
	// Create OS policy assignment API method
	OSPolicyAssignmentOperationMetadata_CREATE OSPolicyAssignmentOperationMetadata_APIMethod = 1
	// Update OS policy assignment API method
	OSPolicyAssignmentOperationMetadata_UPDATE OSPolicyAssignmentOperationMetadata_APIMethod = 2
	// Delete OS policy assignment API method
	OSPolicyAssignmentOperationMetadata_DELETE OSPolicyAssignmentOperationMetadata_APIMethod = 3
)

func (OSPolicyAssignmentOperationMetadata_APIMethod) Descriptor

func (OSPolicyAssignmentOperationMetadata_APIMethod) Enum

func (OSPolicyAssignmentOperationMetadata_APIMethod) EnumDescriptor

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

Deprecated: Use OSPolicyAssignmentOperationMetadata_APIMethod.Descriptor instead.

func (OSPolicyAssignmentOperationMetadata_APIMethod) Number

func (OSPolicyAssignmentOperationMetadata_APIMethod) String

func (OSPolicyAssignmentOperationMetadata_APIMethod) Type

OSPolicyAssignmentOperationMetadata_RolloutState

type OSPolicyAssignmentOperationMetadata_RolloutState int32

State of the rollout

OSPolicyAssignmentOperationMetadata_ROLLOUT_STATE_UNSPECIFIED, OSPolicyAssignmentOperationMetadata_IN_PROGRESS, OSPolicyAssignmentOperationMetadata_CANCELLING, OSPolicyAssignmentOperationMetadata_CANCELLED, OSPolicyAssignmentOperationMetadata_SUCCEEDED

const (
	// Invalid value
	OSPolicyAssignmentOperationMetadata_ROLLOUT_STATE_UNSPECIFIED OSPolicyAssignmentOperationMetadata_RolloutState = 0
	// The rollout is in progress.
	OSPolicyAssignmentOperationMetadata_IN_PROGRESS OSPolicyAssignmentOperationMetadata_RolloutState = 1
	// The rollout is being cancelled.
	OSPolicyAssignmentOperationMetadata_CANCELLING OSPolicyAssignmentOperationMetadata_RolloutState = 2
	// The rollout is cancelled.
	OSPolicyAssignmentOperationMetadata_CANCELLED OSPolicyAssignmentOperationMetadata_RolloutState = 3
	// The rollout has completed successfully.
	OSPolicyAssignmentOperationMetadata_SUCCEEDED OSPolicyAssignmentOperationMetadata_RolloutState = 4
)

func (OSPolicyAssignmentOperationMetadata_RolloutState) Descriptor

func (OSPolicyAssignmentOperationMetadata_RolloutState) Enum

func (OSPolicyAssignmentOperationMetadata_RolloutState) EnumDescriptor

Deprecated: Use OSPolicyAssignmentOperationMetadata_RolloutState.Descriptor instead.

func (OSPolicyAssignmentOperationMetadata_RolloutState) Number

func (OSPolicyAssignmentOperationMetadata_RolloutState) String

func (OSPolicyAssignmentOperationMetadata_RolloutState) Type

OSPolicyAssignmentReport

type OSPolicyAssignmentReport struct {

	// The `OSPolicyAssignmentReport` API resource name.
	//
	// Format:
	// `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The Compute Engine VM instance name.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Reference to the `OSPolicyAssignment` API resource that the `OSPolicy`
	// belongs to.
	//
	// Format:
	// `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`
	OsPolicyAssignment string `protobuf:"bytes,3,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
	// Compliance data for each `OSPolicy` that is applied to the VM.
	OsPolicyCompliances []*OSPolicyAssignmentReport_OSPolicyCompliance `protobuf:"bytes,4,rep,name=os_policy_compliances,json=osPolicyCompliances,proto3" json:"os_policy_compliances,omitempty"`
	// Timestamp for when the report was last generated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Unique identifier of the last attempted run to apply the OS policies
	// associated with this assignment on the VM.
	//
	// This ID is logged by the OS Config agent while applying the OS
	// policies associated with this assignment on the VM.
	// NOTE: If the service is unable to successfully connect to the agent for
	// this run, then this id will not be available in the agent logs.
	LastRunId string `protobuf:"bytes,6,opt,name=last_run_id,json=lastRunId,proto3" json:"last_run_id,omitempty"`
	// contains filtered or unexported fields
}

A report of the OS policy assignment status for a given instance.

func (*OSPolicyAssignmentReport) Descriptor

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

Deprecated: Use OSPolicyAssignmentReport.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport) GetInstance

func (x *OSPolicyAssignmentReport) GetInstance() string

func (*OSPolicyAssignmentReport) GetLastRunId

func (x *OSPolicyAssignmentReport) GetLastRunId() string

func (*OSPolicyAssignmentReport) GetName

func (x *OSPolicyAssignmentReport) GetName() string

func (*OSPolicyAssignmentReport) GetOsPolicyAssignment

func (x *OSPolicyAssignmentReport) GetOsPolicyAssignment() string

func (*OSPolicyAssignmentReport) GetOsPolicyCompliances

func (*OSPolicyAssignmentReport) GetUpdateTime

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

func (*OSPolicyAssignmentReport) ProtoMessage

func (*OSPolicyAssignmentReport) ProtoMessage()

func (*OSPolicyAssignmentReport) ProtoReflect

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

func (*OSPolicyAssignmentReport) Reset

func (x *OSPolicyAssignmentReport) Reset()

func (*OSPolicyAssignmentReport) String

func (x *OSPolicyAssignmentReport) String() string

OSPolicyAssignmentReport_OSPolicyCompliance

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

	ComplianceState OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState "" /* 197 byte string literal not displayed */

	ComplianceStateReason string `protobuf:"bytes,3,opt,name=compliance_state_reason,json=complianceStateReason,proto3" json:"compliance_state_reason,omitempty"`

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

}

Compliance data for an OS policy

func (*OSPolicyAssignmentReport_OSPolicyCompliance) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetComplianceState

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetComplianceStateReason

func (x *OSPolicyAssignmentReport_OSPolicyCompliance) GetComplianceStateReason() string

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetOsPolicyId

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetOsPolicyResourceCompliances

func (*OSPolicyAssignmentReport_OSPolicyCompliance) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance) String

OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState

type OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState int32

Possible compliance states for an os policy.

OSPolicyAssignmentReport_OSPolicyCompliance_UNKNOWN, OSPolicyAssignmentReport_OSPolicyCompliance_COMPLIANT, OSPolicyAssignmentReport_OSPolicyCompliance_NON_COMPLIANT

const (
	// The policy is in an unknown compliance state.
	//
	// Refer to the field `compliance_state_reason` to learn the exact reason
	// for the policy to be in this compliance state.
	OSPolicyAssignmentReport_OSPolicyCompliance_UNKNOWN OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState = 0
	// Policy is compliant.
	//
	// The policy is compliant if all the underlying resources are also
	// compliant.
	OSPolicyAssignmentReport_OSPolicyCompliance_COMPLIANT OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState = 1
	// Policy is non-compliant.
	//
	// The policy is non-compliant if one or more underlying resources are
	// non-compliant.
	OSPolicyAssignmentReport_OSPolicyCompliance_NON_COMPLIANT OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState = 2
)

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Descriptor

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Enum

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) EnumDescriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState.Descriptor instead.

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Number

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) String

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Type

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance struct {
	OsPolicyResourceId string `protobuf:"bytes,1,opt,name=os_policy_resource_id,json=osPolicyResourceId,proto3" json:"os_policy_resource_id,omitempty"`

	ConfigSteps []*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep `protobuf:"bytes,2,rep,name=config_steps,json=configSteps,proto3" json:"config_steps,omitempty"`

	ComplianceState OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState "" /* 224 byte string literal not displayed */

	ComplianceStateReason string `protobuf:"bytes,4,opt,name=compliance_state_reason,json=complianceStateReason,proto3" json:"compliance_state_reason,omitempty"`

	Output isOSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_Output `protobuf_oneof:"output"`

}

Compliance data for an OS policy resource.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetComplianceState

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetComplianceStateReason

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetConfigSteps

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetExecResourceOutput

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetOsPolicyResourceId

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetOutput

func (m *OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetOutput() isOSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_Output

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) String

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState int32

Possible compliance states for a resource.

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_UNKNOWN, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_COMPLIANT, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_NON_COMPLIANT

const (
	// The resource is in an unknown compliance state.
	//
	// To get more details about why the policy is in this state, review
	// the output of the `compliance_state_reason` field.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_UNKNOWN OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState = 0
	// Resource is compliant.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_COMPLIANT OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState = 1
	// Resource is non-compliant.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_NON_COMPLIANT OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState = 2
)

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Descriptor

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Enum

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) EnumDescriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState.Descriptor instead.

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Number

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) String

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Type

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput struct {

	// Output from enforcement phase output file (if run).
	// Output size is limited to 100K bytes.
	EnforcementOutput []byte `protobuf:"bytes,2,opt,name=enforcement_output,json=enforcementOutput,proto3" json:"enforcement_output,omitempty"`
	// contains filtered or unexported fields
}

ExecResource specific output.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) String

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_ struct {
	// ExecResource specific output.
	ExecResourceOutput *OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput `protobuf:"bytes,5,opt,name=exec_resource_output,json=execResourceOutput,proto3,oneof"`
}

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep struct {
	Type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type "" /* 195 byte string literal not displayed */

	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`

}

Step performed by the OS Config agent for configuring an OSPolicy resource to its desired state.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) GetErrorMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) GetType

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) String

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type int32

Supported configuration step types

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_TYPE_UNSPECIFIED, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_VALIDATION, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_CHECK, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_ENFORCEMENT, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_CHECK_POST_ENFORCEMENT

const (
	// Default value. This value is unused.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_TYPE_UNSPECIFIED OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type = 0
	// Checks for resource conflicts such as schema errors.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_VALIDATION OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type = 1
	// Checks the current status of the desired state for a resource.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_CHECK OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type = 2
	// Enforces the desired state for a resource that is not in desired
	// state.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_ENFORCEMENT OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type = 3
	// Re-checks the status of the desired state. This check is done
	// for a resource after the enforcement of all OS policies.
	//
	// This step is used to determine the final desired state status for
	// the resource. It accounts for any resources that might have drifted
	// from their desired state due to side effects from executing other
	// resources.
	OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_CHECK_POST_ENFORCEMENT OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type = 4
)

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Descriptor

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Enum

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) EnumDescriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type.Descriptor instead.

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Number

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) String

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Type

OSPolicyAssignment_InstanceFilter

type OSPolicyAssignment_InstanceFilter struct {

	// Target all VMs in the project. If true, no other criteria is
	// permitted.
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// List of label sets used for VM inclusion.
	//
	// If the list has more than one `LabelSet`, the VM is included if any
	// of the label sets are applicable for the VM.
	InclusionLabels []*OSPolicyAssignment_LabelSet `protobuf:"bytes,2,rep,name=inclusion_labels,json=inclusionLabels,proto3" json:"inclusion_labels,omitempty"`
	// List of label sets used for VM exclusion.
	//
	// If the list has more than one label set, the VM is excluded if any
	// of the label sets are applicable for the VM.
	ExclusionLabels []*OSPolicyAssignment_LabelSet `protobuf:"bytes,3,rep,name=exclusion_labels,json=exclusionLabels,proto3" json:"exclusion_labels,omitempty"`
	// List of inventories to select VMs.
	//
	// A VM is selected if its inventory data matches at least one of the
	// following inventories.
	Inventories []*OSPolicyAssignment_InstanceFilter_Inventory `protobuf:"bytes,4,rep,name=inventories,proto3" json:"inventories,omitempty"`
	// contains filtered or unexported fields
}

Filters to select target VMs for an assignment.

If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

func (*OSPolicyAssignment_InstanceFilter) Descriptor

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

Deprecated: Use OSPolicyAssignment_InstanceFilter.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_InstanceFilter) GetAll

func (*OSPolicyAssignment_InstanceFilter) GetExclusionLabels

func (*OSPolicyAssignment_InstanceFilter) GetInclusionLabels

func (*OSPolicyAssignment_InstanceFilter) GetInventories

func (*OSPolicyAssignment_InstanceFilter) ProtoMessage

func (*OSPolicyAssignment_InstanceFilter) ProtoMessage()

func (*OSPolicyAssignment_InstanceFilter) ProtoReflect

func (*OSPolicyAssignment_InstanceFilter) Reset

func (*OSPolicyAssignment_InstanceFilter) String

OSPolicyAssignment_InstanceFilter_Inventory

type OSPolicyAssignment_InstanceFilter_Inventory struct {

	// Required. The OS short name
	OsShortName string `protobuf:"bytes,1,opt,name=os_short_name,json=osShortName,proto3" json:"os_short_name,omitempty"`
	// The OS version
	//
	// Prefix matches are supported if asterisk(*) is provided as the
	// last character. For example, to match all versions with a major
	// version of `7`, specify the following value for this field `7.*`
	//
	// An empty string matches all OS versions.
	OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	// contains filtered or unexported fields
}

VM inventory details.

func (*OSPolicyAssignment_InstanceFilter_Inventory) Descriptor

Deprecated: Use OSPolicyAssignment_InstanceFilter_Inventory.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_InstanceFilter_Inventory) GetOsShortName

func (*OSPolicyAssignment_InstanceFilter_Inventory) GetOsVersion

func (*OSPolicyAssignment_InstanceFilter_Inventory) ProtoMessage

func (*OSPolicyAssignment_InstanceFilter_Inventory) ProtoReflect

func (*OSPolicyAssignment_InstanceFilter_Inventory) Reset

func (*OSPolicyAssignment_InstanceFilter_Inventory) String

OSPolicyAssignment_LabelSet

type OSPolicyAssignment_LabelSet struct {
	Labels map[string]string "" /* 153 byte string literal not displayed */

}

Message representing label set.

  • A label is a key value pair set for a VM.
  • A LabelSet is a set of labels.
  • Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet.
  • Example: A LabelSet with 2 labels: env=prod and type=webserver will only be applicable for those VMs with both labels present.

func (*OSPolicyAssignment_LabelSet) Descriptor

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

Deprecated: Use OSPolicyAssignment_LabelSet.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_LabelSet) GetLabels

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

func (*OSPolicyAssignment_LabelSet) ProtoMessage

func (*OSPolicyAssignment_LabelSet) ProtoMessage()

func (*OSPolicyAssignment_LabelSet) ProtoReflect

func (*OSPolicyAssignment_LabelSet) Reset

func (x *OSPolicyAssignment_LabelSet) Reset()

func (*OSPolicyAssignment_LabelSet) String

func (x *OSPolicyAssignment_LabelSet) String() string

OSPolicyAssignment_Rollout

type OSPolicyAssignment_Rollout struct {

	// Required. The maximum number (or percentage) of VMs per zone to disrupt
	// at any given moment.
	DisruptionBudget *FixedOrPercent `protobuf:"bytes,1,opt,name=disruption_budget,json=disruptionBudget,proto3" json:"disruption_budget,omitempty"`
	// Required. This determines the minimum duration of time to wait after the
	// configuration changes are applied through the current rollout. A
	// VM continues to count towards the `disruption_budget` at least
	// until this duration of time has passed after configuration changes are
	// applied.
	MinWaitDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=min_wait_duration,json=minWaitDuration,proto3" json:"min_wait_duration,omitempty"`
	// contains filtered or unexported fields
}

Message to configure the rollout at the zonal level for the OS policy assignment.

func (*OSPolicyAssignment_Rollout) Descriptor

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

Deprecated: Use OSPolicyAssignment_Rollout.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_Rollout) GetDisruptionBudget

func (x *OSPolicyAssignment_Rollout) GetDisruptionBudget() *FixedOrPercent

func (*OSPolicyAssignment_Rollout) GetMinWaitDuration

func (x *OSPolicyAssignment_Rollout) GetMinWaitDuration() *durationpb.Duration

func (*OSPolicyAssignment_Rollout) ProtoMessage

func (*OSPolicyAssignment_Rollout) ProtoMessage()

func (*OSPolicyAssignment_Rollout) ProtoReflect

func (*OSPolicyAssignment_Rollout) Reset

func (x *OSPolicyAssignment_Rollout) Reset()

func (*OSPolicyAssignment_Rollout) String

func (x *OSPolicyAssignment_Rollout) String() string

OSPolicyAssignment_RolloutState

type OSPolicyAssignment_RolloutState int32

OS policy assignment rollout state

OSPolicyAssignment_ROLLOUT_STATE_UNSPECIFIED, OSPolicyAssignment_IN_PROGRESS, OSPolicyAssignment_CANCELLING, OSPolicyAssignment_CANCELLED, OSPolicyAssignment_SUCCEEDED

const (
	// Invalid value
	OSPolicyAssignment_ROLLOUT_STATE_UNSPECIFIED OSPolicyAssignment_RolloutState = 0
	// The rollout is in progress.
	OSPolicyAssignment_IN_PROGRESS OSPolicyAssignment_RolloutState = 1
	// The rollout is being cancelled.
	OSPolicyAssignment_CANCELLING OSPolicyAssignment_RolloutState = 2
	// The rollout is cancelled.
	OSPolicyAssignment_CANCELLED OSPolicyAssignment_RolloutState = 3
	// The rollout has completed successfully.
	OSPolicyAssignment_SUCCEEDED OSPolicyAssignment_RolloutState = 4
)

func (OSPolicyAssignment_RolloutState) Descriptor

func (OSPolicyAssignment_RolloutState) Enum

func (OSPolicyAssignment_RolloutState) EnumDescriptor

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

Deprecated: Use OSPolicyAssignment_RolloutState.Descriptor instead.

func (OSPolicyAssignment_RolloutState) Number

func (OSPolicyAssignment_RolloutState) String

func (OSPolicyAssignment_RolloutState) Type

OSPolicy_InventoryFilter

type OSPolicy_InventoryFilter struct {

	// Required. The OS short name
	OsShortName string `protobuf:"bytes,1,opt,name=os_short_name,json=osShortName,proto3" json:"os_short_name,omitempty"`
	// The OS version
	//
	// Prefix matches are supported if asterisk(*) is provided as the
	// last character. For example, to match all versions with a major
	// version of `7`, specify the following value for this field `7.*`
	//
	// An empty string matches all OS versions.
	OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	// contains filtered or unexported fields
}

Filtering criteria to select VMs based on inventory details.

func (*OSPolicy_InventoryFilter) Descriptor

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

Deprecated: Use OSPolicy_InventoryFilter.ProtoReflect.Descriptor instead.

func (*OSPolicy_InventoryFilter) GetOsShortName

func (x *OSPolicy_InventoryFilter) GetOsShortName() string

func (*OSPolicy_InventoryFilter) GetOsVersion

func (x *OSPolicy_InventoryFilter) GetOsVersion() string

func (*OSPolicy_InventoryFilter) ProtoMessage

func (*OSPolicy_InventoryFilter) ProtoMessage()

func (*OSPolicy_InventoryFilter) ProtoReflect

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

func (*OSPolicy_InventoryFilter) Reset

func (x *OSPolicy_InventoryFilter) Reset()

func (*OSPolicy_InventoryFilter) String

func (x *OSPolicy_InventoryFilter) String() string

OSPolicy_Mode

type OSPolicy_Mode int32

Policy mode

OSPolicy_MODE_UNSPECIFIED, OSPolicy_VALIDATION, OSPolicy_ENFORCEMENT

const (
	// Invalid mode
	OSPolicy_MODE_UNSPECIFIED OSPolicy_Mode = 0
	// This mode checks if the configuration resources in the policy are in
	// their desired state. No actions are performed if they are not in the
	// desired state. This mode is used for reporting purposes.
	OSPolicy_VALIDATION OSPolicy_Mode = 1
	// This mode checks if the configuration resources in the policy are in
	// their desired state, and if not, enforces the desired state.
	OSPolicy_ENFORCEMENT OSPolicy_Mode = 2
)

func (OSPolicy_Mode) Descriptor

func (OSPolicy_Mode) Enum

func (x OSPolicy_Mode) Enum() *OSPolicy_Mode

func (OSPolicy_Mode) EnumDescriptor

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

Deprecated: Use OSPolicy_Mode.Descriptor instead.

func (OSPolicy_Mode) Number

func (OSPolicy_Mode) String

func (x OSPolicy_Mode) String() string

func (OSPolicy_Mode) Type

OSPolicy_Resource

type OSPolicy_Resource struct {

	// Required. The id of the resource with the following restrictions:
	//
	// * Must contain only lowercase letters, numbers, and hyphens.
	// * Must start with a letter.
	// * Must be between 1-63 characters.
	// * Must end with a number or a letter.
	// * Must be unique within the OS policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Resource type.
	//
	// Types that are assignable to ResourceType:
	//
	//	*OSPolicy_Resource_Pkg
	//	*OSPolicy_Resource_Repository
	//	*OSPolicy_Resource_Exec
	//	*OSPolicy_Resource_File_
	ResourceType isOSPolicy_Resource_ResourceType `protobuf_oneof:"resource_type"`
	// contains filtered or unexported fields
}

An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc.

The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.

func (*OSPolicy_Resource) Descriptor

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

Deprecated: Use OSPolicy_Resource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource) GetExec

func (*OSPolicy_Resource) GetFile

func (*OSPolicy_Resource) GetId

func (x *OSPolicy_Resource) GetId() string

func (*OSPolicy_Resource) GetPkg

func (*OSPolicy_Resource) GetRepository

func (*OSPolicy_Resource) GetResourceType

func (m *OSPolicy_Resource) GetResourceType() isOSPolicy_Resource_ResourceType

func (*OSPolicy_Resource) ProtoMessage

func (*OSPolicy_Resource) ProtoMessage()

func (*OSPolicy_Resource) ProtoReflect

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

func (*OSPolicy_Resource) Reset

func (x *OSPolicy_Resource) Reset()

func (*OSPolicy_Resource) String

func (x *OSPolicy_Resource) String() string

OSPolicy_ResourceGroup

type OSPolicy_ResourceGroup struct {

	// List of inventory filters for the resource group.
	//
	// The resources in this resource group are applied to the target VM if it
	// satisfies at least one of the following inventory filters.
	//
	// For example, to apply this resource group to VMs running either `RHEL` or
	// `CentOS` operating systems, specify 2 items for the list with following
	// values:
	// inventory_filters[0].os_short_name='rhel' and
	// inventory_filters[1].os_short_name='centos'
	//
	// If the list is empty, this resource group will be applied to the target
	// VM unconditionally.
	InventoryFilters []*OSPolicy_InventoryFilter `protobuf:"bytes,1,rep,name=inventory_filters,json=inventoryFilters,proto3" json:"inventory_filters,omitempty"`
	// Required. List of resources configured for this resource group.
	// The resources are executed in the exact order specified here.
	Resources []*OSPolicy_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

Resource groups provide a mechanism to group OS policy resources.

Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems.

When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the OSFilter specified within the resource group.

func (*OSPolicy_ResourceGroup) Descriptor

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

Deprecated: Use OSPolicy_ResourceGroup.ProtoReflect.Descriptor instead.

func (*OSPolicy_ResourceGroup) GetInventoryFilters

func (x *OSPolicy_ResourceGroup) GetInventoryFilters() []*OSPolicy_InventoryFilter

func (*OSPolicy_ResourceGroup) GetResources

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

func (*OSPolicy_ResourceGroup) ProtoMessage

func (*OSPolicy_ResourceGroup) ProtoMessage()

func (*OSPolicy_ResourceGroup) ProtoReflect

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

func (*OSPolicy_ResourceGroup) Reset

func (x *OSPolicy_ResourceGroup) Reset()

func (*OSPolicy_ResourceGroup) String

func (x *OSPolicy_ResourceGroup) String() string

OSPolicy_Resource_Exec

type OSPolicy_Resource_Exec struct {
	// Exec resource
	Exec *OSPolicy_Resource_ExecResource `protobuf:"bytes,4,opt,name=exec,proto3,oneof"`
}

OSPolicy_Resource_ExecResource

type OSPolicy_Resource_ExecResource struct {

	// Required. What to run to validate this resource is in the desired
	// state. An exit code of 100 indicates "in desired state", and exit code
	// of 101 indicates "not in desired state". Any other exit code indicates
	// a failure running validate.
	Validate *OSPolicy_Resource_ExecResource_Exec `protobuf:"bytes,1,opt,name=validate,proto3" json:"validate,omitempty"`
	// What to run to bring this resource into the desired state.
	// An exit code of 100 indicates "success", any other exit code indicates
	// a failure running enforce.
	Enforce *OSPolicy_Resource_ExecResource_Exec `protobuf:"bytes,2,opt,name=enforce,proto3" json:"enforce,omitempty"`
	// contains filtered or unexported fields
}

A resource that allows executing scripts on the VM.

The ExecResource has 2 stages: validate and enforce and both stages accept a script as an argument to execute.

When the ExecResource is applied by the agent, it first executes the script in the validate stage. The validate stage can signal that the ExecResource is already in the desired state by returning an exit code of 100. If the ExecResource is not in the desired state, it should return an exit code of 101. Any other exit code returned by this stage is considered an error.

If the ExecResource is not in the desired state based on the exit code from the validate stage, the agent proceeds to execute the script from the enforce stage. If the ExecResource is already in the desired state, the enforce stage will not be run. Similar to validate stage, the enforce stage should return an exit code of 100 to indicate that the resource in now in its desired state. Any other exit code is considered an error.

NOTE: An exit code of 100 was chosen over 0 (and 101 vs 1) to have an explicit indicator of in desired state, not in desired state and errors. Because, for example, Powershell will always return an exit code of 0 unless an exit statement is provided in the script. So, for reasons of consistency and being explicit, exit codes 100 and 101 were chosen.

func (*OSPolicy_Resource_ExecResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_ExecResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_ExecResource) GetEnforce

func (*OSPolicy_Resource_ExecResource) GetValidate

func (*OSPolicy_Resource_ExecResource) ProtoMessage

func (*OSPolicy_Resource_ExecResource) ProtoMessage()

func (*OSPolicy_Resource_ExecResource) ProtoReflect

func (*OSPolicy_Resource_ExecResource) Reset

func (x *OSPolicy_Resource_ExecResource) Reset()

func (*OSPolicy_Resource_ExecResource) String

OSPolicy_Resource_ExecResource_Exec

type OSPolicy_Resource_ExecResource_Exec struct {
	Source isOSPolicy_Resource_ExecResource_Exec_Source `protobuf_oneof:"source"`

	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`

	Interpreter OSPolicy_Resource_ExecResource_Exec_Interpreter "" /* 154 byte string literal not displayed */

	OutputFilePath string `protobuf:"bytes,5,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"`

}

A file or script to execute.

func (*OSPolicy_Resource_ExecResource_Exec) Descriptor

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

Deprecated: Use OSPolicy_Resource_ExecResource_Exec.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_ExecResource_Exec) GetArgs

func (*OSPolicy_Resource_ExecResource_Exec) GetFile

func (*OSPolicy_Resource_ExecResource_Exec) GetInterpreter

func (*OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath

func (x *OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath() string

func (*OSPolicy_Resource_ExecResource_Exec) GetScript

func (*OSPolicy_Resource_ExecResource_Exec) GetSource

func (m *OSPolicy_Resource_ExecResource_Exec) GetSource() isOSPolicy_Resource_ExecResource_Exec_Source

func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage

func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage()

func (*OSPolicy_Resource_ExecResource_Exec) ProtoReflect

func (*OSPolicy_Resource_ExecResource_Exec) Reset

func (*OSPolicy_Resource_ExecResource_Exec) String

OSPolicy_Resource_ExecResource_Exec_File

type OSPolicy_Resource_ExecResource_Exec_File struct {
	// A remote or local file.
	File *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
}

OSPolicy_Resource_ExecResource_Exec_Interpreter

type OSPolicy_Resource_ExecResource_Exec_Interpreter int32

The interpreter to use.

OSPolicy_Resource_ExecResource_Exec_INTERPRETER_UNSPECIFIED, OSPolicy_Resource_ExecResource_Exec_NONE, OSPolicy_Resource_ExecResource_Exec_SHELL, OSPolicy_Resource_ExecResource_Exec_POWERSHELL

const (
	// Invalid value, the request will return validation error.
	OSPolicy_Resource_ExecResource_Exec_INTERPRETER_UNSPECIFIED OSPolicy_Resource_ExecResource_Exec_Interpreter = 0
	// If an interpreter is not specified, the
	// source is executed directly. This execution, without an
	// interpreter, only succeeds for executables and scripts that have shebang lines.
	OSPolicy_Resource_ExecResource_Exec_NONE OSPolicy_Resource_ExecResource_Exec_Interpreter = 1
	// Indicates that the script runs with `/bin/sh` on Linux and
	// `cmd.exe` on Windows.
	OSPolicy_Resource_ExecResource_Exec_SHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 2
	// Indicates that the script runs with PowerShell.
	OSPolicy_Resource_ExecResource_Exec_POWERSHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 3
)

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Descriptor

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Enum

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) EnumDescriptor

Deprecated: Use OSPolicy_Resource_ExecResource_Exec_Interpreter.Descriptor instead.

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Number

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) String

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Type

OSPolicy_Resource_ExecResource_Exec_Script

type OSPolicy_Resource_ExecResource_Exec_Script struct {
	// An inline script.
	// The size of the script is limited to 1024 characters.
	Script string `protobuf:"bytes,2,opt,name=script,proto3,oneof"`
}

OSPolicy_Resource_File

type OSPolicy_Resource_File struct {

	// A specific type of file.
	//
	// Types that are assignable to Type:
	//
	//	*OSPolicy_Resource_File_Remote_
	//	*OSPolicy_Resource_File_Gcs_
	//	*OSPolicy_Resource_File_LocalPath
	Type isOSPolicy_Resource_File_Type `protobuf_oneof:"type"`
	// Defaults to false. When false, files are subject to validations
	// based on the file type:
	//
	// Remote: A checksum must be specified.
	// Cloud Storage: An object generation number must be specified.
	AllowInsecure bool `protobuf:"varint,4,opt,name=allow_insecure,json=allowInsecure,proto3" json:"allow_insecure,omitempty"`
	// contains filtered or unexported fields
}

A remote or local file.

func (*OSPolicy_Resource_File) Descriptor

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

Deprecated: Use OSPolicy_Resource_File.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File) GetAllowInsecure

func (x *OSPolicy_Resource_File) GetAllowInsecure() bool

func (*OSPolicy_Resource_File) GetGcs

func (*OSPolicy_Resource_File) GetLocalPath

func (x *OSPolicy_Resource_File) GetLocalPath() string

func (*OSPolicy_Resource_File) GetRemote

func (*OSPolicy_Resource_File) GetType

func (m *OSPolicy_Resource_File) GetType() isOSPolicy_Resource_File_Type

func (*OSPolicy_Resource_File) ProtoMessage

func (*OSPolicy_Resource_File) ProtoMessage()

func (*OSPolicy_Resource_File) ProtoReflect

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

func (*OSPolicy_Resource_File) Reset

func (x *OSPolicy_Resource_File) Reset()

func (*OSPolicy_Resource_File) String

func (x *OSPolicy_Resource_File) String() string

OSPolicy_Resource_FileResource

type OSPolicy_Resource_FileResource struct {
	Source isOSPolicy_Resource_FileResource_Source `protobuf_oneof:"source"`

	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`

	State OSPolicy_Resource_FileResource_DesiredState "" /* 138 byte string literal not displayed */

	Permissions string `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`

}

A resource that manages the state of a file.

func (*OSPolicy_Resource_FileResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_FileResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_FileResource) GetContent

func (x *OSPolicy_Resource_FileResource) GetContent() string

func (*OSPolicy_Resource_FileResource) GetFile

func (*OSPolicy_Resource_FileResource) GetPath

func (*OSPolicy_Resource_FileResource) GetPermissions

func (x *OSPolicy_Resource_FileResource) GetPermissions() string

func (*OSPolicy_Resource_FileResource) GetSource

func (m *OSPolicy_Resource_FileResource) GetSource() isOSPolicy_Resource_FileResource_Source

func (*OSPolicy_Resource_FileResource) GetState

func (*OSPolicy_Resource_FileResource) ProtoMessage

func (*OSPolicy_Resource_FileResource) ProtoMessage()

func (*OSPolicy_Resource_FileResource) ProtoReflect

func (*OSPolicy_Resource_FileResource) Reset

func (x *OSPolicy_Resource_FileResource) Reset()

func (*OSPolicy_Resource_FileResource) String

OSPolicy_Resource_FileResource_Content

type OSPolicy_Resource_FileResource_Content struct {
	// A a file with this content.
	// The size of the content is limited to 1024 characters.
	Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}

OSPolicy_Resource_FileResource_DesiredState

type OSPolicy_Resource_FileResource_DesiredState int32

Desired state of the file.

OSPolicy_Resource_FileResource_DESIRED_STATE_UNSPECIFIED, OSPolicy_Resource_FileResource_PRESENT, OSPolicy_Resource_FileResource_ABSENT, OSPolicy_Resource_FileResource_CONTENTS_MATCH

const (
	// Unspecified is invalid.
	OSPolicy_Resource_FileResource_DESIRED_STATE_UNSPECIFIED OSPolicy_Resource_FileResource_DesiredState = 0
	// Ensure file at path is present.
	OSPolicy_Resource_FileResource_PRESENT OSPolicy_Resource_FileResource_DesiredState = 1
	// Ensure file at path is absent.
	OSPolicy_Resource_FileResource_ABSENT OSPolicy_Resource_FileResource_DesiredState = 2
	// Ensure the contents of the file at path matches. If the file does
	// not exist it will be created.
	OSPolicy_Resource_FileResource_CONTENTS_MATCH OSPolicy_Resource_FileResource_DesiredState = 3
)

func (OSPolicy_Resource_FileResource_DesiredState) Descriptor

func (OSPolicy_Resource_FileResource_DesiredState) Enum

func (OSPolicy_Resource_FileResource_DesiredState) EnumDescriptor

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

Deprecated: Use OSPolicy_Resource_FileResource_DesiredState.Descriptor instead.

func (OSPolicy_Resource_FileResource_DesiredState) Number

func (OSPolicy_Resource_FileResource_DesiredState) String

func (OSPolicy_Resource_FileResource_DesiredState) Type

OSPolicy_Resource_FileResource_File

type OSPolicy_Resource_FileResource_File struct {
	// A remote or local source.
	File *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
}

OSPolicy_Resource_File_

type OSPolicy_Resource_File_ struct {
	// File resource
	File *OSPolicy_Resource_FileResource `protobuf:"bytes,5,opt,name=file,proto3,oneof"`
}

OSPolicy_Resource_File_Gcs

type OSPolicy_Resource_File_Gcs struct {

	// Required. Bucket of the Cloud Storage object.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the Cloud Storage object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Generation number of the Cloud Storage object.
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// contains filtered or unexported fields
}

Specifies a file available as a Cloud Storage Object.

func (*OSPolicy_Resource_File_Gcs) Descriptor

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

Deprecated: Use OSPolicy_Resource_File_Gcs.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File_Gcs) GetBucket

func (x *OSPolicy_Resource_File_Gcs) GetBucket() string

func (*OSPolicy_Resource_File_Gcs) GetGeneration

func (x *OSPolicy_Resource_File_Gcs) GetGeneration() int64

func (*OSPolicy_Resource_File_Gcs) GetObject

func (x *OSPolicy_Resource_File_Gcs) GetObject() string

func (*OSPolicy_Resource_File_Gcs) ProtoMessage

func (*OSPolicy_Resource_File_Gcs) ProtoMessage()

func (*OSPolicy_Resource_File_Gcs) ProtoReflect

func (*OSPolicy_Resource_File_Gcs) Reset

func (x *OSPolicy_Resource_File_Gcs) Reset()

func (*OSPolicy_Resource_File_Gcs) String

func (x *OSPolicy_Resource_File_Gcs) String() string

OSPolicy_Resource_File_Gcs_

type OSPolicy_Resource_File_Gcs_ struct {
	// A Cloud Storage object.
	Gcs *OSPolicy_Resource_File_Gcs `protobuf:"bytes,2,opt,name=gcs,proto3,oneof"`
}

OSPolicy_Resource_File_LocalPath

type OSPolicy_Resource_File_LocalPath struct {
	// A local path within the VM to use.
	LocalPath string `protobuf:"bytes,3,opt,name=local_path,json=localPath,proto3,oneof"`
}

OSPolicy_Resource_File_Remote

type OSPolicy_Resource_File_Remote struct {

	// Required. URI from which to fetch the object. It should contain both
	// the protocol and path following the format `{protocol}://{location}`.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// SHA256 checksum of the remote file.
	Sha256Checksum string `protobuf:"bytes,2,opt,name=sha256_checksum,json=sha256Checksum,proto3" json:"sha256_checksum,omitempty"`
	// contains filtered or unexported fields
}

Specifies a file available via some URI.

func (*OSPolicy_Resource_File_Remote) Descriptor

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

Deprecated: Use OSPolicy_Resource_File_Remote.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File_Remote) GetSha256Checksum

func (x *OSPolicy_Resource_File_Remote) GetSha256Checksum() string

func (*OSPolicy_Resource_File_Remote) GetUri

func (*OSPolicy_Resource_File_Remote) ProtoMessage

func (*OSPolicy_Resource_File_Remote) ProtoMessage()

func (*OSPolicy_Resource_File_Remote) ProtoReflect

func (*OSPolicy_Resource_File_Remote) Reset

func (x *OSPolicy_Resource_File_Remote) Reset()

func (*OSPolicy_Resource_File_Remote) String

OSPolicy_Resource_File_Remote_

type OSPolicy_Resource_File_Remote_ struct {
	// A generic remote file.
	Remote *OSPolicy_Resource_File_Remote `protobuf:"bytes,1,opt,name=remote,proto3,oneof"`
}

OSPolicy_Resource_PackageResource

type OSPolicy_Resource_PackageResource struct {
	DesiredState OSPolicy_Resource_PackageResource_DesiredState "" /* 175 byte string literal not displayed */

	SystemPackage isOSPolicy_Resource_PackageResource_SystemPackage `protobuf_oneof:"system_package"`

}

A resource that manages a system package.

func (*OSPolicy_Resource_PackageResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource) GetApt

func (*OSPolicy_Resource_PackageResource) GetDeb

func (*OSPolicy_Resource_PackageResource) GetDesiredState

func (*OSPolicy_Resource_PackageResource) GetGooget

func (*OSPolicy_Resource_PackageResource) GetMsi

func (*OSPolicy_Resource_PackageResource) GetRpm

func (*OSPolicy_Resource_PackageResource) GetSystemPackage

func (m *OSPolicy_Resource_PackageResource) GetSystemPackage() isOSPolicy_Resource_PackageResource_SystemPackage

func (*OSPolicy_Resource_PackageResource) GetYum

func (*OSPolicy_Resource_PackageResource) GetZypper

func (*OSPolicy_Resource_PackageResource) ProtoMessage

func (*OSPolicy_Resource_PackageResource) ProtoMessage()

func (*OSPolicy_Resource_PackageResource) ProtoReflect

func (*OSPolicy_Resource_PackageResource) Reset

func (*OSPolicy_Resource_PackageResource) String

OSPolicy_Resource_PackageResource_APT

type OSPolicy_Resource_PackageResource_APT struct {

	// Required. Package name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A package managed by APT.

  • install: apt-get update && apt-get -y install [name]
  • remove: apt-get -y remove [name]

func (*OSPolicy_Resource_PackageResource_APT) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_APT.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_APT) GetName

func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage

func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_APT) ProtoReflect

func (*OSPolicy_Resource_PackageResource_APT) Reset

func (*OSPolicy_Resource_PackageResource_APT) String

OSPolicy_Resource_PackageResource_Apt

type OSPolicy_Resource_PackageResource_Apt struct {
	// A package managed by Apt.
	Apt *OSPolicy_Resource_PackageResource_APT `protobuf:"bytes,2,opt,name=apt,proto3,oneof"`
}

OSPolicy_Resource_PackageResource_Deb

type OSPolicy_Resource_PackageResource_Deb struct {

	// Required. A deb package.
	Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Whether dependencies should also be installed.
	// - install when false: `dpkg -i package`
	// - install when true: `apt-get update && apt-get -y install
	// package.deb`
	PullDeps bool `protobuf:"varint,2,opt,name=pull_deps,json=pullDeps,proto3" json:"pull_deps,omitempty"`
	// contains filtered or unexported fields
}

A deb package file. dpkg packages only support INSTALLED state.

func (*OSPolicy_Resource_PackageResource_Deb) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_Deb.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_Deb) GetPullDeps

func (*OSPolicy_Resource_PackageResource_Deb) GetSource

func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage

func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_Deb) ProtoReflect

func (*OSPolicy_Resource_PackageResource_Deb) Reset

func (*OSPolicy_Resource_PackageResource_Deb) String

OSPolicy_Resource_PackageResource_Deb_

type OSPolicy_Resource_PackageResource_Deb_ struct {
	// A deb package file.
	Deb *OSPolicy_Resource_PackageResource_Deb `protobuf:"bytes,3,opt,name=deb,proto3,oneof"`
}

OSPolicy_Resource_PackageResource_DesiredState

type OSPolicy_Resource_PackageResource_DesiredState int32

The desired state that the OS Config agent maintains on the VM.

OSPolicy_Resource_PackageResource_DESIRED_STATE_UNSPECIFIED, OSPolicy_Resource_PackageResource_INSTALLED, OSPolicy_Resource_PackageResource_REMOVED

const (
	// Unspecified is invalid.
	OSPolicy_Resource_PackageResource_DESIRED_STATE_UNSPECIFIED OSPolicy_Resource_PackageResource_DesiredState = 0
	// Ensure that the package is installed.
	OSPolicy_Resource_PackageResource_INSTALLED OSPolicy_Resource_PackageResource_DesiredState = 1
	// The agent ensures that the package is not installed and
	// uninstalls it if detected.
	OSPolicy_Resource_PackageResource_REMOVED OSPolicy_Resource_PackageResource_DesiredState = 2
)

func (OSPolicy_Resource_PackageResource_DesiredState) Descriptor

func (OSPolicy_Resource_PackageResource_DesiredState) Enum

func (OSPolicy_Resource_PackageResource_DesiredState) EnumDescriptor

Deprecated: Use OSPolicy_Resource_PackageResource_DesiredState.Descriptor instead.

func (OSPolicy_Resource_PackageResource_DesiredState) Number

func (OSPolicy_Resource_PackageResource_DesiredState) String

func (OSPolicy_Resource_PackageResource_DesiredState) Type

OSPolicy_Resource_PackageResource_GooGet

type OSPolicy_Resource_PackageResource_GooGet struct {

	// Required. Package name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A package managed by GooGet.

  • install: googet -noconfirm install package
  • remove: googet -noconfirm remove package

func (*OSPolicy_Resource_PackageResource_GooGet) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_GooGet.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_GooGet) GetName

func (*OSPolicy_Resource_PackageResource_GooGet) ProtoMessage

func (*OSPolicy_Resource_PackageResource_GooGet) ProtoReflect

func (*OSPolicy_Resource_PackageResource_GooGet) Reset

func (*OSPolicy_Resource_PackageResource_GooGet) String

OSPolicy_Resource_PackageResource_Googet

type OSPolicy_Resource_PackageResource_Googet struct {
	// A package managed by GooGet.
	Googet *OSPolicy_Resource_PackageResource_GooGet `protobuf:"bytes,7,opt,name=googet,proto3,oneof"`
}

OSPolicy_Resource_PackageResource_MSI

type OSPolicy_Resource_PackageResource_MSI struct {

	// Required. The MSI package.
	Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Additional properties to use during installation.
	// This should be in the format of Property=Setting.
	// Appended to the defaults of `ACTION=INSTALL
	// REBOOT=ReallySuppress`.
	Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

An MSI package. MSI packages only support INSTALLED state.

func (*OSPolicy_Resource_PackageResource_MSI) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_MSI.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_MSI) GetProperties

func (x *OSPolicy_Resource_PackageResource_MSI) GetProperties() []string

func (*OSPolicy_Resource_PackageResource_MSI) GetSource

func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage

func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_MSI) ProtoReflect

func (*OSPolicy_Resource_PackageResource_MSI) Reset

func (*OSPolicy_Resource_PackageResource_MSI) String

OSPolicy_Resource_PackageResource_Msi

type OSPolicy_Resource_PackageResource_Msi struct {
	// An MSI package.
	Msi *OSPolicy_Resource_PackageResource_MSI `protobuf:"bytes,8,opt,name=msi,proto3,oneof"`
}

OSPolicy_Resource_PackageResource_RPM

type OSPolicy_Resource_PackageResource_RPM struct {

	// Required. An rpm package.
	Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Whether dependencies should also be installed.
	// - install when false: `rpm --upgrade --replacepkgs package.rpm`
	// - install when true: `yum -y install package.rpm` or
	// `zypper -y install package.rpm`
	PullDeps bool `protobuf:"varint,2,opt,name=pull_deps,json=pullDeps,proto3" json:"pull_deps,omitempty"`
	// contains filtered or unexported fields
}

An RPM package file. RPM packages only support INSTALLED state.

func (*OSPolicy_Resource_PackageResource_RPM) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_RPM.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_RPM) GetPullDeps

func (*OSPolicy_Resource_PackageResource_RPM) GetSource

func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage

func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_RPM) ProtoReflect

func (*OSPolicy_Resource_PackageResource_RPM) Reset

func (*OSPolicy_Resource_PackageResource_RPM) String

OSPolicy_Resource_PackageResource_Rpm

type OSPolicy_Resource_PackageResource_Rpm struct {
	// An rpm package file.
	Rpm *OSPolicy_Resource_PackageResource_RPM `protobuf:"bytes,6,opt,name=rpm,proto3,oneof"`
}

OSPolicy_Resource_PackageResource_YUM

type OSPolicy_Resource_PackageResource_YUM struct {

	// Required. Package name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A package managed by YUM.

  • install: yum -y install package
  • remove: yum -y remove package

func (*OSPolicy_Resource_PackageResource_YUM) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_YUM.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_YUM) GetName

func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage

func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_YUM) ProtoReflect

func (*OSPolicy_Resource_PackageResource_YUM) Reset

func (*OSPolicy_Resource_PackageResource_YUM) String

OSPolicy_Resource_PackageResource_Yum

type OSPolicy_Resource_PackageResource_Yum struct {
	// A package managed by YUM.
	Yum *OSPolicy_Resource_PackageResource_YUM `protobuf:"bytes,4,opt,name=yum,proto3,oneof"`
}

OSPolicy_Resource_PackageResource_Zypper

type OSPolicy_Resource_PackageResource_Zypper struct {

	// Required. Package name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A package managed by Zypper.

  • install: zypper -y install package
  • remove: zypper -y rm package

func (*OSPolicy_Resource_PackageResource_Zypper) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_Zypper.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_Zypper) GetName

func (*OSPolicy_Resource_PackageResource_Zypper) ProtoMessage

func (*OSPolicy_Resource_PackageResource_Zypper) ProtoReflect

func (*OSPolicy_Resource_PackageResource_Zypper) Reset

func (*OSPolicy_Resource_PackageResource_Zypper) String

OSPolicy_Resource_PackageResource_Zypper_

type OSPolicy_Resource_PackageResource_Zypper_ struct {
	// A package managed by Zypper.
	Zypper *OSPolicy_Resource_PackageResource_Zypper `protobuf:"bytes,5,opt,name=zypper,proto3,oneof"`
}

OSPolicy_Resource_Pkg

type OSPolicy_Resource_Pkg struct {
	// Package resource
	Pkg *OSPolicy_Resource_PackageResource `protobuf:"bytes,2,opt,name=pkg,proto3,oneof"`
}

OSPolicy_Resource_Repository

type OSPolicy_Resource_Repository struct {
	// Package repository resource
	Repository *OSPolicy_Resource_RepositoryResource `protobuf:"bytes,3,opt,name=repository,proto3,oneof"`
}

OSPolicy_Resource_RepositoryResource

type OSPolicy_Resource_RepositoryResource struct {

	// A specific type of repository.
	//
	// Types that are assignable to Repository:
	//
	//	*OSPolicy_Resource_RepositoryResource_Apt
	//	*OSPolicy_Resource_RepositoryResource_Yum
	//	*OSPolicy_Resource_RepositoryResource_Zypper
	//	*OSPolicy_Resource_RepositoryResource_Goo
	Repository isOSPolicy_Resource_RepositoryResource_Repository `protobuf_oneof:"repository"`
	// contains filtered or unexported fields
}

A resource that manages a package repository.

func (*OSPolicy_Resource_RepositoryResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_RepositoryResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource) GetApt

func (*OSPolicy_Resource_RepositoryResource) GetGoo

func (*OSPolicy_Resource_RepositoryResource) GetRepository

func (m *OSPolicy_Resource_RepositoryResource) GetRepository() isOSPolicy_Resource_RepositoryResource_Repository

func (*OSPolicy_Resource_RepositoryResource) GetYum

func (*OSPolicy_Resource_RepositoryResource) GetZypper

func (*OSPolicy_Resource_RepositoryResource) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource) ProtoMessage()

func (*OSPolicy_Resource_RepositoryResource) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource) Reset

func (*OSPolicy_Resource_RepositoryResource) String

OSPolicy_Resource_RepositoryResource_Apt

type OSPolicy_Resource_RepositoryResource_Apt struct {
	// An Apt Repository.
	Apt *OSPolicy_Resource_RepositoryResource_AptRepository `protobuf:"bytes,1,opt,name=apt,proto3,oneof"`
}

OSPolicy_Resource_RepositoryResource_AptRepository

type OSPolicy_Resource_RepositoryResource_AptRepository struct {
	ArchiveType OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType "" /* 188 byte string literal not displayed */

	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`

	Distribution string `protobuf:"bytes,3,opt,name=distribution,proto3" json:"distribution,omitempty"`

	Components []string `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"`

	GpgKey string `protobuf:"bytes,5,opt,name=gpg_key,json=gpgKey,proto3" json:"gpg_key,omitempty"`

}

Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.

func (*OSPolicy_Resource_RepositoryResource_AptRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetArchiveType

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetComponents

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetDistribution

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetGpgKey

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetUri

func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_AptRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_AptRepository) String

OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType

type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType int32

Type of archive.

OSPolicy_Resource_RepositoryResource_AptRepository_ARCHIVE_TYPE_UNSPECIFIED, OSPolicy_Resource_RepositoryResource_AptRepository_DEB, OSPolicy_Resource_RepositoryResource_AptRepository_DEB_SRC

const (
	// Unspecified is invalid.
	OSPolicy_Resource_RepositoryResource_AptRepository_ARCHIVE_TYPE_UNSPECIFIED OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 0
	// Deb indicates that the archive contains binary files.
	OSPolicy_Resource_RepositoryResource_AptRepository_DEB OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 1
	// Deb-src indicates that the archive contains source files.
	OSPolicy_Resource_RepositoryResource_AptRepository_DEB_SRC OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 2
)

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Descriptor

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Enum

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) EnumDescriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.Descriptor instead.

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Number

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) String

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Type

OSPolicy_Resource_RepositoryResource_Goo

type OSPolicy_Resource_RepositoryResource_Goo struct {
	// A Goo Repository.
	Goo *OSPolicy_Resource_RepositoryResource_GooRepository `protobuf:"bytes,4,opt,name=goo,proto3,oneof"`
}

OSPolicy_Resource_RepositoryResource_GooRepository

type OSPolicy_Resource_RepositoryResource_GooRepository struct {

	// Required. The name of the repository.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The url of the repository.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

Represents a Goo package repository. These are added to a repo file that is managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.

func (*OSPolicy_Resource_RepositoryResource_GooRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_GooRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetName

func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetUrl

func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_GooRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_GooRepository) String

OSPolicy_Resource_RepositoryResource_Yum

type OSPolicy_Resource_RepositoryResource_Yum struct {
	// A Yum Repository.
	Yum *OSPolicy_Resource_RepositoryResource_YumRepository `protobuf:"bytes,2,opt,name=yum,proto3,oneof"`
}

OSPolicy_Resource_RepositoryResource_YumRepository

type OSPolicy_Resource_RepositoryResource_YumRepository struct {

	// Required. A one word, unique name for this repository. This is  the
	// `repo id` in the yum config file and also the `display_name` if
	// `display_name` is omitted. This id is also used as the unique
	// identifier when checking for resource conflicts.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The display name of the repository.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The location of the repository directory.
	BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// URIs of GPG keys.
	GpgKeys []string `protobuf:"bytes,4,rep,name=gpg_keys,json=gpgKeys,proto3" json:"gpg_keys,omitempty"`
	// contains filtered or unexported fields
}

Represents a single yum package repository. These are added to a repo file that is managed at /etc/yum.repos.d/google_osconfig.repo.

func (*OSPolicy_Resource_RepositoryResource_YumRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_YumRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetBaseUrl

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetDisplayName

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetGpgKeys

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetId

func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_YumRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_YumRepository) String

OSPolicy_Resource_RepositoryResource_Zypper

type OSPolicy_Resource_RepositoryResource_Zypper struct {
	// A Zypper Repository.
	Zypper *OSPolicy_Resource_RepositoryResource_ZypperRepository `protobuf:"bytes,3,opt,name=zypper,proto3,oneof"`
}

OSPolicy_Resource_RepositoryResource_ZypperRepository

type OSPolicy_Resource_RepositoryResource_ZypperRepository struct {

	// Required. A one word, unique name for this repository. This is the
	// `repo id` in the zypper config file and also the `display_name` if
	// `display_name` is omitted. This id is also used as the unique
	// identifier when checking for GuestPolicy conflicts.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The display name of the repository.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The location of the repository directory.
	BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// URIs of GPG keys.
	GpgKeys []string `protobuf:"bytes,4,rep,name=gpg_keys,json=gpgKeys,proto3" json:"gpg_keys,omitempty"`
	// contains filtered or unexported fields
}

Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_ZypperRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetBaseUrl

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetDisplayName

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetGpgKeys

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetId

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) String

OneTimeSchedule

type OneTimeSchedule struct {

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

Sets the time for a one time patch deployment. Timestamp is in RFC3339 text format.

func (*OneTimeSchedule) Descriptor

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

Deprecated: Use OneTimeSchedule.ProtoReflect.Descriptor instead.

func (*OneTimeSchedule) GetExecuteTime

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

func (*OneTimeSchedule) ProtoMessage

func (*OneTimeSchedule) ProtoMessage()

func (*OneTimeSchedule) ProtoReflect

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

func (*OneTimeSchedule) Reset

func (x *OneTimeSchedule) Reset()

func (*OneTimeSchedule) String

func (x *OneTimeSchedule) String() string

OsConfigServiceClient

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

OsConfigServiceClient is the client API for OsConfigService service.

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

func NewOsConfigServiceClient

func NewOsConfigServiceClient(cc grpc.ClientConnInterface) OsConfigServiceClient

OsConfigServiceServer

type OsConfigServiceServer interface {
	// Patch VM instances by creating and running a patch job.
	ExecutePatchJob(context.Context, *ExecutePatchJobRequest) (*PatchJob, error)
	// Get the patch job. This can be used to track the progress of an
	// ongoing patch job or review the details of completed jobs.
	GetPatchJob(context.Context, *GetPatchJobRequest) (*PatchJob, error)
	// Cancel a patch job. The patch job must be active. Canceled patch jobs
	// cannot be restarted.
	CancelPatchJob(context.Context, *CancelPatchJobRequest) (*PatchJob, error)
	// Get a list of patch jobs.
	ListPatchJobs(context.Context, *ListPatchJobsRequest) (*ListPatchJobsResponse, error)
	// Get a list of instance details for a given patch job.
	ListPatchJobInstanceDetails(context.Context, *ListPatchJobInstanceDetailsRequest) (*ListPatchJobInstanceDetailsResponse, error)
	// Create an OS Config patch deployment.
	CreatePatchDeployment(context.Context, *CreatePatchDeploymentRequest) (*PatchDeployment, error)
	// Get an OS Config patch deployment.
	GetPatchDeployment(context.Context, *GetPatchDeploymentRequest) (*PatchDeployment, error)
	// Get a page of OS Config patch deployments.
	ListPatchDeployments(context.Context, *ListPatchDeploymentsRequest) (*ListPatchDeploymentsResponse, error)
	// Delete an OS Config patch deployment.
	DeletePatchDeployment(context.Context, *DeletePatchDeploymentRequest) (*emptypb.Empty, error)
	// Update an OS Config patch deployment.
	UpdatePatchDeployment(context.Context, *UpdatePatchDeploymentRequest) (*PatchDeployment, error)
	// Change state of patch deployment to "PAUSED".
	// Patch deployment in paused state doesn't generate patch jobs.
	PausePatchDeployment(context.Context, *PausePatchDeploymentRequest) (*PatchDeployment, error)
	// Change state of patch deployment back to "ACTIVE".
	// Patch deployment in active state continues to generate patch jobs.
	ResumePatchDeployment(context.Context, *ResumePatchDeploymentRequest) (*PatchDeployment, error)
}

OsConfigServiceServer is the server API for OsConfigService service.

OsConfigZonalServiceClient

type OsConfigZonalServiceClient interface {
	// Create an OS policy assignment.
	//
	// This method also creates the first revision of the OS policy assignment.
	//
	// This method returns a long running operation (LRO) that contains the
	// rollout details. The rollout can be cancelled by cancelling the LRO.
	//
	// For more information, see [Method:
	// projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
	CreateOSPolicyAssignment(ctx context.Context, in *CreateOSPolicyAssignmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Update an existing OS policy assignment.
	//
	// This method creates a new revision of the OS policy assignment.
	//
	// This method returns a long running operation (LRO) that contains the
	// rollout details. The rollout can be cancelled by cancelling the LRO.
	//
	// For more information, see [Method:
	// projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
	UpdateOSPolicyAssignment(ctx context.Context, in *UpdateOSPolicyAssignmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Retrieve an existing OS policy assignment.
	//
	// This method always returns the latest revision. In order to retrieve a
	// previous revision of the assignment, also provide the revision ID in the
	// `name` parameter.
	GetOSPolicyAssignment(ctx context.Context, in *GetOSPolicyAssignmentRequest, opts ...grpc.CallOption) (*OSPolicyAssignment, error)
	// List the OS policy assignments under the parent resource.
	//
	// For each OS policy assignment, the latest revision is returned.
	ListOSPolicyAssignments(ctx context.Context, in *ListOSPolicyAssignmentsRequest, opts ...grpc.CallOption) (*ListOSPolicyAssignmentsResponse, error)
	// List the OS policy assignment revisions for a given OS policy assignment.
	ListOSPolicyAssignmentRevisions(ctx context.Context, in *ListOSPolicyAssignmentRevisionsRequest, opts ...grpc.CallOption) (*ListOSPolicyAssignmentRevisionsResponse, error)
	// Delete the OS policy assignment.
	//
	// This method creates a new revision of the OS policy assignment.
	//
	// This method returns a long running operation (LRO) that contains the
	// rollout details. The rollout can be cancelled by cancelling the LRO.
	//
	// If the LRO completes and is not cancelled, all revisions associated with
	// the OS policy assignment are deleted.
	//
	// For more information, see [Method:
	// projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
	DeleteOSPolicyAssignment(ctx context.Context, in *DeleteOSPolicyAssignmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Get the OS policy asssignment report for the specified Compute Engine VM
	// instance.
	GetOSPolicyAssignmentReport(ctx context.Context, in *GetOSPolicyAssignmentReportRequest, opts ...grpc.CallOption) (*OSPolicyAssignmentReport, error)
	// List OS policy asssignment reports for all Compute Engine VM instances in
	// the specified zone.
	ListOSPolicyAssignmentReports(ctx context.Context, in *ListOSPolicyAssignmentReportsRequest, opts ...grpc.CallOption) (*ListOSPolicyAssignmentReportsResponse, error)
	// Get inventory data for the specified VM instance. If the VM has no
	// associated inventory, the message `NOT_FOUND` is returned.
	GetInventory(ctx context.Context, in *GetInventoryRequest, opts ...grpc.CallOption) (*Inventory, error)
	// List inventory data for all VM instances in the specified zone.
	ListInventories(ctx context.Context, in *ListInventoriesRequest, opts ...grpc.CallOption) (*ListInventoriesResponse, error)
	// Gets the vulnerability report for the specified VM instance. Only VMs with
	// inventory data have vulnerability reports associated with them.
	GetVulnerabilityReport(ctx context.Context, in *GetVulnerabilityReportRequest, opts ...grpc.CallOption) (*VulnerabilityReport, error)
	// List vulnerability reports for all VM instances in the specified zone.
	ListVulnerabilityReports(ctx context.Context, in *ListVulnerabilityReportsRequest, opts ...grpc.CallOption) (*ListVulnerabilityReportsResponse, error)
}

OsConfigZonalServiceClient is the client API for OsConfigZonalService service.

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

func NewOsConfigZonalServiceClient

func NewOsConfigZonalServiceClient(cc grpc.ClientConnInterface) OsConfigZonalServiceClient

OsConfigZonalServiceServer

type OsConfigZonalServiceServer interface {
	// Create an OS policy assignment.
	//
	// This method also creates the first revision of the OS policy assignment.
	//
	// This method returns a long running operation (LRO) that contains the
	// rollout details. The rollout can be cancelled by cancelling the LRO.
	//
	// For more information, see [Method:
	// projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
	CreateOSPolicyAssignment(context.Context, *CreateOSPolicyAssignmentRequest) (*longrunningpb.Operation, error)
	// Update an existing OS policy assignment.
	//
	// This method creates a new revision of the OS policy assignment.
	//
	// This method returns a long running operation (LRO) that contains the
	// rollout details. The rollout can be cancelled by cancelling the LRO.
	//
	// For more information, see [Method:
	// projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
	UpdateOSPolicyAssignment(context.Context, *UpdateOSPolicyAssignmentRequest) (*longrunningpb.Operation, error)
	// Retrieve an existing OS policy assignment.
	//
	// This method always returns the latest revision. In order to retrieve a
	// previous revision of the assignment, also provide the revision ID in the
	// `name` parameter.
	GetOSPolicyAssignment(context.Context, *GetOSPolicyAssignmentRequest) (*OSPolicyAssignment, error)
	// List the OS policy assignments under the parent resource.
	//
	// For each OS policy assignment, the latest revision is returned.
	ListOSPolicyAssignments(context.Context, *ListOSPolicyAssignmentsRequest) (*ListOSPolicyAssignmentsResponse, error)
	// List the OS policy assignment revisions for a given OS policy assignment.
	ListOSPolicyAssignmentRevisions(context.Context, *ListOSPolicyAssignmentRevisionsRequest) (*ListOSPolicyAssignmentRevisionsResponse, error)
	// Delete the OS policy assignment.
	//
	// This method creates a new revision of the OS policy assignment.
	//
	// This method returns a long running operation (LRO) that contains the
	// rollout details. The rollout can be cancelled by cancelling the LRO.
	//
	// If the LRO completes and is not cancelled, all revisions associated with
	// the OS policy assignment are deleted.
	//
	// For more information, see [Method:
	// projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
	DeleteOSPolicyAssignment(context.Context, *DeleteOSPolicyAssignmentRequest) (*longrunningpb.Operation, error)
	// Get the OS policy asssignment report for the specified Compute Engine VM
	// instance.
	GetOSPolicyAssignmentReport(context.Context, *GetOSPolicyAssignmentReportRequest) (*OSPolicyAssignmentReport, error)
	// List OS policy asssignment reports for all Compute Engine VM instances in
	// the specified zone.
	ListOSPolicyAssignmentReports(context.Context, *ListOSPolicyAssignmentReportsRequest) (*ListOSPolicyAssignmentReportsResponse, error)
	// Get inventory data for the specified VM instance. If the VM has no
	// associated inventory, the message `NOT_FOUND` is returned.
	GetInventory(context.Context, *GetInventoryRequest) (*Inventory, error)
	// List inventory data for all VM instances in the specified zone.
	ListInventories(context.Context, *ListInventoriesRequest) (*ListInventoriesResponse, error)
	// Gets the vulnerability report for the specified VM instance. Only VMs with
	// inventory data have vulnerability reports associated with them.
	GetVulnerabilityReport(context.Context, *GetVulnerabilityReportRequest) (*VulnerabilityReport, error)
	// List vulnerability reports for all VM instances in the specified zone.
	ListVulnerabilityReports(context.Context, *ListVulnerabilityReportsRequest) (*ListVulnerabilityReportsResponse, error)
}

OsConfigZonalServiceServer is the server API for OsConfigZonalService service.

PatchConfig

type PatchConfig struct {
	RebootConfig PatchConfig_RebootConfig "" /* 153 byte string literal not displayed */

	Apt *AptSettings `protobuf:"bytes,3,opt,name=apt,proto3" json:"apt,omitempty"`

	Yum *YumSettings `protobuf:"bytes,4,opt,name=yum,proto3" json:"yum,omitempty"`

	Goo *GooSettings `protobuf:"bytes,5,opt,name=goo,proto3" json:"goo,omitempty"`

	Zypper *ZypperSettings `protobuf:"bytes,6,opt,name=zypper,proto3" json:"zypper,omitempty"`

	WindowsUpdate *WindowsUpdateSettings `protobuf:"bytes,7,opt,name=windows_update,json=windowsUpdate,proto3" json:"windows_update,omitempty"`

	PreStep *ExecStep `protobuf:"bytes,8,opt,name=pre_step,json=preStep,proto3" json:"pre_step,omitempty"`

	PostStep *ExecStep `protobuf:"bytes,9,opt,name=post_step,json=postStep,proto3" json:"post_step,omitempty"`

	MigInstancesAllowed bool `protobuf:"varint,10,opt,name=mig_instances_allowed,json=migInstancesAllowed,proto3" json:"mig_instances_allowed,omitempty"`

}

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

func (*PatchConfig) Descriptor

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

Deprecated: Use PatchConfig.ProtoReflect.Descriptor instead.

func (*PatchConfig) GetApt

func (x *PatchConfig) GetApt() *AptSettings

func (*PatchConfig) GetGoo

func (x *PatchConfig) GetGoo() *GooSettings

func (*PatchConfig) GetMigInstancesAllowed

func (x *PatchConfig) GetMigInstancesAllowed() bool

func (*PatchConfig) GetPostStep

func (x *PatchConfig) GetPostStep() *ExecStep

func (*PatchConfig) GetPreStep

func (x *PatchConfig) GetPreStep() *ExecStep

func (*PatchConfig) GetRebootConfig

func (x *PatchConfig) GetRebootConfig() PatchConfig_RebootConfig

func (*PatchConfig) GetWindowsUpdate

func (x *PatchConfig) GetWindowsUpdate() *WindowsUpdateSettings

func (*PatchConfig) GetYum

func (x *PatchConfig) GetYum() *YumSettings

func (*PatchConfig) GetZypper

func (x *PatchConfig) GetZypper() *ZypperSettings

func (*PatchConfig) ProtoMessage

func (*PatchConfig) ProtoMessage()

func (*PatchConfig) ProtoReflect

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

func (*PatchConfig) Reset

func (x *PatchConfig) Reset()

func (*PatchConfig) String

func (x *PatchConfig) String() string

PatchConfig_RebootConfig

type PatchConfig_RebootConfig int32

Post-patch reboot settings.

PatchConfig_REBOOT_CONFIG_UNSPECIFIED, PatchConfig_DEFAULT, PatchConfig_ALWAYS, PatchConfig_NEVER

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

func (PatchConfig_RebootConfig) Enum

func (PatchConfig_RebootConfig) EnumDescriptor

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

Deprecated: Use PatchConfig_RebootConfig.Descriptor instead.

func (PatchConfig_RebootConfig) Number

func (PatchConfig_RebootConfig) String

func (x PatchConfig_RebootConfig) String() string

func (PatchConfig_RebootConfig) Type

PatchDeployment

type PatchDeployment struct {

	// Unique name for the patch deployment resource in a project. The patch
	// deployment name is in the form:
	// `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
	// This field is ignored when you create a new patch deployment.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Description of the patch deployment. Length of the description is
	// limited to 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Required. VM instances to patch.
	InstanceFilter *PatchInstanceFilter `protobuf:"bytes,3,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`
	// Optional. Patch configuration that is applied.
	PatchConfig *PatchConfig `protobuf:"bytes,4,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
	// Optional. Duration of the patch. After the duration ends, the patch times
	// out.
	Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// Schedule for the patch.
	//
	// Types that are assignable to Schedule:
	//
	//	*PatchDeployment_OneTimeSchedule
	//	*PatchDeployment_RecurringSchedule
	Schedule isPatchDeployment_Schedule `protobuf_oneof:"schedule"`
	// Output only. Time the patch deployment was created. Timestamp is in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time the patch deployment was last updated. Timestamp is in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The last time a patch job was started by this deployment.
	// Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
	// format.
	LastExecuteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"`
	// Optional. Rollout strategy of the patch job.
	Rollout *PatchRollout `protobuf:"bytes,11,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// Output only. Current state of the patch deployment.
	State PatchDeployment_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.cloud.osconfig.v1.PatchDeployment_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.

func (*PatchDeployment) Descriptor

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

Deprecated: Use PatchDeployment.ProtoReflect.Descriptor instead.

func (*PatchDeployment) GetCreateTime

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

func (*PatchDeployment) GetDescription

func (x *PatchDeployment) GetDescription() string

func (*PatchDeployment) GetDuration

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

func (*PatchDeployment) GetInstanceFilter

func (x *PatchDeployment) GetInstanceFilter() *PatchInstanceFilter

func (*PatchDeployment) GetLastExecuteTime

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

func (*PatchDeployment) GetName

func (x *PatchDeployment) GetName() string

func (*PatchDeployment) GetOneTimeSchedule

func (x *PatchDeployment) GetOneTimeSchedule() *OneTimeSchedule

func (*PatchDeployment) GetPatchConfig

func (x *PatchDeployment) GetPatchConfig() *PatchConfig

func (*PatchDeployment) GetRecurringSchedule

func (x *PatchDeployment) GetRecurringSchedule() *RecurringSchedule

func (*PatchDeployment) GetRollout

func (x *PatchDeployment) GetRollout() *PatchRollout

func (*PatchDeployment) GetSchedule

func (m *PatchDeployment) GetSchedule() isPatchDeployment_Schedule

func (*PatchDeployment) GetState

func (x *PatchDeployment) GetState() PatchDeployment_State

func (*PatchDeployment) GetUpdateTime

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

func (*PatchDeployment) ProtoMessage

func (*PatchDeployment) ProtoMessage()

func (*PatchDeployment) ProtoReflect

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

func (*PatchDeployment) Reset

func (x *PatchDeployment) Reset()

func (*PatchDeployment) String

func (x *PatchDeployment) String() string

PatchDeployment_OneTimeSchedule

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

PatchDeployment_RecurringSchedule

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

PatchDeployment_State

type PatchDeployment_State int32

Represents state of patch peployment.

PatchDeployment_STATE_UNSPECIFIED, PatchDeployment_ACTIVE, PatchDeployment_PAUSED

const (
	// The default value. This value is used if the state is omitted.
	PatchDeployment_STATE_UNSPECIFIED PatchDeployment_State = 0
	// Active value means that patch deployment generates Patch Jobs.
	PatchDeployment_ACTIVE PatchDeployment_State = 1
	// Paused value means that patch deployment does not generate
	// Patch jobs. Requires user action to move in and out from this state.
	PatchDeployment_PAUSED PatchDeployment_State = 2
)

func (PatchDeployment_State) Descriptor

func (PatchDeployment_State) Enum

func (PatchDeployment_State) EnumDescriptor

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

Deprecated: Use PatchDeployment_State.Descriptor instead.

func (PatchDeployment_State) Number

func (PatchDeployment_State) String

func (x PatchDeployment_State) String() string

func (PatchDeployment_State) Type

PatchInstanceFilter

type PatchInstanceFilter struct {

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

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

func (*PatchInstanceFilter) Descriptor

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

Deprecated: Use PatchInstanceFilter.ProtoReflect.Descriptor instead.

func (*PatchInstanceFilter) GetAll

func (x *PatchInstanceFilter) GetAll() bool

func (*PatchInstanceFilter) GetGroupLabels

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

func (*PatchInstanceFilter) GetInstanceNamePrefixes

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

func (*PatchInstanceFilter) GetInstances

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

func (*PatchInstanceFilter) GetZones

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

func (*PatchInstanceFilter) ProtoMessage

func (*PatchInstanceFilter) ProtoMessage()

func (*PatchInstanceFilter) ProtoReflect

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

func (*PatchInstanceFilter) Reset

func (x *PatchInstanceFilter) Reset()

func (*PatchInstanceFilter) String

func (x *PatchInstanceFilter) String() string

PatchInstanceFilter_GroupLabel

type PatchInstanceFilter_GroupLabel struct {
	Labels map[string]string "" /* 153 byte string literal not displayed */

}

Targets a group of VM instances by using their assigned labels. Labels are key-value pairs. A GroupLabel is a combination of labels that is used to target VMs for a patch job.

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

func (*PatchInstanceFilter_GroupLabel) Descriptor

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

Deprecated: Use PatchInstanceFilter_GroupLabel.ProtoReflect.Descriptor instead.

func (*PatchInstanceFilter_GroupLabel) GetLabels

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

func (*PatchInstanceFilter_GroupLabel) ProtoMessage

func (*PatchInstanceFilter_GroupLabel) ProtoMessage()

func (*PatchInstanceFilter_GroupLabel) ProtoReflect

func (*PatchInstanceFilter_GroupLabel) Reset

func (x *PatchInstanceFilter_GroupLabel) Reset()

func (*PatchInstanceFilter_GroupLabel) String

PatchJob

type PatchJob struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,14,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

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

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	State PatchJob_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.osconfig.v1.PatchJob_State" json:"state,omitempty"`

	InstanceFilter *PatchInstanceFilter `protobuf:"bytes,13,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`

	PatchConfig *PatchConfig `protobuf:"bytes,7,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`

	Duration *durationpb.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"`

	InstanceDetailsSummary *PatchJob_InstanceDetailsSummary "" /* 129 byte string literal not displayed */

	DryRun bool `protobuf:"varint,10,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`

	ErrorMessage string `protobuf:"bytes,11,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`

	PercentComplete float64 `protobuf:"fixed64,12,opt,name=percent_complete,json=percentComplete,proto3" json:"percent_complete,omitempty"`

	PatchDeployment string `protobuf:"bytes,15,opt,name=patch_deployment,json=patchDeployment,proto3" json:"patch_deployment,omitempty"`

	Rollout *PatchRollout `protobuf:"bytes,16,opt,name=rollout,proto3" json:"rollout,omitempty"`

}

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

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

For more information about patch jobs, see Creating patch jobs.

func (*PatchJob) Descriptor

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

Deprecated: Use PatchJob.ProtoReflect.Descriptor instead.

func (*PatchJob) GetCreateTime

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

func (*PatchJob) GetDescription

func (x *PatchJob) GetDescription() string

func (*PatchJob) GetDisplayName

func (x *PatchJob) GetDisplayName() string

func (*PatchJob) GetDryRun

func (x *PatchJob) GetDryRun() bool

func (*PatchJob) GetDuration

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

func (*PatchJob) GetErrorMessage

func (x *PatchJob) GetErrorMessage() string

func (*PatchJob) GetInstanceDetailsSummary

func (x *PatchJob) GetInstanceDetailsSummary() *PatchJob_InstanceDetailsSummary

func (*PatchJob) GetInstanceFilter

func (x *PatchJob) GetInstanceFilter() *PatchInstanceFilter

func (*PatchJob) GetName

func (x *PatchJob) GetName() string

func (*PatchJob) GetPatchConfig

func (x *PatchJob) GetPatchConfig() *PatchConfig

func (*PatchJob) GetPatchDeployment

func (x *PatchJob) GetPatchDeployment() string

func (*PatchJob) GetPercentComplete

func (x *PatchJob) GetPercentComplete() float64

func (*PatchJob) GetRollout

func (x *PatchJob) GetRollout() *PatchRollout

func (*PatchJob) GetState

func (x *PatchJob) GetState() PatchJob_State

func (*PatchJob) GetUpdateTime

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

func (*PatchJob) ProtoMessage

func (*PatchJob) ProtoMessage()

func (*PatchJob) ProtoReflect

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

func (*PatchJob) Reset

func (x *PatchJob) Reset()

func (*PatchJob) String

func (x *PatchJob) String() string

PatchJobInstanceDetails

type PatchJobInstanceDetails struct {

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

Patch details for a VM instance. For more information about reviewing VM instance details, see Listing all VM instance details for a specific patch job.

func (*PatchJobInstanceDetails) Descriptor

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

Deprecated: Use PatchJobInstanceDetails.ProtoReflect.Descriptor instead.

func (*PatchJobInstanceDetails) GetAttemptCount

func (x *PatchJobInstanceDetails) GetAttemptCount() int64

func (*PatchJobInstanceDetails) GetFailureReason

func (x *PatchJobInstanceDetails) GetFailureReason() string

func (*PatchJobInstanceDetails) GetInstanceSystemId

func (x *PatchJobInstanceDetails) GetInstanceSystemId() string

func (*PatchJobInstanceDetails) GetName

func (x *PatchJobInstanceDetails) GetName() string

func (*PatchJobInstanceDetails) GetState

func (*PatchJobInstanceDetails) ProtoMessage

func (*PatchJobInstanceDetails) ProtoMessage()

func (*PatchJobInstanceDetails) ProtoReflect

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

func (*PatchJobInstanceDetails) Reset

func (x *PatchJobInstanceDetails) Reset()

func (*PatchJobInstanceDetails) String

func (x *PatchJobInstanceDetails) String() string

PatchJob_InstanceDetailsSummary

type PatchJob_InstanceDetailsSummary struct {
	PendingInstanceCount int64 `protobuf:"varint,1,opt,name=pending_instance_count,json=pendingInstanceCount,proto3" json:"pending_instance_count,omitempty"`

	InactiveInstanceCount int64 "" /* 127 byte string literal not displayed */

	NotifiedInstanceCount int64 "" /* 127 byte string literal not displayed */

	StartedInstanceCount int64 `protobuf:"varint,4,opt,name=started_instance_count,json=startedInstanceCount,proto3" json:"started_instance_count,omitempty"`

	DownloadingPatchesInstanceCount int64 "" /* 159 byte string literal not displayed */

	ApplyingPatchesInstanceCount int64 "" /* 150 byte string literal not displayed */

	RebootingInstanceCount int64 "" /* 130 byte string literal not displayed */

	SucceededInstanceCount int64 "" /* 130 byte string literal not displayed */

	SucceededRebootRequiredInstanceCount int64 "" /* 176 byte string literal not displayed */

	FailedInstanceCount int64 `protobuf:"varint,10,opt,name=failed_instance_count,json=failedInstanceCount,proto3" json:"failed_instance_count,omitempty"`

	AckedInstanceCount int64 `protobuf:"varint,11,opt,name=acked_instance_count,json=ackedInstanceCount,proto3" json:"acked_instance_count,omitempty"`

	TimedOutInstanceCount int64 "" /* 130 byte string literal not displayed */

	PrePatchStepInstanceCount int64 "" /* 144 byte string literal not displayed */

	PostPatchStepInstanceCount int64 "" /* 147 byte string literal not displayed */

	NoAgentDetectedInstanceCount int64 "" /* 153 byte string literal not displayed */

}

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

func (*PatchJob_InstanceDetailsSummary) Descriptor

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

Deprecated: Use PatchJob_InstanceDetailsSummary.ProtoReflect.Descriptor instead.

func (*PatchJob_InstanceDetailsSummary) GetAckedInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetAckedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetApplyingPatchesInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetApplyingPatchesInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetDownloadingPatchesInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetDownloadingPatchesInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetFailedInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetFailedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetInactiveInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetInactiveInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetNoAgentDetectedInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetNoAgentDetectedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetNotifiedInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetNotifiedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPendingInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetPendingInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPostPatchStepInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetPostPatchStepInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetPrePatchStepInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetPrePatchStepInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetRebootingInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetRebootingInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetStartedInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetStartedInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetSucceededInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetSucceededInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetSucceededRebootRequiredInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetSucceededRebootRequiredInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) GetTimedOutInstanceCount

func (x *PatchJob_InstanceDetailsSummary) GetTimedOutInstanceCount() int64

func (*PatchJob_InstanceDetailsSummary) ProtoMessage

func (*PatchJob_InstanceDetailsSummary) ProtoMessage()

func (*PatchJob_InstanceDetailsSummary) ProtoReflect

func (*PatchJob_InstanceDetailsSummary) Reset

func (*PatchJob_InstanceDetailsSummary) String

PatchJob_State

type PatchJob_State int32

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

PatchJob_STATE_UNSPECIFIED, PatchJob_STARTED, PatchJob_INSTANCE_LOOKUP, PatchJob_PATCHING, PatchJob_SUCCEEDED, PatchJob_COMPLETED_WITH_ERRORS, PatchJob_CANCELED, PatchJob_TIMED_OUT

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

func (PatchJob_State) Descriptor

func (PatchJob_State) Enum

func (x PatchJob_State) Enum() *PatchJob_State

func (PatchJob_State) EnumDescriptor

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

Deprecated: Use PatchJob_State.Descriptor instead.

func (PatchJob_State) Number

func (PatchJob_State) String

func (x PatchJob_State) String() string

func (PatchJob_State) Type

PatchRollout

type PatchRollout struct {

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

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

func (*PatchRollout) Descriptor

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

Deprecated: Use PatchRollout.ProtoReflect.Descriptor instead.

func (*PatchRollout) GetDisruptionBudget

func (x *PatchRollout) GetDisruptionBudget() *FixedOrPercent

func (*PatchRollout) GetMode

func (x *PatchRollout) GetMode() PatchRollout_Mode

func (*PatchRollout) ProtoMessage

func (*PatchRollout) ProtoMessage()

func (*PatchRollout) ProtoReflect

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

func (*PatchRollout) Reset

func (x *PatchRollout) Reset()

func (*PatchRollout) String

func (x *PatchRollout) String() string

PatchRollout_Mode

type PatchRollout_Mode int32

Type of the rollout.

PatchRollout_MODE_UNSPECIFIED, PatchRollout_ZONE_BY_ZONE, PatchRollout_CONCURRENT_ZONES

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

func (PatchRollout_Mode) Descriptor

func (PatchRollout_Mode) Enum

func (PatchRollout_Mode) EnumDescriptor

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

Deprecated: Use PatchRollout_Mode.Descriptor instead.

func (PatchRollout_Mode) Number

func (PatchRollout_Mode) String

func (x PatchRollout_Mode) String() string

func (PatchRollout_Mode) Type

PausePatchDeploymentRequest

type PausePatchDeploymentRequest struct {

	// Required. The resource name of the patch deployment in the form
	// `projects/*/patchDeployments/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for pausing a patch deployment.

func (*PausePatchDeploymentRequest) Descriptor

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

Deprecated: Use PausePatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*PausePatchDeploymentRequest) GetName

func (x *PausePatchDeploymentRequest) GetName() string

func (*PausePatchDeploymentRequest) ProtoMessage

func (*PausePatchDeploymentRequest) ProtoMessage()

func (*PausePatchDeploymentRequest) ProtoReflect

func (*PausePatchDeploymentRequest) Reset

func (x *PausePatchDeploymentRequest) Reset()

func (*PausePatchDeploymentRequest) String

func (x *PausePatchDeploymentRequest) String() string

RecurringSchedule

type RecurringSchedule struct {
	TimeZone *datetime.TimeZone `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`

	TimeOfDay *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=time_of_day,json=timeOfDay,proto3" json:"time_of_day,omitempty"`

	Frequency RecurringSchedule_Frequency "" /* 130 byte string literal not displayed */

	ScheduleConfig isRecurringSchedule_ScheduleConfig `protobuf_oneof:"schedule_config"`

	LastExecuteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_execute_time,json=lastExecuteTime,proto3" json:"last_execute_time,omitempty"`

	NextExecuteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=next_execute_time,json=nextExecuteTime,proto3" json:"next_execute_time,omitempty"`

}

Sets the time for recurring patch deployments.

func (*RecurringSchedule) Descriptor

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

Deprecated: Use RecurringSchedule.ProtoReflect.Descriptor instead.

func (*RecurringSchedule) GetEndTime

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

func (*RecurringSchedule) GetFrequency

func (*RecurringSchedule) GetLastExecuteTime

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

func (*RecurringSchedule) GetMonthly

func (x *RecurringSchedule) GetMonthly() *MonthlySchedule

func (*RecurringSchedule) GetNextExecuteTime

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

func (*RecurringSchedule) GetScheduleConfig

func (m *RecurringSchedule) GetScheduleConfig() isRecurringSchedule_ScheduleConfig

func (*RecurringSchedule) GetStartTime

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

func (*RecurringSchedule) GetTimeOfDay

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

func (*RecurringSchedule) GetTimeZone

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

func (*RecurringSchedule) GetWeekly

func (x *RecurringSchedule) GetWeekly() *WeeklySchedule

func (*RecurringSchedule) ProtoMessage

func (*RecurringSchedule) ProtoMessage()

func (*RecurringSchedule) ProtoReflect

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

func (*RecurringSchedule) Reset

func (x *RecurringSchedule) Reset()

func (*RecurringSchedule) String

func (x *RecurringSchedule) String() string

RecurringSchedule_Frequency

type RecurringSchedule_Frequency int32

Specifies the frequency of the recurring patch deployments.

RecurringSchedule_FREQUENCY_UNSPECIFIED, RecurringSchedule_WEEKLY, RecurringSchedule_MONTHLY, RecurringSchedule_DAILY

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

func (RecurringSchedule_Frequency) Descriptor

func (RecurringSchedule_Frequency) Enum

func (RecurringSchedule_Frequency) EnumDescriptor

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

Deprecated: Use RecurringSchedule_Frequency.Descriptor instead.

func (RecurringSchedule_Frequency) Number

func (RecurringSchedule_Frequency) String

func (RecurringSchedule_Frequency) Type

RecurringSchedule_Monthly

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

RecurringSchedule_Weekly

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

ResumePatchDeploymentRequest

type ResumePatchDeploymentRequest struct {

	// Required. The resource name of the patch deployment in the form
	// `projects/*/patchDeployments/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A request message for resuming a patch deployment.

func (*ResumePatchDeploymentRequest) Descriptor

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

Deprecated: Use ResumePatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*ResumePatchDeploymentRequest) GetName

func (x *ResumePatchDeploymentRequest) GetName() string

func (*ResumePatchDeploymentRequest) ProtoMessage

func (*ResumePatchDeploymentRequest) ProtoMessage()

func (*ResumePatchDeploymentRequest) ProtoReflect

func (*ResumePatchDeploymentRequest) Reset

func (x *ResumePatchDeploymentRequest) Reset()

func (*ResumePatchDeploymentRequest) String

UnimplementedOsConfigServiceServer

type UnimplementedOsConfigServiceServer struct {
}

UnimplementedOsConfigServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOsConfigServiceServer) CancelPatchJob

func (*UnimplementedOsConfigServiceServer) CreatePatchDeployment

func (*UnimplementedOsConfigServiceServer) DeletePatchDeployment

func (*UnimplementedOsConfigServiceServer) ExecutePatchJob

func (*UnimplementedOsConfigServiceServer) GetPatchDeployment

func (*UnimplementedOsConfigServiceServer) GetPatchJob

func (*UnimplementedOsConfigServiceServer) ListPatchDeployments

func (*UnimplementedOsConfigServiceServer) ListPatchJobInstanceDetails

func (*UnimplementedOsConfigServiceServer) ListPatchJobs

func (*UnimplementedOsConfigServiceServer) PausePatchDeployment

func (*UnimplementedOsConfigServiceServer) ResumePatchDeployment

func (*UnimplementedOsConfigServiceServer) UpdatePatchDeployment

UnimplementedOsConfigZonalServiceServer

type UnimplementedOsConfigZonalServiceServer struct {
}

UnimplementedOsConfigZonalServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOsConfigZonalServiceServer) CreateOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) DeleteOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) GetInventory

func (*UnimplementedOsConfigZonalServiceServer) GetOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) GetOSPolicyAssignmentReport

func (*UnimplementedOsConfigZonalServiceServer) GetVulnerabilityReport

func (*UnimplementedOsConfigZonalServiceServer) ListInventories

func (*UnimplementedOsConfigZonalServiceServer) ListOSPolicyAssignmentReports

func (*UnimplementedOsConfigZonalServiceServer) ListOSPolicyAssignmentRevisions

func (*UnimplementedOsConfigZonalServiceServer) ListOSPolicyAssignments

func (*UnimplementedOsConfigZonalServiceServer) ListVulnerabilityReports

func (*UnimplementedOsConfigZonalServiceServer) UpdateOSPolicyAssignment

UpdateOSPolicyAssignmentRequest

type UpdateOSPolicyAssignmentRequest struct {

	// Required. The updated OS policy assignment.
	OsPolicyAssignment *OSPolicyAssignment `protobuf:"bytes,1,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
	// Optional. Field mask that controls which fields of the assignment should be
	// updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message to update an OS policy assignment

func (*UpdateOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use UpdateOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateOSPolicyAssignmentRequest) GetOsPolicyAssignment

func (x *UpdateOSPolicyAssignmentRequest) GetOsPolicyAssignment() *OSPolicyAssignment

func (*UpdateOSPolicyAssignmentRequest) GetUpdateMask

func (*UpdateOSPolicyAssignmentRequest) ProtoMessage

func (*UpdateOSPolicyAssignmentRequest) ProtoMessage()

func (*UpdateOSPolicyAssignmentRequest) ProtoReflect

func (*UpdateOSPolicyAssignmentRequest) Reset

func (*UpdateOSPolicyAssignmentRequest) String

UpdatePatchDeploymentRequest

type UpdatePatchDeploymentRequest struct {

	// Required. The patch deployment to Update.
	PatchDeployment *PatchDeployment `protobuf:"bytes,1,opt,name=patch_deployment,json=patchDeployment,proto3" json:"patch_deployment,omitempty"`
	// Optional. Field mask that controls which fields of the patch deployment
	// should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message for updating a patch deployment.

func (*UpdatePatchDeploymentRequest) Descriptor

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

Deprecated: Use UpdatePatchDeploymentRequest.ProtoReflect.Descriptor instead.

func (*UpdatePatchDeploymentRequest) GetPatchDeployment

func (x *UpdatePatchDeploymentRequest) GetPatchDeployment() *PatchDeployment

func (*UpdatePatchDeploymentRequest) GetUpdateMask

func (*UpdatePatchDeploymentRequest) ProtoMessage

func (*UpdatePatchDeploymentRequest) ProtoMessage()

func (*UpdatePatchDeploymentRequest) ProtoReflect

func (*UpdatePatchDeploymentRequest) Reset

func (x *UpdatePatchDeploymentRequest) Reset()

func (*UpdatePatchDeploymentRequest) String

VulnerabilityReport

type VulnerabilityReport struct {

	// Output only. The `vulnerabilityReport` API resource name.
	//
	// Format:
	// `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. List of vulnerabilities affecting the VM.
	Vulnerabilities []*VulnerabilityReport_Vulnerability `protobuf:"bytes,2,rep,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// Output only. The timestamp for when the last vulnerability report was generated for the
	// VM.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time.

For more information, see Vulnerability reports.

func (*VulnerabilityReport) Descriptor

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

Deprecated: Use VulnerabilityReport.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport) GetName

func (x *VulnerabilityReport) GetName() string

func (*VulnerabilityReport) GetUpdateTime

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

func (*VulnerabilityReport) GetVulnerabilities

func (x *VulnerabilityReport) GetVulnerabilities() []*VulnerabilityReport_Vulnerability

func (*VulnerabilityReport) ProtoMessage

func (*VulnerabilityReport) ProtoMessage()

func (*VulnerabilityReport) ProtoReflect

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

func (*VulnerabilityReport) Reset

func (x *VulnerabilityReport) Reset()

func (*VulnerabilityReport) String

func (x *VulnerabilityReport) String() string

VulnerabilityReport_Vulnerability

type VulnerabilityReport_Vulnerability struct {
	Details *VulnerabilityReport_Vulnerability_Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`

	InstalledInventoryItemIds []string "" /* 140 byte string literal not displayed */

	AvailableInventoryItemIds []string "" /* 140 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Items []*VulnerabilityReport_Vulnerability_Item `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"`

}

A vulnerability affecting the VM instance.

func (*VulnerabilityReport_Vulnerability) Descriptor

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

Deprecated: Use VulnerabilityReport_Vulnerability.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability) GetAvailableInventoryItemIds

func (x *VulnerabilityReport_Vulnerability) GetAvailableInventoryItemIds() []string

Deprecated: Marked as deprecated in google/cloud/osconfig/v1/vulnerability.proto.

func (*VulnerabilityReport_Vulnerability) GetCreateTime

func (*VulnerabilityReport_Vulnerability) GetDetails

func (*VulnerabilityReport_Vulnerability) GetInstalledInventoryItemIds

func (x *VulnerabilityReport_Vulnerability) GetInstalledInventoryItemIds() []string

Deprecated: Marked as deprecated in google/cloud/osconfig/v1/vulnerability.proto.

func (*VulnerabilityReport_Vulnerability) GetItems

func (*VulnerabilityReport_Vulnerability) GetUpdateTime

func (*VulnerabilityReport_Vulnerability) ProtoMessage

func (*VulnerabilityReport_Vulnerability) ProtoMessage()

func (*VulnerabilityReport_Vulnerability) ProtoReflect

func (*VulnerabilityReport_Vulnerability) Reset

func (*VulnerabilityReport_Vulnerability) String

VulnerabilityReport_Vulnerability_Details

type VulnerabilityReport_Vulnerability_Details struct {

	// The CVE of the vulnerability. CVE cannot be
	// empty and the combination of 

Contains metadata information for the vulnerability. This information is collected from the upstream feed of the operating system.

func (*VulnerabilityReport_Vulnerability_Details) Descriptor

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

Deprecated: Use VulnerabilityReport_Vulnerability_Details.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Details) GetCve

func (*VulnerabilityReport_Vulnerability_Details) GetCvssV2Score

func (*VulnerabilityReport_Vulnerability_Details) GetCvssV3

func (*VulnerabilityReport_Vulnerability_Details) GetDescription

func (*VulnerabilityReport_Vulnerability_Details) GetReferences

func (*VulnerabilityReport_Vulnerability_Details) GetSeverity

func (*VulnerabilityReport_Vulnerability_Details) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Details) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Details) Reset

func (*VulnerabilityReport_Vulnerability_Details) String

VulnerabilityReport_Vulnerability_Details_Reference

type VulnerabilityReport_Vulnerability_Details_Reference struct {

	// The url of the reference.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// The source of the reference e.g. NVD.
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

A reference for this vulnerability.

func (*VulnerabilityReport_Vulnerability_Details_Reference) Descriptor

Deprecated: Use VulnerabilityReport_Vulnerability_Details_Reference.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Details_Reference) GetSource

func (*VulnerabilityReport_Vulnerability_Details_Reference) GetUrl

func (*VulnerabilityReport_Vulnerability_Details_Reference) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Details_Reference) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Details_Reference) Reset

func (*VulnerabilityReport_Vulnerability_Details_Reference) String

VulnerabilityReport_Vulnerability_Item

type VulnerabilityReport_Vulnerability_Item struct {
	InstalledInventoryItemId string "" /* 137 byte string literal not displayed */

	AvailableInventoryItemId string "" /* 137 byte string literal not displayed */

	FixedCpeUri string `protobuf:"bytes,3,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"`

	UpstreamFix string `protobuf:"bytes,4,opt,name=upstream_fix,json=upstreamFix,proto3" json:"upstream_fix,omitempty"`

}

OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.

func (*VulnerabilityReport_Vulnerability_Item) Descriptor

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

Deprecated: Use VulnerabilityReport_Vulnerability_Item.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Item) GetAvailableInventoryItemId

func (x *VulnerabilityReport_Vulnerability_Item) GetAvailableInventoryItemId() string

func (*VulnerabilityReport_Vulnerability_Item) GetFixedCpeUri

func (x *VulnerabilityReport_Vulnerability_Item) GetFixedCpeUri() string

func (*VulnerabilityReport_Vulnerability_Item) GetInstalledInventoryItemId

func (x *VulnerabilityReport_Vulnerability_Item) GetInstalledInventoryItemId() string

func (*VulnerabilityReport_Vulnerability_Item) GetUpstreamFix

func (x *VulnerabilityReport_Vulnerability_Item) GetUpstreamFix() string

func (*VulnerabilityReport_Vulnerability_Item) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Item) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Item) Reset

func (*VulnerabilityReport_Vulnerability_Item) String

WeekDayOfMonth

type WeekDayOfMonth struct {

	// Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
	// month. -1 indicates the last week of the month.
	WeekOrdinal int32 `protobuf:"varint,1,opt,name=week_ordinal,json=weekOrdinal,proto3" json:"week_ordinal,omitempty"`
	// Required. A day of the week.
	DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
	// Optional. Represents the number of days before or after the given week day
	// of month that the patch deployment is scheduled for. For example if
	// `week_ordinal` and `day_of_week` values point to the second day of the
	// month and this `day_offset` value is set to `3`, the patch deployment takes
	// place three days after the second Tuesday of the month. If this value is
	// negative, for example -5, the patches are deployed five days before before
	// the second Tuesday of the month. Allowed values are in range [-30, 30].
	DayOffset int32 `protobuf:"varint,3,opt,name=day_offset,json=dayOffset,proto3" json:"day_offset,omitempty"`
	// contains filtered or unexported fields
}

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

func (*WeekDayOfMonth) Descriptor

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

Deprecated: Use WeekDayOfMonth.ProtoReflect.Descriptor instead.

func (*WeekDayOfMonth) GetDayOfWeek

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

func (*WeekDayOfMonth) GetDayOffset

func (x *WeekDayOfMonth) GetDayOffset() int32

func (*WeekDayOfMonth) GetWeekOrdinal

func (x *WeekDayOfMonth) GetWeekOrdinal() int32

func (*WeekDayOfMonth) ProtoMessage

func (*WeekDayOfMonth) ProtoMessage()

func (*WeekDayOfMonth) ProtoReflect

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

func (*WeekDayOfMonth) Reset

func (x *WeekDayOfMonth) Reset()

func (*WeekDayOfMonth) String

func (x *WeekDayOfMonth) String() string

WeeklySchedule

type WeeklySchedule struct {

	// Required. Day of the week.
	DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,1,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
	// contains filtered or unexported fields
}

Represents a weekly schedule.

func (*WeeklySchedule) Descriptor

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

Deprecated: Use WeeklySchedule.ProtoReflect.Descriptor instead.

func (*WeeklySchedule) GetDayOfWeek

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

func (*WeeklySchedule) ProtoMessage

func (*WeeklySchedule) ProtoMessage()

func (*WeeklySchedule) ProtoReflect

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

func (*WeeklySchedule) Reset

func (x *WeeklySchedule) Reset()

func (*WeeklySchedule) String

func (x *WeeklySchedule) String() string

WindowsUpdateSettings

type WindowsUpdateSettings struct {
	Classifications []WindowsUpdateSettings_Classification "" /* 158 byte string literal not displayed */

	Excludes []string `protobuf:"bytes,2,rep,name=excludes,proto3" json:"excludes,omitempty"`

	ExclusivePatches []string `protobuf:"bytes,3,rep,name=exclusive_patches,json=exclusivePatches,proto3" json:"exclusive_patches,omitempty"`

}

Windows patching is performed using the Windows Update Agent.

func (*WindowsUpdateSettings) Descriptor

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

Deprecated: Use WindowsUpdateSettings.ProtoReflect.Descriptor instead.

func (*WindowsUpdateSettings) GetClassifications

func (*WindowsUpdateSettings) GetExcludes

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

func (*WindowsUpdateSettings) GetExclusivePatches

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

func (*WindowsUpdateSettings) ProtoMessage

func (*WindowsUpdateSettings) ProtoMessage()

func (*WindowsUpdateSettings) ProtoReflect

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

func (*WindowsUpdateSettings) Reset

func (x *WindowsUpdateSettings) Reset()

func (*WindowsUpdateSettings) String

func (x *WindowsUpdateSettings) String() string

WindowsUpdateSettings_Classification

type WindowsUpdateSettings_Classification int32

WindowsUpdateSettings_CLASSIFICATION_UNSPECIFIED, WindowsUpdateSettings_CRITICAL, WindowsUpdateSettings_SECURITY, WindowsUpdateSettings_DEFINITION, WindowsUpdateSettings_DRIVER, WindowsUpdateSettings_FEATURE_PACK, WindowsUpdateSettings_SERVICE_PACK, WindowsUpdateSettings_TOOL, WindowsUpdateSettings_UPDATE_ROLLUP, WindowsUpdateSettings_UPDATE

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

func (WindowsUpdateSettings_Classification) Enum

func (WindowsUpdateSettings_Classification) EnumDescriptor

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

Deprecated: Use WindowsUpdateSettings_Classification.Descriptor instead.

func (WindowsUpdateSettings_Classification) Number

func (WindowsUpdateSettings_Classification) String

func (WindowsUpdateSettings_Classification) Type

YumSettings

type YumSettings struct {

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

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

Note that not all settings are supported on all platforms.

func (*YumSettings) Descriptor

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

Deprecated: Use YumSettings.ProtoReflect.Descriptor instead.

func (*YumSettings) GetExcludes

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

func (*YumSettings) GetExclusivePackages

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

func (*YumSettings) GetMinimal

func (x *YumSettings) GetMinimal() bool

func (*YumSettings) GetSecurity

func (x *YumSettings) GetSecurity() bool

func (*YumSettings) ProtoMessage

func (*YumSettings) ProtoMessage()

func (*YumSettings) ProtoReflect

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

func (*YumSettings) Reset

func (x *YumSettings) Reset()

func (*YumSettings) String

func (x *YumSettings) String() string

ZypperSettings

type ZypperSettings struct {

	// Adds the `--with-optional` flag to `zypper patch`.
	WithOptional bool `protobuf:"varint,1,opt,name=with_optional,json=withOptional,proto3" json:"with_optional,omitempty"`
	// Adds the `--with-update` flag, to `zypper patch`.
	WithUpdate bool `protobuf:"varint,2,opt,name=with_update,json=withUpdate,proto3" json:"with_update,omitempty"`
	// Install only patches with these categories.
	// Common categories include security, recommended, and feature.
	Categories []string `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"`
	// Install only patches with these severities.
	// Common severities include critical, important, moderate, and low.
	Severities []string `protobuf:"bytes,4,rep,name=severities,proto3" json:"severities,omitempty"`
	// List of patches to exclude from update.
	Excludes []string `protobuf:"bytes,5,rep,name=excludes,proto3" json:"excludes,omitempty"`
	// An exclusive list of patches to be updated. These are the only patches
	// that will be installed using 'zypper patch patch:

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

func (*ZypperSettings) Descriptor

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

Deprecated: Use ZypperSettings.ProtoReflect.Descriptor instead.

func (*ZypperSettings) GetCategories

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

func (*ZypperSettings) GetExcludes

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

func (*ZypperSettings) GetExclusivePatches

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

func (*ZypperSettings) GetSeverities

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

func (*ZypperSettings) GetWithOptional

func (x *ZypperSettings) GetWithOptional() bool

func (*ZypperSettings) GetWithUpdate

func (x *ZypperSettings) GetWithUpdate() bool

func (*ZypperSettings) ProtoMessage

func (*ZypperSettings) ProtoMessage()

func (*ZypperSettings) ProtoReflect

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

func (*ZypperSettings) Reset

func (x *ZypperSettings) Reset()

func (*ZypperSettings) String

func (x *ZypperSettings) String() string