osconfig

package
v0.0.0-...-6cb3ea0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

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 (
	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_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

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.

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

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

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

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

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
	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) 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_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_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

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.

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

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.

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/{instance}`
	//
	// For `{project}`, either `project-number` or `project-id` can be
	// provided. For `{instance}`, only hyphen or dash character is supported to
	// list inventories across VMs.
	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 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/{instance}`
	//
	// For `{project}`, either `project-number` or `project-id` can be provided.
	// For `{instance}`, only `-` character is supported to list vulnerability
	// reports across VMs.
	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"`
	// 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) 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 OSPolicyAssignment_InstanceFilter

type OSPolicyAssignment_InstanceFilter struct {

	// Target all VMs in the project. If true, no other criteria is
	// permitted.
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// A VM is included if it's OS short name matches with any of the
	// values provided in this list.
	OsShortNames []string `protobuf:"bytes,2,rep,name=os_short_names,json=osShortNames,proto3" json:"os_short_names,omitempty"`
	// List of label sets used for VM inclusion.
	//
	// If the list has more than one `LabelSet`, the VM is included if any
	// of the label sets are applicable for the VM.
	InclusionLabels []*OSPolicyAssignment_LabelSet `protobuf:"bytes,3,rep,name=inclusion_labels,json=inclusionLabels,proto3" json:"inclusion_labels,omitempty"`
	// List of label sets used for VM exclusion.
	//
	// If the list has more than one label set, the VM is excluded if any
	// of the label sets are applicable for the VM.
	//
	// This filter is applied last in the filtering chain and therefore a
	// VM is guaranteed to be excluded if it satisfies one of the below
	// label sets.
	ExclusionLabels []*OSPolicyAssignment_LabelSet `protobuf:"bytes,4,rep,name=exclusion_labels,json=exclusionLabels,proto3" json:"exclusion_labels,omitempty"`
	// contains filtered or unexported fields
}

Message to represent the filters to select VMs for an assignment

func (*OSPolicyAssignment_InstanceFilter) Descriptor deprecated

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

Deprecated: Use OSPolicyAssignment_InstanceFilter.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_InstanceFilter) GetAll

func (*OSPolicyAssignment_InstanceFilter) GetExclusionLabels

func (*OSPolicyAssignment_InstanceFilter) GetInclusionLabels

func (*OSPolicyAssignment_InstanceFilter) GetOsShortNames

func (x *OSPolicyAssignment_InstanceFilter) GetOsShortNames() []string

func (*OSPolicyAssignment_InstanceFilter) ProtoMessage

func (*OSPolicyAssignment_InstanceFilter) ProtoMessage()

func (*OSPolicyAssignment_InstanceFilter) ProtoReflect

func (*OSPolicyAssignment_InstanceFilter) Reset

func (*OSPolicyAssignment_InstanceFilter) String

type OSPolicyAssignment_LabelSet

type OSPolicyAssignment_LabelSet struct {

	// Labels are identified by key/value pairs in this map.
	// A VM should contain all the key/value pairs specified in this
	// map to be selected.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Message representing label set.

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

func (*OSPolicyAssignment_LabelSet) Descriptor deprecated

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

Deprecated: Use OSPolicyAssignment_LabelSet.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_LabelSet) GetLabels

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

func (*OSPolicyAssignment_LabelSet) ProtoMessage

func (*OSPolicyAssignment_LabelSet) ProtoMessage()

func (*OSPolicyAssignment_LabelSet) ProtoReflect

func (*OSPolicyAssignment_LabelSet) Reset

func (x *OSPolicyAssignment_LabelSet) Reset()

func (*OSPolicyAssignment_LabelSet) String

func (x *OSPolicyAssignment_LabelSet) String() string

type OSPolicyAssignment_Rollout

type OSPolicyAssignment_Rollout struct {

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

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

func (*OSPolicyAssignment_Rollout) Descriptor deprecated

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

Deprecated: Use OSPolicyAssignment_Rollout.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_Rollout) GetDisruptionBudget

func (x *OSPolicyAssignment_Rollout) GetDisruptionBudget() *FixedOrPercent

func (*OSPolicyAssignment_Rollout) GetMinWaitDuration

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

func (*OSPolicyAssignment_Rollout) ProtoMessage

func (*OSPolicyAssignment_Rollout) ProtoMessage()

func (*OSPolicyAssignment_Rollout) ProtoReflect

func (*OSPolicyAssignment_Rollout) Reset

func (x *OSPolicyAssignment_Rollout) Reset()

func (*OSPolicyAssignment_Rollout) String

func (x *OSPolicyAssignment_Rollout) String() string

type OSPolicyAssignment_RolloutState

type OSPolicyAssignment_RolloutState int32

OS policy assignment rollout state

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

func (OSPolicyAssignment_RolloutState) Descriptor

func (OSPolicyAssignment_RolloutState) Enum

func (OSPolicyAssignment_RolloutState) EnumDescriptor deprecated

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

Deprecated: Use OSPolicyAssignment_RolloutState.Descriptor instead.

func (OSPolicyAssignment_RolloutState) Number

func (OSPolicyAssignment_RolloutState) String

func (OSPolicyAssignment_RolloutState) Type

type OSPolicyComplianceState

type OSPolicyComplianceState int32

Supported OSPolicy compliance states.

const (
	// Default value. This value is unused.
	OSPolicyComplianceState_OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED OSPolicyComplianceState = 0
	// Compliant state.
	OSPolicyComplianceState_COMPLIANT OSPolicyComplianceState = 1
	// Non-compliant state
	OSPolicyComplianceState_NON_COMPLIANT OSPolicyComplianceState = 2
	// Unknown compliance state.
	OSPolicyComplianceState_UNKNOWN OSPolicyComplianceState = 3
	// No applicable OS policies were found for the instance.
	// This state is only applicable to the instance.
	OSPolicyComplianceState_NO_OS_POLICIES_APPLICABLE OSPolicyComplianceState = 4
)

func (OSPolicyComplianceState) Descriptor

func (OSPolicyComplianceState) Enum

func (OSPolicyComplianceState) EnumDescriptor deprecated

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

Deprecated: Use OSPolicyComplianceState.Descriptor instead.

func (OSPolicyComplianceState) Number

func (OSPolicyComplianceState) String

func (x OSPolicyComplianceState) String() string

func (OSPolicyComplianceState) Type

type OSPolicyResourceCompliance

type 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 steps taken by the agent for the OS policy
	// resource.
	ConfigSteps []*OSPolicyResourceConfigStep `protobuf:"bytes,2,rep,name=config_steps,json=configSteps,proto3" json:"config_steps,omitempty"`
	// Compliance state of the OS policy resource.
	State OSPolicyComplianceState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicyComplianceState" json:"state,omitempty"`
	// Resource specific output.
	//
	// Types that are assignable to Output:
	//	*OSPolicyResourceCompliance_ExecResourceOutput_
	Output isOSPolicyResourceCompliance_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

Compliance data for an OS policy resource.

func (*OSPolicyResourceCompliance) Descriptor deprecated

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

Deprecated: Use OSPolicyResourceCompliance.ProtoReflect.Descriptor instead.

func (*OSPolicyResourceCompliance) GetConfigSteps

func (*OSPolicyResourceCompliance) GetExecResourceOutput

func (*OSPolicyResourceCompliance) GetOsPolicyResourceId

func (x *OSPolicyResourceCompliance) GetOsPolicyResourceId() string

func (*OSPolicyResourceCompliance) GetOutput

func (m *OSPolicyResourceCompliance) GetOutput() isOSPolicyResourceCompliance_Output

func (*OSPolicyResourceCompliance) GetState

func (*OSPolicyResourceCompliance) ProtoMessage

func (*OSPolicyResourceCompliance) ProtoMessage()

func (*OSPolicyResourceCompliance) ProtoReflect

func (*OSPolicyResourceCompliance) Reset

func (x *OSPolicyResourceCompliance) Reset()

func (*OSPolicyResourceCompliance) String

func (x *OSPolicyResourceCompliance) String() string

type OSPolicyResourceCompliance_ExecResourceOutput

type 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 (*OSPolicyResourceCompliance_ExecResourceOutput) Descriptor deprecated

Deprecated: Use OSPolicyResourceCompliance_ExecResourceOutput.ProtoReflect.Descriptor instead.

func (*OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput

func (x *OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput() []byte

func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage

func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect

func (*OSPolicyResourceCompliance_ExecResourceOutput) Reset

func (*OSPolicyResourceCompliance_ExecResourceOutput) String

type OSPolicyResourceCompliance_ExecResourceOutput_

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

type OSPolicyResourceConfigStep

type OSPolicyResourceConfigStep struct {

	// Configuration step type.
	Type OSPolicyResourceConfigStep_Type `` /* 129-byte string literal not displayed */
	// Outcome of the configuration step.
	Outcome OSPolicyResourceConfigStep_Outcome `` /* 138-byte string literal not displayed */
	// An error message recorded during the execution of this step.
	// Only populated when outcome is FAILED.
	ErrorMessage string `protobuf:"bytes,3,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 `OSPolicyResource` to its desired state.

func (*OSPolicyResourceConfigStep) Descriptor deprecated

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

Deprecated: Use OSPolicyResourceConfigStep.ProtoReflect.Descriptor instead.

func (*OSPolicyResourceConfigStep) GetErrorMessage

func (x *OSPolicyResourceConfigStep) GetErrorMessage() string

func (*OSPolicyResourceConfigStep) GetOutcome

func (*OSPolicyResourceConfigStep) GetType

func (*OSPolicyResourceConfigStep) ProtoMessage

func (*OSPolicyResourceConfigStep) ProtoMessage()

func (*OSPolicyResourceConfigStep) ProtoReflect

func (*OSPolicyResourceConfigStep) Reset

func (x *OSPolicyResourceConfigStep) Reset()

func (*OSPolicyResourceConfigStep) String

func (x *OSPolicyResourceConfigStep) String() string

type OSPolicyResourceConfigStep_Outcome

type OSPolicyResourceConfigStep_Outcome int32

Supported outcomes for a configuration step.

const (
	// Default value. This value is unused.
	OSPolicyResourceConfigStep_OUTCOME_UNSPECIFIED OSPolicyResourceConfigStep_Outcome = 0
	// The step succeeded.
	OSPolicyResourceConfigStep_SUCCEEDED OSPolicyResourceConfigStep_Outcome = 1
	// The step failed.
	OSPolicyResourceConfigStep_FAILED OSPolicyResourceConfigStep_Outcome = 2
)

func (OSPolicyResourceConfigStep_Outcome) Descriptor

func (OSPolicyResourceConfigStep_Outcome) Enum

func (OSPolicyResourceConfigStep_Outcome) EnumDescriptor deprecated

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

Deprecated: Use OSPolicyResourceConfigStep_Outcome.Descriptor instead.

func (OSPolicyResourceConfigStep_Outcome) Number

func (OSPolicyResourceConfigStep_Outcome) String

func (OSPolicyResourceConfigStep_Outcome) Type

type OSPolicyResourceConfigStep_Type

type OSPolicyResourceConfigStep_Type int32

Supported configuration step types

const (
	// Default value. This value is unused.
	OSPolicyResourceConfigStep_TYPE_UNSPECIFIED OSPolicyResourceConfigStep_Type = 0
	// Validation to detect resource conflicts, schema errors, etc.
	OSPolicyResourceConfigStep_VALIDATION OSPolicyResourceConfigStep_Type = 1
	// Check the current desired state status of the resource.
	OSPolicyResourceConfigStep_DESIRED_STATE_CHECK OSPolicyResourceConfigStep_Type = 2
	// Enforce the desired state for a resource that is not in desired state.
	OSPolicyResourceConfigStep_DESIRED_STATE_ENFORCEMENT OSPolicyResourceConfigStep_Type = 3
	// Re-check desired state status for a resource after enforcement of all
	// resources in the current configuration run.
	//
	// This step is used to determine the final desired state status for the
	// resource. It accounts for any resources that might have drifted from
	// their desired state due to side effects from configuring other resources
	// during the current configuration run.
	OSPolicyResourceConfigStep_DESIRED_STATE_CHECK_POST_ENFORCEMENT OSPolicyResourceConfigStep_Type = 4
)

func (OSPolicyResourceConfigStep_Type) Descriptor

func (OSPolicyResourceConfigStep_Type) Enum

func (OSPolicyResourceConfigStep_Type) EnumDescriptor deprecated

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

Deprecated: Use OSPolicyResourceConfigStep_Type.Descriptor instead.

func (OSPolicyResourceConfigStep_Type) Number

func (OSPolicyResourceConfigStep_Type) String

func (OSPolicyResourceConfigStep_Type) Type

type OSPolicy_Mode

type OSPolicy_Mode int32

Policy mode

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

func (OSPolicy_Mode) Descriptor

func (OSPolicy_Mode) Enum

func (x OSPolicy_Mode) Enum() *OSPolicy_Mode

func (OSPolicy_Mode) EnumDescriptor deprecated

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

Deprecated: Use OSPolicy_Mode.Descriptor instead.

func (OSPolicy_Mode) Number

func (OSPolicy_Mode) String

func (x OSPolicy_Mode) String() string

func (OSPolicy_Mode) Type

type OSPolicy_OSFilter

type OSPolicy_OSFilter struct {

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

The `OSFilter` is used to specify the OS filtering criteria for the resource group.

func (*OSPolicy_OSFilter) Descriptor deprecated

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

Deprecated: Use OSPolicy_OSFilter.ProtoReflect.Descriptor instead.

func (*OSPolicy_OSFilter) GetOsShortName

func (x *OSPolicy_OSFilter) GetOsShortName() string

func (*OSPolicy_OSFilter) GetOsVersion

func (x *OSPolicy_OSFilter) GetOsVersion() string

func (*OSPolicy_OSFilter) ProtoMessage

func (*OSPolicy_OSFilter) ProtoMessage()

func (*OSPolicy_OSFilter) ProtoReflect

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

func (*OSPolicy_OSFilter) Reset

func (x *OSPolicy_OSFilter) Reset()

func (*OSPolicy_OSFilter) String

func (x *OSPolicy_OSFilter) String() string

type OSPolicy_Resource

type OSPolicy_Resource struct {

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

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

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

func (*OSPolicy_Resource) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource) GetExec

func (*OSPolicy_Resource) GetFile

func (*OSPolicy_Resource) GetId

func (x *OSPolicy_Resource) GetId() string

func (*OSPolicy_Resource) GetPkg

func (*OSPolicy_Resource) GetRepository

func (*OSPolicy_Resource) GetResourceType

func (m *OSPolicy_Resource) GetResourceType() isOSPolicy_Resource_ResourceType

func (*OSPolicy_Resource) ProtoMessage

func (*OSPolicy_Resource) ProtoMessage()

func (*OSPolicy_Resource) ProtoReflect

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

func (*OSPolicy_Resource) Reset

func (x *OSPolicy_Resource) Reset()

func (*OSPolicy_Resource) String

func (x *OSPolicy_Resource) String() string

type OSPolicy_ResourceGroup

type OSPolicy_ResourceGroup struct {

	// Used to specify the OS filter for a resource group
	OsFilter *OSPolicy_OSFilter `protobuf:"bytes,1,opt,name=os_filter,json=osFilter,proto3" json:"os_filter,omitempty"`
	// Required. List of resources configured for this resource group.
	// The resources are executed in the exact order specified here.
	Resources []*OSPolicy_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

Resource groups provide a mechanism to group OS policy resources.

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

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

func (*OSPolicy_ResourceGroup) Descriptor deprecated

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

Deprecated: Use OSPolicy_ResourceGroup.ProtoReflect.Descriptor instead.

func (*OSPolicy_ResourceGroup) GetOsFilter

func (x *OSPolicy_ResourceGroup) GetOsFilter() *OSPolicy_OSFilter

func (*OSPolicy_ResourceGroup) GetResources

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

func (*OSPolicy_ResourceGroup) ProtoMessage

func (*OSPolicy_ResourceGroup) ProtoMessage()

func (*OSPolicy_ResourceGroup) ProtoReflect

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

func (*OSPolicy_ResourceGroup) Reset

func (x *OSPolicy_ResourceGroup) Reset()

func (*OSPolicy_ResourceGroup) String

func (x *OSPolicy_ResourceGroup) String() string

type OSPolicy_Resource_Exec

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

type OSPolicy_Resource_ExecResource

type OSPolicy_Resource_ExecResource struct {

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

A resource that allows executing scripts on the VM.

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

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

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

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

func (*OSPolicy_Resource_ExecResource) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_ExecResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_ExecResource) GetEnforce

func (*OSPolicy_Resource_ExecResource) GetValidate

func (*OSPolicy_Resource_ExecResource) ProtoMessage

func (*OSPolicy_Resource_ExecResource) ProtoMessage()

func (*OSPolicy_Resource_ExecResource) ProtoReflect

func (*OSPolicy_Resource_ExecResource) Reset

func (x *OSPolicy_Resource_ExecResource) Reset()

func (*OSPolicy_Resource_ExecResource) String

type OSPolicy_Resource_ExecResource_Exec

type OSPolicy_Resource_ExecResource_Exec struct {

	// What to execute.
	//
	// Types that are assignable to Source:
	//	*OSPolicy_Resource_ExecResource_Exec_File
	//	*OSPolicy_Resource_ExecResource_Exec_Script
	Source isOSPolicy_Resource_ExecResource_Exec_Source `protobuf_oneof:"source"`
	// Optional arguments to pass to the source during execution.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// Required. The script interpreter to use.
	Interpreter OSPolicy_Resource_ExecResource_Exec_Interpreter `` /* 159-byte string literal not displayed */
	// Only recorded for enforce Exec.
	// Path to an output file (that is created by this Exec) whose
	// content will be recorded in OSPolicyResourceCompliance after a
	// successful run. Absence or failure to read this file will result in
	// this ExecResource being non-compliant. Output file size is limited to
	// 100K bytes.
	OutputFilePath string `protobuf:"bytes,5,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"`
	// contains filtered or unexported fields
}

A file or script to execute.

func (*OSPolicy_Resource_ExecResource_Exec) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_ExecResource_Exec.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_ExecResource_Exec) GetArgs

func (*OSPolicy_Resource_ExecResource_Exec) GetFile

func (*OSPolicy_Resource_ExecResource_Exec) GetInterpreter

func (*OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath

func (x *OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath() string

func (*OSPolicy_Resource_ExecResource_Exec) GetScript

func (*OSPolicy_Resource_ExecResource_Exec) GetSource

func (m *OSPolicy_Resource_ExecResource_Exec) GetSource() isOSPolicy_Resource_ExecResource_Exec_Source

func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage

func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage()

func (*OSPolicy_Resource_ExecResource_Exec) ProtoReflect

func (*OSPolicy_Resource_ExecResource_Exec) Reset

func (*OSPolicy_Resource_ExecResource_Exec) String

type OSPolicy_Resource_ExecResource_Exec_File

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

type OSPolicy_Resource_ExecResource_Exec_Interpreter

type OSPolicy_Resource_ExecResource_Exec_Interpreter int32

The interpreter to use.

const (
	// Defaults to NONE.
	OSPolicy_Resource_ExecResource_Exec_INTERPRETER_UNSPECIFIED OSPolicy_Resource_ExecResource_Exec_Interpreter = 0
	// If no interpreter is specified the
	// source will be executed directly, which will likely only
	// succeed for executables and scripts with shebang lines.
	// [Wikipedia
	// shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)).
	OSPolicy_Resource_ExecResource_Exec_NONE OSPolicy_Resource_ExecResource_Exec_Interpreter = 1
	// Indicates that the script will be run with /bin/sh on Linux and
	// cmd.exe on windows.
	OSPolicy_Resource_ExecResource_Exec_SHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 2
	// Indicates that the script will be run with powershell.
	OSPolicy_Resource_ExecResource_Exec_POWERSHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 3
)

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Descriptor

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Enum

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) EnumDescriptor deprecated

Deprecated: Use OSPolicy_Resource_ExecResource_Exec_Interpreter.Descriptor instead.

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Number

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) String

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Type

type OSPolicy_Resource_ExecResource_Exec_Script

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

type OSPolicy_Resource_File

type OSPolicy_Resource_File struct {

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

A remote or local file.

func (*OSPolicy_Resource_File) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_File.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File) GetAllowInsecure

func (x *OSPolicy_Resource_File) GetAllowInsecure() bool

func (*OSPolicy_Resource_File) GetGcs

func (*OSPolicy_Resource_File) GetLocalPath

func (x *OSPolicy_Resource_File) GetLocalPath() string

func (*OSPolicy_Resource_File) GetRemote

func (*OSPolicy_Resource_File) GetType

func (m *OSPolicy_Resource_File) GetType() isOSPolicy_Resource_File_Type

func (*OSPolicy_Resource_File) ProtoMessage

func (*OSPolicy_Resource_File) ProtoMessage()

func (*OSPolicy_Resource_File) ProtoReflect

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

func (*OSPolicy_Resource_File) Reset

func (x *OSPolicy_Resource_File) Reset()

func (*OSPolicy_Resource_File) String

func (x *OSPolicy_Resource_File) String() string

type OSPolicy_Resource_FileResource

type OSPolicy_Resource_FileResource struct {

	// The source for the contents of the file.
	//
	// Types that are assignable to Source:
	//	*OSPolicy_Resource_FileResource_File
	//	*OSPolicy_Resource_FileResource_Content
	Source isOSPolicy_Resource_FileResource_Source `protobuf_oneof:"source"`
	// Required. The absolute path of the file within the VM.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// Required. Desired state of the file.
	State OSPolicy_Resource_FileResource_DesiredState `` /* 143-byte string literal not displayed */
	// Consists of three octal digits which represent, in
	// order, the permissions of the owner, group, and other users for the
	// file (similarly to the numeric mode used in the linux chmod
	// utility). Each digit represents a three bit number with the 4 bit
	// corresponding to the read permissions, the 2 bit corresponds to the
	// write bit, and the one bit corresponds to the execute permission.
	// Default behavior is 755.
	//
	// Below are some examples of permissions and their associated values:
	// read, write, and execute: 7
	// read and execute: 5
	// read and write: 6
	// read only: 4
	Permissions string `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

A resource that manages the state of a file.

func (*OSPolicy_Resource_FileResource) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_FileResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_FileResource) GetContent

func (x *OSPolicy_Resource_FileResource) GetContent() string

func (*OSPolicy_Resource_FileResource) GetFile

func (*OSPolicy_Resource_FileResource) GetPath

func (*OSPolicy_Resource_FileResource) GetPermissions

func (x *OSPolicy_Resource_FileResource) GetPermissions() string

func (*OSPolicy_Resource_FileResource) GetSource

func (m *OSPolicy_Resource_FileResource) GetSource() isOSPolicy_Resource_FileResource_Source

func (*OSPolicy_Resource_FileResource) GetState

func (*OSPolicy_Resource_FileResource) ProtoMessage

func (*OSPolicy_Resource_FileResource) ProtoMessage()

func (*OSPolicy_Resource_FileResource) ProtoReflect

func (*OSPolicy_Resource_FileResource) Reset

func (x *OSPolicy_Resource_FileResource) Reset()

func (*OSPolicy_Resource_FileResource) String

type OSPolicy_Resource_FileResource_Content

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

type OSPolicy_Resource_FileResource_DesiredState

type OSPolicy_Resource_FileResource_DesiredState int32

Desired state of the file.

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

func (OSPolicy_Resource_FileResource_DesiredState) Descriptor

func (OSPolicy_Resource_FileResource_DesiredState) Enum

func (OSPolicy_Resource_FileResource_DesiredState) EnumDescriptor deprecated

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

Deprecated: Use OSPolicy_Resource_FileResource_DesiredState.Descriptor instead.

func (OSPolicy_Resource_FileResource_DesiredState) Number

func (OSPolicy_Resource_FileResource_DesiredState) String

func (OSPolicy_Resource_FileResource_DesiredState) Type

type OSPolicy_Resource_FileResource_File

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

type OSPolicy_Resource_File_

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

type OSPolicy_Resource_File_Gcs

type OSPolicy_Resource_File_Gcs struct {

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

Specifies a file available as a Cloud Storage Object.

func (*OSPolicy_Resource_File_Gcs) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_File_Gcs.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File_Gcs) GetBucket

func (x *OSPolicy_Resource_File_Gcs) GetBucket() string

func (*OSPolicy_Resource_File_Gcs) GetGeneration

func (x *OSPolicy_Resource_File_Gcs) GetGeneration() int64

func (*OSPolicy_Resource_File_Gcs) GetObject

func (x *OSPolicy_Resource_File_Gcs) GetObject() string

func (*OSPolicy_Resource_File_Gcs) ProtoMessage

func (*OSPolicy_Resource_File_Gcs) ProtoMessage()

func (*OSPolicy_Resource_File_Gcs) ProtoReflect

func (*OSPolicy_Resource_File_Gcs) Reset

func (x *OSPolicy_Resource_File_Gcs) Reset()

func (*OSPolicy_Resource_File_Gcs) String

func (x *OSPolicy_Resource_File_Gcs) String() string

type OSPolicy_Resource_File_Gcs_

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

type OSPolicy_Resource_File_LocalPath

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

type OSPolicy_Resource_File_Remote

type OSPolicy_Resource_File_Remote struct {

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

Specifies a file available via some URI.

func (*OSPolicy_Resource_File_Remote) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_File_Remote.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File_Remote) GetSha256Checksum

func (x *OSPolicy_Resource_File_Remote) GetSha256Checksum() string

func (*OSPolicy_Resource_File_Remote) GetUri

func (*OSPolicy_Resource_File_Remote) ProtoMessage

func (*OSPolicy_Resource_File_Remote) ProtoMessage()

func (*OSPolicy_Resource_File_Remote) ProtoReflect

func (*OSPolicy_Resource_File_Remote) Reset

func (x *OSPolicy_Resource_File_Remote) Reset()

func (*OSPolicy_Resource_File_Remote) String

type OSPolicy_Resource_File_Remote_

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

type OSPolicy_Resource_PackageResource

type OSPolicy_Resource_PackageResource struct {

	// Required. The desired state the agent should maintain for this package.
	DesiredState OSPolicy_Resource_PackageResource_DesiredState `` /* 180-byte string literal not displayed */
	// A system package.
	//
	// Types that are assignable to SystemPackage:
	//	*OSPolicy_Resource_PackageResource_Apt
	//	*OSPolicy_Resource_PackageResource_Deb_
	//	*OSPolicy_Resource_PackageResource_Yum
	//	*OSPolicy_Resource_PackageResource_Zypper_
	//	*OSPolicy_Resource_PackageResource_Rpm
	//	*OSPolicy_Resource_PackageResource_Googet
	//	*OSPolicy_Resource_PackageResource_Msi
	SystemPackage isOSPolicy_Resource_PackageResource_SystemPackage `protobuf_oneof:"system_package"`
	// contains filtered or unexported fields
}

A resource that manages a system package.

func (*OSPolicy_Resource_PackageResource) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource) GetApt

func (*OSPolicy_Resource_PackageResource) GetDeb

func (*OSPolicy_Resource_PackageResource) GetDesiredState

func (*OSPolicy_Resource_PackageResource) GetGooget

func (*OSPolicy_Resource_PackageResource) GetMsi

func (*OSPolicy_Resource_PackageResource) GetRpm

func (*OSPolicy_Resource_PackageResource) GetSystemPackage

func (m *OSPolicy_Resource_PackageResource) GetSystemPackage() isOSPolicy_Resource_PackageResource_SystemPackage

func (*OSPolicy_Resource_PackageResource) GetYum

func (*OSPolicy_Resource_PackageResource) GetZypper

func (*OSPolicy_Resource_PackageResource) ProtoMessage

func (*OSPolicy_Resource_PackageResource) ProtoMessage()

func (*OSPolicy_Resource_PackageResource) ProtoReflect

func (*OSPolicy_Resource_PackageResource) Reset

func (*OSPolicy_Resource_PackageResource) String

type OSPolicy_Resource_PackageResource_APT

type OSPolicy_Resource_PackageResource_APT struct {

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

A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]`

func (*OSPolicy_Resource_PackageResource_APT) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource_APT.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_APT) GetName

func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage

func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_APT) ProtoReflect

func (*OSPolicy_Resource_PackageResource_APT) Reset

func (*OSPolicy_Resource_PackageResource_APT) String

type OSPolicy_Resource_PackageResource_Apt

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

type OSPolicy_Resource_PackageResource_Deb

type OSPolicy_Resource_PackageResource_Deb struct {

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

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

func (*OSPolicy_Resource_PackageResource_Deb) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource_Deb.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_Deb) GetPullDeps

func (*OSPolicy_Resource_PackageResource_Deb) GetSource

func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage

func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_Deb) ProtoReflect

func (*OSPolicy_Resource_PackageResource_Deb) Reset

func (*OSPolicy_Resource_PackageResource_Deb) String

type OSPolicy_Resource_PackageResource_Deb_

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

type OSPolicy_Resource_PackageResource_DesiredState

type OSPolicy_Resource_PackageResource_DesiredState int32

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

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

func (OSPolicy_Resource_PackageResource_DesiredState) Descriptor

func (OSPolicy_Resource_PackageResource_DesiredState) Enum

func (OSPolicy_Resource_PackageResource_DesiredState) EnumDescriptor deprecated

Deprecated: Use OSPolicy_Resource_PackageResource_DesiredState.Descriptor instead.

func (OSPolicy_Resource_PackageResource_DesiredState) Number

func (OSPolicy_Resource_PackageResource_DesiredState) String

func (OSPolicy_Resource_PackageResource_DesiredState) Type

type OSPolicy_Resource_PackageResource_GooGet

type OSPolicy_Resource_PackageResource_GooGet struct {

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

A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package`

func (*OSPolicy_Resource_PackageResource_GooGet) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource_GooGet.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_GooGet) GetName

func (*OSPolicy_Resource_PackageResource_GooGet) ProtoMessage

func (*OSPolicy_Resource_PackageResource_GooGet) ProtoReflect

func (*OSPolicy_Resource_PackageResource_GooGet) Reset

func (*OSPolicy_Resource_PackageResource_GooGet) String

type OSPolicy_Resource_PackageResource_Googet

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

type OSPolicy_Resource_PackageResource_MSI

type OSPolicy_Resource_PackageResource_MSI struct {

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

An MSI package. MSI packages only support INSTALLED state.

func (*OSPolicy_Resource_PackageResource_MSI) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource_MSI.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_MSI) GetProperties

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

func (*OSPolicy_Resource_PackageResource_MSI) GetSource

func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage

func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_MSI) ProtoReflect

func (*OSPolicy_Resource_PackageResource_MSI) Reset

func (*OSPolicy_Resource_PackageResource_MSI) String

type OSPolicy_Resource_PackageResource_Msi

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

type OSPolicy_Resource_PackageResource_RPM

type OSPolicy_Resource_PackageResource_RPM struct {

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

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

func (*OSPolicy_Resource_PackageResource_RPM) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource_RPM.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_RPM) GetPullDeps

func (*OSPolicy_Resource_PackageResource_RPM) GetSource

func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage

func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_RPM) ProtoReflect

func (*OSPolicy_Resource_PackageResource_RPM) Reset

func (*OSPolicy_Resource_PackageResource_RPM) String

type OSPolicy_Resource_PackageResource_Rpm

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

type OSPolicy_Resource_PackageResource_YUM

type OSPolicy_Resource_PackageResource_YUM struct {

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

A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package`

func (*OSPolicy_Resource_PackageResource_YUM) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource_YUM.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_YUM) GetName

func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage

func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_YUM) ProtoReflect

func (*OSPolicy_Resource_PackageResource_YUM) Reset

func (*OSPolicy_Resource_PackageResource_YUM) String

type OSPolicy_Resource_PackageResource_Yum

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

type OSPolicy_Resource_PackageResource_Zypper

type OSPolicy_Resource_PackageResource_Zypper struct {

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

A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package`

func (*OSPolicy_Resource_PackageResource_Zypper) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_PackageResource_Zypper.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_Zypper) GetName

func (*OSPolicy_Resource_PackageResource_Zypper) ProtoMessage

func (*OSPolicy_Resource_PackageResource_Zypper) ProtoReflect

func (*OSPolicy_Resource_PackageResource_Zypper) Reset

func (*OSPolicy_Resource_PackageResource_Zypper) String

type OSPolicy_Resource_PackageResource_Zypper_

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

type OSPolicy_Resource_Pkg

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

type OSPolicy_Resource_Repository

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

type OSPolicy_Resource_RepositoryResource

type OSPolicy_Resource_RepositoryResource struct {

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

A resource that manages a package repository.

func (*OSPolicy_Resource_RepositoryResource) Descriptor deprecated

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

Deprecated: Use OSPolicy_Resource_RepositoryResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource) GetApt

func (*OSPolicy_Resource_RepositoryResource) GetGoo

func (*OSPolicy_Resource_RepositoryResource) GetRepository

func (m *OSPolicy_Resource_RepositoryResource) GetRepository() isOSPolicy_Resource_RepositoryResource_Repository

func (*OSPolicy_Resource_RepositoryResource) GetYum

func (*OSPolicy_Resource_RepositoryResource) GetZypper

func (*OSPolicy_Resource_RepositoryResource) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource) ProtoMessage()

func (*OSPolicy_Resource_RepositoryResource) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource) Reset

func (*OSPolicy_Resource_RepositoryResource) String

type OSPolicy_Resource_RepositoryResource_Apt

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

type OSPolicy_Resource_RepositoryResource_AptRepository

type OSPolicy_Resource_RepositoryResource_AptRepository struct {

	// Required. Type of archive files in this repository.
	ArchiveType OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType `` /* 193-byte string literal not displayed */
	// Required. URI for this repository.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// Required. Distribution of this repository.
	Distribution string `protobuf:"bytes,3,opt,name=distribution,proto3" json:"distribution,omitempty"`
	// Required. List of components for this repository. Must contain at least one
	// item.
	Components []string `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"`
	// URI of the key file for this repository. The agent maintains a
	// keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
	GpgKey string `protobuf:"bytes,5,opt,name=gpg_key,json=gpgKey,proto3" json:"gpg_key,omitempty"`
	// contains filtered or unexported fields
}

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

func (*OSPolicy_Resource_RepositoryResource_AptRepository) Descriptor deprecated

Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetArchiveType

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetComponents

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetDistribution

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetGpgKey

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetUri

func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_AptRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_AptRepository) String

type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType

type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType int32

Type of archive.

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

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Descriptor

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Enum

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) EnumDescriptor deprecated

Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.Descriptor instead.

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Number

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) String

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Type

type OSPolicy_Resource_RepositoryResource_Goo

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

type OSPolicy_Resource_RepositoryResource_GooRepository

type OSPolicy_Resource_RepositoryResource_GooRepository struct {

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

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

func (*OSPolicy_Resource_RepositoryResource_GooRepository) Descriptor deprecated

Deprecated: Use OSPolicy_Resource_RepositoryResource_GooRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetName

func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetUrl

func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_GooRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_GooRepository) String

type OSPolicy_Resource_RepositoryResource_Yum

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

type OSPolicy_Resource_RepositoryResource_YumRepository

type OSPolicy_Resource_RepositoryResource_YumRepository struct {

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

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

func (*OSPolicy_Resource_RepositoryResource_YumRepository) Descriptor deprecated

Deprecated: Use OSPolicy_Resource_RepositoryResource_YumRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetBaseUrl

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetDisplayName

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetGpgKeys

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetId

func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_YumRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_YumRepository) String

type OSPolicy_Resource_RepositoryResource_Zypper

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

type OSPolicy_Resource_RepositoryResource_ZypperRepository

type OSPolicy_Resource_RepositoryResource_ZypperRepository struct {

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

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

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Descriptor deprecated

Deprecated: Use OSPolicy_Resource_RepositoryResource_ZypperRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetBaseUrl

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetDisplayName

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetGpgKeys

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetId

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) String

type OsConfigZonalServiceClient

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

OsConfigZonalServiceClient is the client API for OsConfigZonalService service.

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

type OsConfigZonalServiceServer

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

OsConfigZonalServiceServer is the server API for OsConfigZonalService service.

type UnimplementedOsConfigZonalServiceServer

type UnimplementedOsConfigZonalServiceServer struct {
}

UnimplementedOsConfigZonalServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOsConfigZonalServiceServer) CreateOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) DeleteOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) GetInventory

func (*UnimplementedOsConfigZonalServiceServer) GetOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) GetVulnerabilityReport

func (*UnimplementedOsConfigZonalServiceServer) ListInventories

func (*UnimplementedOsConfigZonalServiceServer) ListOSPolicyAssignments

func (*UnimplementedOsConfigZonalServiceServer) UpdateOSPolicyAssignment

type UpdateOSPolicyAssignmentRequest

type UpdateOSPolicyAssignmentRequest struct {

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

A request message to update an OS policy assignment

func (*UpdateOSPolicyAssignmentRequest) Descriptor deprecated

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

Deprecated: Use UpdateOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateOSPolicyAssignmentRequest) GetOsPolicyAssignment

func (x *UpdateOSPolicyAssignmentRequest) GetOsPolicyAssignment() *OSPolicyAssignment

func (*UpdateOSPolicyAssignmentRequest) GetUpdateMask

func (*UpdateOSPolicyAssignmentRequest) ProtoMessage

func (*UpdateOSPolicyAssignmentRequest) ProtoMessage()

func (*UpdateOSPolicyAssignmentRequest) ProtoReflect

func (*UpdateOSPolicyAssignmentRequest) Reset

func (*UpdateOSPolicyAssignmentRequest) String

type VulnerabilityReport

type VulnerabilityReport struct {

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

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

For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).

func (*VulnerabilityReport) Descriptor deprecated

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

Deprecated: Use VulnerabilityReport.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport) GetName

func (x *VulnerabilityReport) GetName() string

func (*VulnerabilityReport) GetUpdateTime

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

func (*VulnerabilityReport) GetVulnerabilities

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

func (*VulnerabilityReport) ProtoMessage

func (*VulnerabilityReport) ProtoMessage()

func (*VulnerabilityReport) ProtoReflect

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

func (*VulnerabilityReport) Reset

func (x *VulnerabilityReport) Reset()

func (*VulnerabilityReport) String

func (x *VulnerabilityReport) String() string

type VulnerabilityReport_Vulnerability

type VulnerabilityReport_Vulnerability struct {

	// Contains metadata as per the upstream feed of the operating system and
	// NVD.
	Details *VulnerabilityReport_Vulnerability_Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	// Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
	// This field displays the inventory items affected by this vulnerability.
	// If the vulnerability report was not updated after the VM inventory
	// update, these values might not display in VM inventory. For some distros,
	// this field may be empty.
	InstalledInventoryItemIds []string `` /* 140-byte string literal not displayed */
	// Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
	// If the vulnerability report was not updated after the VM inventory
	// update, these values might not display in VM inventory. If there is no
	// available fix, the field is empty. The `inventory_item` value specifies
	// the latest `SoftwarePackage` available to the VM that fixes the
	// vulnerability.
	AvailableInventoryItemIds []string `` /* 140-byte string literal not displayed */
	// The timestamp for when the vulnerability was first detected.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The timestamp for when the vulnerability was last modified.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

A vulnerability affecting the VM instance.

func (*VulnerabilityReport_Vulnerability) Descriptor deprecated

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

Deprecated: Use VulnerabilityReport_Vulnerability.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability) GetAvailableInventoryItemIds

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

func (*VulnerabilityReport_Vulnerability) GetCreateTime

func (*VulnerabilityReport_Vulnerability) GetDetails

func (*VulnerabilityReport_Vulnerability) GetInstalledInventoryItemIds

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

func (*VulnerabilityReport_Vulnerability) GetUpdateTime

func (*VulnerabilityReport_Vulnerability) ProtoMessage

func (*VulnerabilityReport_Vulnerability) ProtoMessage()

func (*VulnerabilityReport_Vulnerability) ProtoReflect

func (*VulnerabilityReport_Vulnerability) Reset

func (*VulnerabilityReport_Vulnerability) String

type VulnerabilityReport_Vulnerability_Details

type VulnerabilityReport_Vulnerability_Details struct {

	// The CVE of the vulnerability. CVE cannot be
	// empty and the combination of <cve, classification> should be unique
	// across vulnerabilities for a VM.
	Cve string `protobuf:"bytes,1,opt,name=cve,proto3" json:"cve,omitempty"`
	// The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
	// 0 - 10 where 0 indicates low severity and 10 indicates high severity.
	CvssV2Score float32 `protobuf:"fixed32,2,opt,name=cvss_v2_score,json=cvssV2Score,proto3" json:"cvss_v2_score,omitempty"`
	// The full description of the CVSSv3 for this vulnerability from NVD.
	CvssV3 *CVSSv3 `protobuf:"bytes,3,opt,name=cvss_v3,json=cvssV3,proto3" json:"cvss_v3,omitempty"`
	// Assigned severity/impact ranking from the distro.
	Severity string `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"`
	// The note or description describing the vulnerability from the distro.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Corresponds to the references attached to the `VulnerabilityDetails`.
	References []*VulnerabilityReport_Vulnerability_Details_Reference `protobuf:"bytes,6,rep,name=references,proto3" json:"references,omitempty"`
	// contains filtered or unexported fields
}

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

func (*VulnerabilityReport_Vulnerability_Details) Descriptor deprecated

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

Deprecated: Use VulnerabilityReport_Vulnerability_Details.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Details) GetCve

func (*VulnerabilityReport_Vulnerability_Details) GetCvssV2Score

func (*VulnerabilityReport_Vulnerability_Details) GetCvssV3

func (*VulnerabilityReport_Vulnerability_Details) GetDescription

func (*VulnerabilityReport_Vulnerability_Details) GetReferences

func (*VulnerabilityReport_Vulnerability_Details) GetSeverity

func (*VulnerabilityReport_Vulnerability_Details) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Details) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Details) Reset

func (*VulnerabilityReport_Vulnerability_Details) String

type VulnerabilityReport_Vulnerability_Details_Reference

type VulnerabilityReport_Vulnerability_Details_Reference struct {

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

A reference for this vulnerability.

func (*VulnerabilityReport_Vulnerability_Details_Reference) Descriptor deprecated

Deprecated: Use VulnerabilityReport_Vulnerability_Details_Reference.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Details_Reference) GetUrl

func (*VulnerabilityReport_Vulnerability_Details_Reference) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Details_Reference) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Details_Reference) Reset

func (*VulnerabilityReport_Vulnerability_Details_Reference) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL