osconfig

package
Version: v0.0.0-...-4f43b33 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for OSPolicyComplianceState.

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

Enum value maps for OSPolicyResourceConfigStep_Type.

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

Enum value maps for OSPolicyResourceConfigStep_Outcome.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_cloud_osconfig_v1alpha_config_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_instance_os_policies_compliance_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_inventory_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_os_policy_assignment_reports_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_os_policy_assignments_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_os_policy_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_osconfig_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_osconfig_zonal_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_osconfig_v1alpha_vulnerability_proto protoreflect.FileDescriptor

Functions

func RegisterOsConfigZonalServiceServer

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

Types

type CVSSv3

type CVSSv3 struct {

	// The base score is a function of the base metric scores.
	// https://www.first.org/cvss/specification-document#Base-Metrics
	BaseScore float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`
	// The Exploitability sub-score equation is derived from the Base
	// Exploitability metrics.
	// https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
	ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"`
	// The Impact sub-score equation is derived from the Base Impact metrics.
	ImpactScore float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"`
	// This metric reflects the context by which vulnerability exploitation is
	// possible.
	AttackVector CVSSv3_AttackVector `` /* 153-byte string literal not displayed */
	// This metric describes the conditions beyond the attacker's control that
	// must exist in order to exploit the vulnerability.
	AttackComplexity CVSSv3_AttackComplexity `` /* 169-byte string literal not displayed */
	// This metric describes the level of privileges an attacker must possess
	// before successfully exploiting the vulnerability.
	PrivilegesRequired CVSSv3_PrivilegesRequired `` /* 177-byte string literal not displayed */
	// This metric captures the requirement for a human user, other than the
	// attacker, to participate in the successful compromise of the vulnerable
	// component.
	UserInteraction CVSSv3_UserInteraction `` /* 165-byte string literal not displayed */
	// The Scope metric captures whether a vulnerability in one vulnerable
	// component impacts resources in components beyond its security scope.
	Scope CVSSv3_Scope `protobuf:"varint,9,opt,name=scope,proto3,enum=google.cloud.osconfig.v1alpha.CVSSv3_Scope" json:"scope,omitempty"`
	// This metric measures the impact to the confidentiality of the information
	// resources managed by a software component due to a successfully exploited
	// vulnerability.
	ConfidentialityImpact CVSSv3_Impact `` /* 175-byte string literal not displayed */
	// This metric measures the impact to integrity of a successfully exploited
	// vulnerability.
	IntegrityImpact CVSSv3_Impact `` /* 157-byte string literal not displayed */
	// This metric measures the impact to the availability of the impacted
	// component resulting from a successfully exploited vulnerability.
	AvailabilityImpact CVSSv3_Impact `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*CVSSv3) Descriptor deprecated

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

type 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.

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 deprecated

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

type CVSSv3_AttackVector

type CVSSv3_AttackVector int32

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

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 deprecated

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

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.

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 deprecated

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

type CVSSv3_PrivilegesRequired

type CVSSv3_PrivilegesRequired int32

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

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 deprecated

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

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.

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 deprecated

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

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.

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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type FixedOrPercent_Fixed

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

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

type GetInstanceOSPoliciesComplianceRequest deprecated

type GetInstanceOSPoliciesComplianceRequest struct {

	// Required. API resource name for instance OS policies compliance resource.
	//
	// Format:
	// `projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}`
	//
	// For `{project}`, either Compute Engine project-number or project-id can be
	// provided.
	// For `{instance}`, either Compute Engine VM 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 OS policies compliance data for the given Compute Engine VM instance.

Deprecated: Do not use.

func (*GetInstanceOSPoliciesComplianceRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceOSPoliciesComplianceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceOSPoliciesComplianceRequest) GetName

func (*GetInstanceOSPoliciesComplianceRequest) ProtoMessage

func (*GetInstanceOSPoliciesComplianceRequest) ProtoReflect

func (*GetInstanceOSPoliciesComplianceRequest) Reset

func (*GetInstanceOSPoliciesComplianceRequest) String

type 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.v1alpha.InventoryView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetInventoryRequest) Descriptor deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type InstanceOSPoliciesCompliance deprecated

type InstanceOSPoliciesCompliance struct {

	// Output only. The `InstanceOSPoliciesCompliance` API resource name.
	//
	// Format:
	// `projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The Compute Engine VM instance name.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Output only. Compliance state of the VM.
	State OSPolicyComplianceState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicyComplianceState" json:"state,omitempty"`
	// Output only. Detailed compliance state of the VM.
	// This field is populated only when compliance state is `UNKNOWN`.
	//
	// It may contain one of the following values:
	//
	// * `no-compliance-data`: Compliance data is not available for this VM.
	// * `no-agent-detected`: OS Config agent is not detected for this VM.
	// * `config-not-supported-by-agent`: The version of the OS Config agent
	// running on this VM does not support configuration management.
	// * `inactive`: VM is not running.
	// * `internal-service-errors`: There were internal service errors encountered
	// while enforcing compliance.
	// * `agent-errors`: OS config agent encountered errors while enforcing
	// compliance.
	DetailedState string `protobuf:"bytes,4,opt,name=detailed_state,json=detailedState,proto3" json:"detailed_state,omitempty"`
	// Output only. The reason for the `detailed_state` of the VM (if any).
	DetailedStateReason string `protobuf:"bytes,5,opt,name=detailed_state_reason,json=detailedStateReason,proto3" json:"detailed_state_reason,omitempty"`
	// Output only. Compliance data for each `OSPolicy` that is applied to the VM.
	OsPolicyCompliances []*InstanceOSPoliciesCompliance_OSPolicyCompliance `protobuf:"bytes,6,rep,name=os_policy_compliances,json=osPolicyCompliances,proto3" json:"os_policy_compliances,omitempty"`
	// Output only. Timestamp of the last compliance check for the VM.
	LastComplianceCheckTime *timestamppb.Timestamp `` /* 134-byte string literal not displayed */
	// Output only. Unique identifier for the last compliance run.
	// This id will be logged by the OS config agent during a compliance run and
	// can be used for debugging and tracing purpose.
	LastComplianceRunId string `protobuf:"bytes,8,opt,name=last_compliance_run_id,json=lastComplianceRunId,proto3" json:"last_compliance_run_id,omitempty"`
	// contains filtered or unexported fields
}

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

A Compute Engine VM can have multiple OS policy assignments, and each assignment can have multiple OS policies. As a result, multiple OS policies could be applied to a single VM.

You can use this API resource to determine both the compliance state of your VM as well as the compliance state of an individual OS policy.

For more information, see [View compliance](https://cloud.google.com/compute/docs/os-configuration-management/view-compliance).

Deprecated: Do not use.

func (*InstanceOSPoliciesCompliance) Descriptor deprecated

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

Deprecated: Use InstanceOSPoliciesCompliance.ProtoReflect.Descriptor instead.

func (*InstanceOSPoliciesCompliance) GetDetailedState

func (x *InstanceOSPoliciesCompliance) GetDetailedState() string

func (*InstanceOSPoliciesCompliance) GetDetailedStateReason

func (x *InstanceOSPoliciesCompliance) GetDetailedStateReason() string

func (*InstanceOSPoliciesCompliance) GetInstance

func (x *InstanceOSPoliciesCompliance) GetInstance() string

func (*InstanceOSPoliciesCompliance) GetLastComplianceCheckTime

func (x *InstanceOSPoliciesCompliance) GetLastComplianceCheckTime() *timestamppb.Timestamp

func (*InstanceOSPoliciesCompliance) GetLastComplianceRunId

func (x *InstanceOSPoliciesCompliance) GetLastComplianceRunId() string

func (*InstanceOSPoliciesCompliance) GetName

func (x *InstanceOSPoliciesCompliance) GetName() string

func (*InstanceOSPoliciesCompliance) GetOsPolicyCompliances

func (*InstanceOSPoliciesCompliance) GetState

func (*InstanceOSPoliciesCompliance) ProtoMessage

func (*InstanceOSPoliciesCompliance) ProtoMessage()

func (*InstanceOSPoliciesCompliance) ProtoReflect

func (*InstanceOSPoliciesCompliance) Reset

func (x *InstanceOSPoliciesCompliance) Reset()

func (*InstanceOSPoliciesCompliance) String

type InstanceOSPoliciesCompliance_OSPolicyCompliance deprecated

type InstanceOSPoliciesCompliance_OSPolicyCompliance struct {

	// The OS policy id
	OsPolicyId string `protobuf:"bytes,1,opt,name=os_policy_id,json=osPolicyId,proto3" json:"os_policy_id,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,2,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
	// Compliance state of the OS policy.
	State OSPolicyComplianceState `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicyComplianceState" json:"state,omitempty"`
	// Compliance data for each `OSPolicyResource` that is applied to the
	// VM.
	OsPolicyResourceCompliances []*OSPolicyResourceCompliance `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

Compliance data for an OS policy

Deprecated: Do not use.

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) Descriptor deprecated

Deprecated: Use InstanceOSPoliciesCompliance_OSPolicyCompliance.ProtoReflect.Descriptor instead.

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyAssignment

func (x *InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyAssignment() string

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyId

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyResourceCompliances

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

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetState

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) ProtoMessage

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) ProtoReflect

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) Reset

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) String

type Inventory

type Inventory struct {

	// Output only. The `Inventory` API resource name.
	//
	// Format:
	// `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Base level operating system information for the VM.
	OsInfo *Inventory_OsInfo `protobuf:"bytes,1,opt,name=os_info,json=osInfo,proto3" json:"os_info,omitempty"`
	// Output only. Inventory items related to the VM keyed by an opaque unique identifier for
	// each inventory item. The identifier is unique to each distinct and
	// addressable inventory item and will change, when there is a new package
	// version.
	Items map[string]*Inventory_Item `` /* 151-byte string literal not displayed */
	// Output only. Timestamp of the last reported inventory for the VM.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

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](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).

func (*Inventory) Descriptor deprecated

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

type InventoryView

type InventoryView int32

The view for inventory objects.

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 deprecated

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

Deprecated: Use InventoryView.Descriptor instead.

func (InventoryView) Number

func (InventoryView) String

func (x InventoryView) String() string

func (InventoryView) Type

type Inventory_Item

type Inventory_Item struct {

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

A single piece of inventory on a VM.

func (*Inventory_Item) Descriptor deprecated

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

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

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

type Inventory_Item_OriginType

type Inventory_Item_OriginType int32

The origin of a specific inventory item.

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

func (Inventory_Item_OriginType) Descriptor

func (Inventory_Item_OriginType) Enum

func (Inventory_Item_OriginType) EnumDescriptor deprecated

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

type Inventory_Item_Type

type Inventory_Item_Type int32

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

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

func (Inventory_Item_Type) Descriptor

func (Inventory_Item_Type) Enum

func (Inventory_Item_Type) EnumDescriptor deprecated

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

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 deprecated

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

type 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 deprecated

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

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

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

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

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

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

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

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

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

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

type 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 deprecated

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

type 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 deprecated

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

type 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

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

type Inventory_WindowsUpdatePackage

type Inventory_WindowsUpdatePackage struct {

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

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

func (*Inventory_WindowsUpdatePackage) Descriptor deprecated

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

type 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

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

type 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 deprecated

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

type ListInstanceOSPoliciesCompliancesRequest deprecated

type ListInstanceOSPoliciesCompliancesRequest struct {

	// Required. The parent resource name.
	//
	// Format: `projects/{project}/locations/{location}`
	//
	// For `{project}`, either Compute Engine 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
	// `ListInstanceOSPoliciesCompliances` 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
	// `InstanceOSPoliciesCompliance` 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 OS policies compliance data for all Compute Engine VMs in the given location.

Deprecated: Do not use.

func (*ListInstanceOSPoliciesCompliancesRequest) Descriptor deprecated

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

Deprecated: Use ListInstanceOSPoliciesCompliancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstanceOSPoliciesCompliancesRequest) GetFilter

func (*ListInstanceOSPoliciesCompliancesRequest) GetPageSize

func (*ListInstanceOSPoliciesCompliancesRequest) GetPageToken

func (*ListInstanceOSPoliciesCompliancesRequest) GetParent

func (*ListInstanceOSPoliciesCompliancesRequest) ProtoMessage

func (*ListInstanceOSPoliciesCompliancesRequest) ProtoReflect

func (*ListInstanceOSPoliciesCompliancesRequest) Reset

func (*ListInstanceOSPoliciesCompliancesRequest) String

type ListInstanceOSPoliciesCompliancesResponse deprecated

type ListInstanceOSPoliciesCompliancesResponse struct {

	// List of instance OS policies compliance objects.
	InstanceOsPoliciesCompliances []*InstanceOSPoliciesCompliance `` /* 152-byte string literal not displayed */
	// The pagination token to retrieve the next page of instance OS policies
	// compliance 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 OS policies compliance data for all Compute Engine VMs in the given location.

Deprecated: Do not use.

func (*ListInstanceOSPoliciesCompliancesResponse) Descriptor deprecated

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

Deprecated: Use ListInstanceOSPoliciesCompliancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstanceOSPoliciesCompliancesResponse) GetInstanceOsPoliciesCompliances

func (x *ListInstanceOSPoliciesCompliancesResponse) GetInstanceOsPoliciesCompliances() []*InstanceOSPoliciesCompliance

func (*ListInstanceOSPoliciesCompliancesResponse) GetNextPageToken

func (x *ListInstanceOSPoliciesCompliancesResponse) GetNextPageToken() string

func (*ListInstanceOSPoliciesCompliancesResponse) ProtoMessage

func (*ListInstanceOSPoliciesCompliancesResponse) ProtoReflect

func (*ListInstanceOSPoliciesCompliancesResponse) Reset

func (*ListInstanceOSPoliciesCompliancesResponse) String

type 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.v1alpha.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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type ListOSPolicyAssignmentReportsResponse

type ListOSPolicyAssignmentReportsResponse struct {

	// List of OS policy assignment reports.
	OsPolicyAssignmentReports []*OSPolicyAssignmentReport `` /* 140-byte string literal not displayed */
	// The pagination token to retrieve the next page of OS policy assignment
	// report 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 OS Policy assignment reports including the page of results and page token.

func (*ListOSPolicyAssignmentReportsResponse) Descriptor deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type OSPolicy

type OSPolicy struct {

	// Required. The id of the OS policy 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 assignment.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Policy description.
	// Length of the description is limited to 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Policy mode
	Mode OSPolicy_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicy_Mode" json:"mode,omitempty"`
	// Required. List of resource groups for the policy.
	// For a particular VM, resource groups are evaluated in the order specified
	// and the first resource group that is applicable is selected and the rest
	// are ignored.
	//
	// If none of the resource groups are applicable for a VM, the VM is
	// considered to be non-compliant w.r.t this policy. This behavior can be
	// toggled by the flag `allow_no_resource_group_match`
	ResourceGroups []*OSPolicy_ResourceGroup `protobuf:"bytes,4,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"`
	// This flag determines the OS policy compliance status when none of the
	// resource groups within the policy are applicable for a VM. Set this value
	// to `true` if the policy needs to be reported as compliant even if the
	// policy has nothing to validate or enforce.
	AllowNoResourceGroupMatch bool `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*OSPolicy) Descriptor deprecated

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

type OSPolicyAssignment

type OSPolicyAssignment struct {

	// Resource name.
	//
	// Format:
	// `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}`
	//
	// This field is ignored when you create an OS policy assignment.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// OS policy assignment description.
	// Length of the description is limited to 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Required. List of OS policies to be applied to the VMs.
	OsPolicies []*OSPolicy `protobuf:"bytes,3,rep,name=os_policies,json=osPolicies,proto3" json:"os_policies,omitempty"`
	// Required. Filter to select VMs.
	InstanceFilter *OSPolicyAssignment_InstanceFilter `protobuf:"bytes,4,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`
	// Required. Rollout to deploy the OS policy assignment.
	// A rollout is triggered in the following situations:
	// 1) OSPolicyAssignment is created.
	// 2) OSPolicyAssignment is updated and the update contains changes to one of
	// the following fields:
	//    - instance_filter
	//    - os_policies
	// 3) OSPolicyAssignment is deleted.
	Rollout *OSPolicyAssignment_Rollout `protobuf:"bytes,5,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// Output only. The assignment revision ID
	// A new revision is committed whenever a rollout is triggered for a OS policy
	// assignment
	RevisionId string `protobuf:"bytes,6,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// Output only. The timestamp that the revision was created.
	RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
	// The etag for this OS policy assignment.
	// If this is provided on update, it must match the server's etag.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. OS policy assignment rollout state
	RolloutState OSPolicyAssignment_RolloutState `` /* 165-byte string literal not displayed */
	// Output only. Indicates that this revision has been successfully rolled out in this zone
	// and new VMs will be assigned OS policies from this revision.
	//
	// For a given OS policy assignment, there is only one revision with a value
	// of `true` for this field.
	Baseline bool `protobuf:"varint,10,opt,name=baseline,proto3" json:"baseline,omitempty"`
	// Output only. Indicates that this revision deletes the OS policy assignment.
	Deleted bool `protobuf:"varint,11,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Output only. Indicates that reconciliation is in progress for the revision.
	// This value is `true` when the `rollout_state` is one of:
	// * IN_PROGRESS
	// * CANCELLING
	Reconciling bool `protobuf:"varint,12,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
	// Output only. Server generated unique id for the OS policy assignment resource.
	Uid string `protobuf:"bytes,13,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

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](https://cloud.google.com/compute/docs/os-configuration-management/working-with-os-policies).

func (*OSPolicyAssignment) Descriptor deprecated

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

type OSPolicyAssignmentOperationMetadata

type OSPolicyAssignmentOperationMetadata struct {

	// Reference to the `OSPolicyAssignment` API resource.
	//
	// Format:
	// `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`
	OsPolicyAssignment string `protobuf:"bytes,1,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
	// The OS policy assignment API method.
	ApiMethod OSPolicyAssignmentOperationMetadata_APIMethod `` /* 170-byte string literal not displayed */
	// State of the rollout
	RolloutState OSPolicyAssignmentOperationMetadata_RolloutState `` /* 182-byte string literal not displayed */
	// Rollout start time
	RolloutStartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=rollout_start_time,json=rolloutStartTime,proto3" json:"rollout_start_time,omitempty"`
	// Rollout update time
	RolloutUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=rollout_update_time,json=rolloutUpdateTime,proto3" json:"rollout_update_time,omitempty"`
	// contains filtered or unexported fields
}

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

func (*OSPolicyAssignmentOperationMetadata) Descriptor deprecated

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

type OSPolicyAssignmentOperationMetadata_APIMethod

type OSPolicyAssignmentOperationMetadata_APIMethod int32

The OS policy assignment API method.

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 deprecated

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

Deprecated: Use OSPolicyAssignmentOperationMetadata_APIMethod.Descriptor instead.

func (OSPolicyAssignmentOperationMetadata_APIMethod) Number

func (OSPolicyAssignmentOperationMetadata_APIMethod) String

func (OSPolicyAssignmentOperationMetadata_APIMethod) Type

type OSPolicyAssignmentOperationMetadata_RolloutState

type OSPolicyAssignmentOperationMetadata_RolloutState int32

State of the rollout

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

Deprecated: Use OSPolicyAssignmentOperationMetadata_RolloutState.Descriptor instead.

func (OSPolicyAssignmentOperationMetadata_RolloutState) Number

func (OSPolicyAssignmentOperationMetadata_RolloutState) String

func (OSPolicyAssignmentOperationMetadata_RolloutState) Type

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 deprecated

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

type OSPolicyAssignmentReport_OSPolicyCompliance

type OSPolicyAssignmentReport_OSPolicyCompliance struct {

	// The OS policy id
	OsPolicyId string `protobuf:"bytes,1,opt,name=os_policy_id,json=osPolicyId,proto3" json:"os_policy_id,omitempty"`
	// The compliance state of the OS policy.
	ComplianceState OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState `` /* 202-byte string literal not displayed */
	// The reason for the OS policy to be in an unknown compliance state.
	// This field is always populated when `compliance_state` is `UNKNOWN`.
	//
	// If populated, the field can contain one of the following values:
	//
	// * `vm-not-running`: The VM was not running.
	// * `os-policies-not-supported-by-agent`: The version of the OS Config
	// agent running on the VM does not support running OS policies.
	// * `no-agent-detected`: The OS Config agent is not detected for the VM.
	// * `resource-execution-errors`: The OS Config agent encountered errors
	// while executing one or more resources in the policy. See
	// `os_policy_resource_compliances` for details.
	// * `task-timeout`: The task sent to the agent to apply the policy timed
	// out.
	// * `unexpected-agent-state`: The OS Config agent did not report the final
	// status of the task that attempted to apply the policy. Instead, the agent
	// unexpectedly started working on a different task. This mostly happens
	// when the agent or VM unexpectedly restarts while applying OS policies.
	// * `internal-service-errors`: Internal service errors were encountered
	// while attempting to apply the policy.
	ComplianceStateReason string `` /* 126-byte string literal not displayed */
	// Compliance data for each resource within the policy that is applied to
	// the VM.
	OsPolicyResourceCompliances []*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

Compliance data for an OS policy

func (*OSPolicyAssignmentReport_OSPolicyCompliance) Descriptor deprecated

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

type OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState

type OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState int32

Possible compliance states for an os policy.

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

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState.Descriptor instead.

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Number

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) String

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Type

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance struct {

	// The ID of the OS policy resource.
	OsPolicyResourceId string `protobuf:"bytes,1,opt,name=os_policy_resource_id,json=osPolicyResourceId,proto3" json:"os_policy_resource_id,omitempty"`
	// Ordered list of configuration completed by the agent for the OS policy
	// resource.
	ConfigSteps []*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep `protobuf:"bytes,2,rep,name=config_steps,json=configSteps,proto3" json:"config_steps,omitempty"`
	// The compliance state of the resource.
	ComplianceState OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState `` /* 229-byte string literal not displayed */
	// A reason for the resource to be in the given compliance state.
	// This field is always populated when `compliance_state` is `UNKNOWN`.
	//
	// The following values are supported when `compliance_state == UNKNOWN`
	//
	// * `execution-errors`: Errors were encountered by the agent while
	// executing the resource and the compliance state couldn't be
	// determined.
	// * `execution-skipped-by-agent`: Resource execution was skipped by the
	// agent because errors were encountered while executing prior resources
	// in the OS policy.
	// * `os-policy-execution-attempt-failed`: The execution of the OS policy
	// containing this resource failed and the compliance state couldn't be
	// determined.
	ComplianceStateReason string `` /* 126-byte string literal not displayed */
	// Resource specific output.
	//
	// Types that are assignable to Output:
	//	*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_
	Output isOSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

Compliance data for an OS policy resource.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) Descriptor deprecated

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetComplianceStateReason

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

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState int32

Possible compliance states for a resource.

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) EnumDescriptor deprecated

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

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

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

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

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep struct {

	// Configuration step type.
	Type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type `` /* 200-byte string literal not displayed */
	// An error message recorded during the execution of this step.
	// Only populated if errors were encountered during this step execution.
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

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

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) Descriptor deprecated

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) GetErrorMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) ProtoReflect