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

Variables

OSPolicyComplianceState_name, OSPolicyComplianceState_value

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

Enum value maps for OSPolicyComplianceState.

OSPolicyResourceConfigStep_Type_name, OSPolicyResourceConfigStep_Type_value

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

Enum value maps for OSPolicyResourceConfigStep_Type.

OSPolicyResourceConfigStep_Outcome_name, OSPolicyResourceConfigStep_Outcome_value

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

Enum value maps for OSPolicyResourceConfigStep_Outcome.

InventoryView_name, InventoryView_value

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

Enum value maps for InventoryView.

Inventory_Item_OriginType_name, Inventory_Item_OriginType_value

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

Enum value maps for Inventory_Item_OriginType.

Inventory_Item_Type_name, Inventory_Item_Type_value

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

Enum value maps for Inventory_Item_Type.

OSPolicy_Mode_name, OSPolicy_Mode_value

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

Enum value maps for OSPolicy_Mode.

OSPolicy_Resource_PackageResource_DesiredState_name, OSPolicy_Resource_PackageResource_DesiredState_value

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

Enum value maps for OSPolicy_Resource_PackageResource_DesiredState.

OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_name, OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_value

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

Enum value maps for OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.

OSPolicy_Resource_ExecResource_Exec_Interpreter_name, OSPolicy_Resource_ExecResource_Exec_Interpreter_value

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

Enum value maps for OSPolicy_Resource_ExecResource_Exec_Interpreter.

OSPolicy_Resource_FileResource_DesiredState_name, OSPolicy_Resource_FileResource_DesiredState_value

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

Enum value maps for OSPolicy_Resource_FileResource_DesiredState.

OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState_name, OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState_value

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

Enum value maps for OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState.

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState_name, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState_value

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

Enum value maps for OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState.

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type_name, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type_value

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

Enum value maps for OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type.

OSPolicyAssignment_RolloutState_name, OSPolicyAssignment_RolloutState_value

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

Enum value maps for OSPolicyAssignment_RolloutState.

OSPolicyAssignmentOperationMetadata_APIMethod_name, OSPolicyAssignmentOperationMetadata_APIMethod_value

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

Enum value maps for OSPolicyAssignmentOperationMetadata_APIMethod.

OSPolicyAssignmentOperationMetadata_RolloutState_name, OSPolicyAssignmentOperationMetadata_RolloutState_value

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

Enum value maps for OSPolicyAssignmentOperationMetadata_RolloutState.

CVSSv3_AttackVector_name, CVSSv3_AttackVector_value

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

Enum value maps for CVSSv3_AttackVector.

CVSSv3_AttackComplexity_name, CVSSv3_AttackComplexity_value

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

Enum value maps for CVSSv3_AttackComplexity.

CVSSv3_PrivilegesRequired_name, CVSSv3_PrivilegesRequired_value

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

Enum value maps for CVSSv3_PrivilegesRequired.

CVSSv3_UserInteraction_name, CVSSv3_UserInteraction_value

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

Enum value maps for CVSSv3_UserInteraction.

CVSSv3_Scope_name, CVSSv3_Scope_value

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

Enum value maps for CVSSv3_Scope.

CVSSv3_Impact_name, CVSSv3_Impact_value

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

Enum value maps for CVSSv3_Impact.

File_google_cloud_osconfig_v1alpha_config_common_proto

var File_google_cloud_osconfig_v1alpha_config_common_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_instance_os_policies_compliance_proto

var File_google_cloud_osconfig_v1alpha_instance_os_policies_compliance_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_inventory_proto

var File_google_cloud_osconfig_v1alpha_inventory_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_os_policy_assignment_reports_proto

var File_google_cloud_osconfig_v1alpha_os_policy_assignment_reports_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_os_policy_assignments_proto

var File_google_cloud_osconfig_v1alpha_os_policy_assignments_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_os_policy_proto

var File_google_cloud_osconfig_v1alpha_os_policy_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_osconfig_common_proto

var File_google_cloud_osconfig_v1alpha_osconfig_common_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_osconfig_zonal_service_proto

var File_google_cloud_osconfig_v1alpha_osconfig_zonal_service_proto protoreflect.FileDescriptor

File_google_cloud_osconfig_v1alpha_vulnerability_proto

var File_google_cloud_osconfig_v1alpha_vulnerability_proto protoreflect.FileDescriptor

Functions

func RegisterOsConfigZonalServiceServer

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

CVSSv3

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

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

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

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

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

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

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

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

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

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

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

}

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

func (*CVSSv3) Descriptor

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

Deprecated: Use CVSSv3.ProtoReflect.Descriptor instead.

func (*CVSSv3) GetAttackComplexity

func (x *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity

func (*CVSSv3) GetAttackVector

func (x *CVSSv3) GetAttackVector() CVSSv3_AttackVector

func (*CVSSv3) GetAvailabilityImpact

func (x *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact

func (*CVSSv3) GetBaseScore

func (x *CVSSv3) GetBaseScore() float32

func (*CVSSv3) GetConfidentialityImpact

func (x *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact

func (*CVSSv3) GetExploitabilityScore

func (x *CVSSv3) GetExploitabilityScore() float32

func (*CVSSv3) GetImpactScore

func (x *CVSSv3) GetImpactScore() float32

func (*CVSSv3) GetIntegrityImpact

func (x *CVSSv3) GetIntegrityImpact() CVSSv3_Impact

func (*CVSSv3) GetPrivilegesRequired

func (x *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired

func (*CVSSv3) GetScope

func (x *CVSSv3) GetScope() CVSSv3_Scope

func (*CVSSv3) GetUserInteraction

func (x *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction

func (*CVSSv3) ProtoMessage

func (*CVSSv3) ProtoMessage()

func (*CVSSv3) ProtoReflect

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

func (*CVSSv3) Reset

func (x *CVSSv3) Reset()

func (*CVSSv3) String

func (x *CVSSv3) String() string

CVSSv3_AttackComplexity

type CVSSv3_AttackComplexity int32

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

CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED, CVSSv3_ATTACK_COMPLEXITY_LOW, CVSSv3_ATTACK_COMPLEXITY_HIGH

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

func (CVSSv3_AttackComplexity) Descriptor

func (CVSSv3_AttackComplexity) Enum

func (CVSSv3_AttackComplexity) EnumDescriptor

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

Deprecated: Use CVSSv3_AttackComplexity.Descriptor instead.

func (CVSSv3_AttackComplexity) Number

func (CVSSv3_AttackComplexity) String

func (x CVSSv3_AttackComplexity) String() string

func (CVSSv3_AttackComplexity) Type

CVSSv3_AttackVector

type CVSSv3_AttackVector int32

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

CVSSv3_ATTACK_VECTOR_UNSPECIFIED, CVSSv3_ATTACK_VECTOR_NETWORK, CVSSv3_ATTACK_VECTOR_ADJACENT, CVSSv3_ATTACK_VECTOR_LOCAL, CVSSv3_ATTACK_VECTOR_PHYSICAL

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

func (CVSSv3_AttackVector) Descriptor

func (CVSSv3_AttackVector) Enum

func (CVSSv3_AttackVector) EnumDescriptor

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

Deprecated: Use CVSSv3_AttackVector.Descriptor instead.

func (CVSSv3_AttackVector) Number

func (CVSSv3_AttackVector) String

func (x CVSSv3_AttackVector) String() string

func (CVSSv3_AttackVector) Type

CVSSv3_Impact

type CVSSv3_Impact int32

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

CVSSv3_IMPACT_UNSPECIFIED, CVSSv3_IMPACT_HIGH, CVSSv3_IMPACT_LOW, CVSSv3_IMPACT_NONE

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

func (CVSSv3_Impact) Descriptor

func (CVSSv3_Impact) Enum

func (x CVSSv3_Impact) Enum() *CVSSv3_Impact

func (CVSSv3_Impact) EnumDescriptor

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

Deprecated: Use CVSSv3_Impact.Descriptor instead.

func (CVSSv3_Impact) Number

func (CVSSv3_Impact) String

func (x CVSSv3_Impact) String() string

func (CVSSv3_Impact) Type

CVSSv3_PrivilegesRequired

type CVSSv3_PrivilegesRequired int32

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

CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED, CVSSv3_PRIVILEGES_REQUIRED_NONE, CVSSv3_PRIVILEGES_REQUIRED_LOW, CVSSv3_PRIVILEGES_REQUIRED_HIGH

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

func (CVSSv3_PrivilegesRequired) Descriptor

func (CVSSv3_PrivilegesRequired) Enum

func (CVSSv3_PrivilegesRequired) EnumDescriptor

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

Deprecated: Use CVSSv3_PrivilegesRequired.Descriptor instead.

func (CVSSv3_PrivilegesRequired) Number

func (CVSSv3_PrivilegesRequired) String

func (x CVSSv3_PrivilegesRequired) String() string

func (CVSSv3_PrivilegesRequired) Type

CVSSv3_Scope

type CVSSv3_Scope int32

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

CVSSv3_SCOPE_UNSPECIFIED, CVSSv3_SCOPE_UNCHANGED, CVSSv3_SCOPE_CHANGED

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

func (CVSSv3_Scope) Descriptor

func (CVSSv3_Scope) Enum

func (x CVSSv3_Scope) Enum() *CVSSv3_Scope

func (CVSSv3_Scope) EnumDescriptor

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

Deprecated: Use CVSSv3_Scope.Descriptor instead.

func (CVSSv3_Scope) Number

func (CVSSv3_Scope) String

func (x CVSSv3_Scope) String() string

func (CVSSv3_Scope) Type

CVSSv3_UserInteraction

type CVSSv3_UserInteraction int32

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

CVSSv3_USER_INTERACTION_UNSPECIFIED, CVSSv3_USER_INTERACTION_NONE, CVSSv3_USER_INTERACTION_REQUIRED

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

func (CVSSv3_UserInteraction) Descriptor

func (CVSSv3_UserInteraction) Enum

func (CVSSv3_UserInteraction) EnumDescriptor

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

Deprecated: Use CVSSv3_UserInteraction.Descriptor instead.

func (CVSSv3_UserInteraction) Number

func (CVSSv3_UserInteraction) String

func (x CVSSv3_UserInteraction) String() string

func (CVSSv3_UserInteraction) Type

CreateOSPolicyAssignmentRequest

type CreateOSPolicyAssignmentRequest struct {

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

A request message to create an OS policy assignment

func (*CreateOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use CreateOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*CreateOSPolicyAssignmentRequest) GetOsPolicyAssignment

func (x *CreateOSPolicyAssignmentRequest) GetOsPolicyAssignment() *OSPolicyAssignment

func (*CreateOSPolicyAssignmentRequest) GetOsPolicyAssignmentId

func (x *CreateOSPolicyAssignmentRequest) GetOsPolicyAssignmentId() string

func (*CreateOSPolicyAssignmentRequest) GetParent

func (x *CreateOSPolicyAssignmentRequest) GetParent() string

func (*CreateOSPolicyAssignmentRequest) ProtoMessage

func (*CreateOSPolicyAssignmentRequest) ProtoMessage()

func (*CreateOSPolicyAssignmentRequest) ProtoReflect

func (*CreateOSPolicyAssignmentRequest) Reset

func (*CreateOSPolicyAssignmentRequest) String

DeleteOSPolicyAssignmentRequest

type DeleteOSPolicyAssignmentRequest struct {

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

A request message for deleting a OS policy assignment.

func (*DeleteOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use DeleteOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteOSPolicyAssignmentRequest) GetName

func (*DeleteOSPolicyAssignmentRequest) ProtoMessage

func (*DeleteOSPolicyAssignmentRequest) ProtoMessage()

func (*DeleteOSPolicyAssignmentRequest) ProtoReflect

func (*DeleteOSPolicyAssignmentRequest) Reset

func (*DeleteOSPolicyAssignmentRequest) String

FixedOrPercent

type FixedOrPercent struct {

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

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

func (*FixedOrPercent) Descriptor

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

Deprecated: Use FixedOrPercent.ProtoReflect.Descriptor instead.

func (*FixedOrPercent) GetFixed

func (x *FixedOrPercent) GetFixed() int32

func (*FixedOrPercent) GetMode

func (m *FixedOrPercent) GetMode() isFixedOrPercent_Mode

func (*FixedOrPercent) GetPercent

func (x *FixedOrPercent) GetPercent() int32

func (*FixedOrPercent) ProtoMessage

func (*FixedOrPercent) ProtoMessage()

func (*FixedOrPercent) ProtoReflect

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

func (*FixedOrPercent) Reset

func (x *FixedOrPercent) Reset()

func (*FixedOrPercent) String

func (x *FixedOrPercent) String() string

FixedOrPercent_Fixed

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

FixedOrPercent_Percent

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

GetInstanceOSPoliciesComplianceRequest (deprecated)

type GetInstanceOSPoliciesComplianceRequest struct {

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

A request message for getting OS policies compliance data for the given Compute Engine VM instance.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto.

func (*GetInstanceOSPoliciesComplianceRequest) Descriptor (deprecated)

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

Deprecated: Use GetInstanceOSPoliciesComplianceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceOSPoliciesComplianceRequest) GetName (deprecated)

func (*GetInstanceOSPoliciesComplianceRequest) ProtoMessage (deprecated)

func (*GetInstanceOSPoliciesComplianceRequest) ProtoReflect (deprecated)

func (*GetInstanceOSPoliciesComplianceRequest) Reset (deprecated)

func (*GetInstanceOSPoliciesComplianceRequest) String (deprecated)

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

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

Deprecated: Use GetInventoryRequest.ProtoReflect.Descriptor instead.

func (*GetInventoryRequest) GetName

func (x *GetInventoryRequest) GetName() string

func (*GetInventoryRequest) GetView

func (x *GetInventoryRequest) GetView() InventoryView

func (*GetInventoryRequest) ProtoMessage

func (*GetInventoryRequest) ProtoMessage()

func (*GetInventoryRequest) ProtoReflect

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

func (*GetInventoryRequest) Reset

func (x *GetInventoryRequest) Reset()

func (*GetInventoryRequest) String

func (x *GetInventoryRequest) String() string

GetOSPolicyAssignmentReportRequest

type GetOSPolicyAssignmentReportRequest struct {

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

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

func (*GetOSPolicyAssignmentReportRequest) Descriptor

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

Deprecated: Use GetOSPolicyAssignmentReportRequest.ProtoReflect.Descriptor instead.

func (*GetOSPolicyAssignmentReportRequest) GetName

func (*GetOSPolicyAssignmentReportRequest) ProtoMessage

func (*GetOSPolicyAssignmentReportRequest) ProtoMessage()

func (*GetOSPolicyAssignmentReportRequest) ProtoReflect

func (*GetOSPolicyAssignmentReportRequest) Reset

func (*GetOSPolicyAssignmentReportRequest) String

GetOSPolicyAssignmentRequest

type GetOSPolicyAssignmentRequest struct {

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

A request message to get an OS policy assignment

func (*GetOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use GetOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*GetOSPolicyAssignmentRequest) GetName

func (x *GetOSPolicyAssignmentRequest) GetName() string

func (*GetOSPolicyAssignmentRequest) ProtoMessage

func (*GetOSPolicyAssignmentRequest) ProtoMessage()

func (*GetOSPolicyAssignmentRequest) ProtoReflect

func (*GetOSPolicyAssignmentRequest) Reset

func (x *GetOSPolicyAssignmentRequest) Reset()

func (*GetOSPolicyAssignmentRequest) String

GetVulnerabilityReportRequest

type GetVulnerabilityReportRequest struct {

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

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

func (*GetVulnerabilityReportRequest) Descriptor

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

Deprecated: Use GetVulnerabilityReportRequest.ProtoReflect.Descriptor instead.

func (*GetVulnerabilityReportRequest) GetName

func (*GetVulnerabilityReportRequest) ProtoMessage

func (*GetVulnerabilityReportRequest) ProtoMessage()

func (*GetVulnerabilityReportRequest) ProtoReflect

func (*GetVulnerabilityReportRequest) Reset

func (x *GetVulnerabilityReportRequest) Reset()

func (*GetVulnerabilityReportRequest) String

InstanceOSPoliciesCompliance (deprecated)

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

	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`

	State OSPolicyComplianceState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicyComplianceState" json:"state,omitempty"`

	DetailedState string `protobuf:"bytes,4,opt,name=detailed_state,json=detailedState,proto3" json:"detailed_state,omitempty"`

	DetailedStateReason string `protobuf:"bytes,5,opt,name=detailed_state_reason,json=detailedStateReason,proto3" json:"detailed_state_reason,omitempty"`

	OsPolicyCompliances []*InstanceOSPoliciesCompliance_OSPolicyCompliance `protobuf:"bytes,6,rep,name=os_policy_compliances,json=osPolicyCompliances,proto3" json:"os_policy_compliances,omitempty"`

	LastComplianceCheckTime *timestamppb.Timestamp "" /* 134 byte string literal not displayed */

	LastComplianceRunId string `protobuf:"bytes,8,opt,name=last_compliance_run_id,json=lastComplianceRunId,proto3" json:"last_compliance_run_id,omitempty"`

}

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.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto.

func (*InstanceOSPoliciesCompliance) Descriptor (deprecated)

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

Deprecated: Use InstanceOSPoliciesCompliance.ProtoReflect.Descriptor instead.

func (*InstanceOSPoliciesCompliance) GetDetailedState (deprecated)

func (x *InstanceOSPoliciesCompliance) GetDetailedState() string

func (*InstanceOSPoliciesCompliance) GetDetailedStateReason (deprecated)

func (x *InstanceOSPoliciesCompliance) GetDetailedStateReason() string

func (*InstanceOSPoliciesCompliance) GetInstance (deprecated)

func (x *InstanceOSPoliciesCompliance) GetInstance() string

func (*InstanceOSPoliciesCompliance) GetLastComplianceCheckTime (deprecated)

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

func (*InstanceOSPoliciesCompliance) GetLastComplianceRunId (deprecated)

func (x *InstanceOSPoliciesCompliance) GetLastComplianceRunId() string

func (*InstanceOSPoliciesCompliance) GetName (deprecated)

func (x *InstanceOSPoliciesCompliance) GetName() string

func (*InstanceOSPoliciesCompliance) GetOsPolicyCompliances (deprecated)

func (*InstanceOSPoliciesCompliance) GetState (deprecated)

func (*InstanceOSPoliciesCompliance) ProtoMessage (deprecated)

func (*InstanceOSPoliciesCompliance) ProtoMessage()

func (*InstanceOSPoliciesCompliance) ProtoReflect (deprecated)

func (*InstanceOSPoliciesCompliance) Reset (deprecated)

func (x *InstanceOSPoliciesCompliance) Reset()

func (*InstanceOSPoliciesCompliance) String (deprecated)

InstanceOSPoliciesCompliance_OSPolicyCompliance (deprecated)

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

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

	State OSPolicyComplianceState `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicyComplianceState" json:"state,omitempty"`

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

}

Compliance data for an OS policy

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto.

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) Descriptor (deprecated)

Deprecated: Use InstanceOSPoliciesCompliance_OSPolicyCompliance.ProtoReflect.Descriptor instead.

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyAssignment (deprecated)

func (x *InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyAssignment() string

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyId (deprecated)

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetOsPolicyResourceCompliances (deprecated)

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

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) GetState (deprecated)

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) ProtoMessage (deprecated)

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) ProtoReflect (deprecated)

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) Reset (deprecated)

func (*InstanceOSPoliciesCompliance_OSPolicyCompliance) String (deprecated)

Inventory

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

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

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

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

}

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

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

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

func (*Inventory) Descriptor

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

Deprecated: Use Inventory.ProtoReflect.Descriptor instead.

func (*Inventory) GetItems

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

func (*Inventory) GetName

func (x *Inventory) GetName() string

func (*Inventory) GetOsInfo

func (x *Inventory) GetOsInfo() *Inventory_OsInfo

func (*Inventory) GetUpdateTime

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

func (*Inventory) ProtoMessage

func (*Inventory) ProtoMessage()

func (*Inventory) ProtoReflect

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

func (*Inventory) Reset

func (x *Inventory) Reset()

func (*Inventory) String

func (x *Inventory) String() string

InventoryView

type InventoryView int32

The view for inventory objects.

InventoryView_INVENTORY_VIEW_UNSPECIFIED, InventoryView_BASIC, InventoryView_FULL

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

func (InventoryView) Descriptor

func (InventoryView) Enum

func (x InventoryView) Enum() *InventoryView

func (InventoryView) EnumDescriptor

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

Deprecated: Use InventoryView.Descriptor instead.

func (InventoryView) Number

func (InventoryView) String

func (x InventoryView) String() string

func (InventoryView) Type

Inventory_Item

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

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

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

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

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

	Details isInventory_Item_Details `protobuf_oneof:"details"`

}

A single piece of inventory on a VM.

func (*Inventory_Item) Descriptor

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

Deprecated: Use Inventory_Item.ProtoReflect.Descriptor instead.

func (*Inventory_Item) GetAvailablePackage

func (x *Inventory_Item) GetAvailablePackage() *Inventory_SoftwarePackage

func (*Inventory_Item) GetCreateTime

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

func (*Inventory_Item) GetDetails

func (m *Inventory_Item) GetDetails() isInventory_Item_Details

func (*Inventory_Item) GetId

func (x *Inventory_Item) GetId() string

func (*Inventory_Item) GetInstalledPackage

func (x *Inventory_Item) GetInstalledPackage() *Inventory_SoftwarePackage

func (*Inventory_Item) GetOriginType

func (x *Inventory_Item) GetOriginType() Inventory_Item_OriginType

func (*Inventory_Item) GetType

func (x *Inventory_Item) GetType() Inventory_Item_Type

func (*Inventory_Item) GetUpdateTime

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

func (*Inventory_Item) ProtoMessage

func (*Inventory_Item) ProtoMessage()

func (*Inventory_Item) ProtoReflect

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

func (*Inventory_Item) Reset

func (x *Inventory_Item) Reset()

func (*Inventory_Item) String

func (x *Inventory_Item) String() string

Inventory_Item_AvailablePackage

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

Inventory_Item_InstalledPackage

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

Inventory_Item_OriginType

type Inventory_Item_OriginType int32

The origin of a specific inventory item.

Inventory_Item_ORIGIN_TYPE_UNSPECIFIED, Inventory_Item_INVENTORY_REPORT

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

func (Inventory_Item_OriginType) Descriptor

func (Inventory_Item_OriginType) Enum

func (Inventory_Item_OriginType) EnumDescriptor

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

Deprecated: Use Inventory_Item_OriginType.Descriptor instead.

func (Inventory_Item_OriginType) Number

func (Inventory_Item_OriginType) String

func (x Inventory_Item_OriginType) String() string

func (Inventory_Item_OriginType) Type

Inventory_Item_Type

type Inventory_Item_Type int32

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

Inventory_Item_TYPE_UNSPECIFIED, Inventory_Item_INSTALLED_PACKAGE, Inventory_Item_AVAILABLE_PACKAGE

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

func (Inventory_Item_Type) Descriptor

func (Inventory_Item_Type) Enum

func (Inventory_Item_Type) EnumDescriptor

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

Deprecated: Use Inventory_Item_Type.Descriptor instead.

func (Inventory_Item_Type) Number

func (Inventory_Item_Type) String

func (x Inventory_Item_Type) String() string

func (Inventory_Item_Type) Type

Inventory_OsInfo

type Inventory_OsInfo struct {

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

Operating system information for the VM.

func (*Inventory_OsInfo) Descriptor

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

Deprecated: Use Inventory_OsInfo.ProtoReflect.Descriptor instead.

func (*Inventory_OsInfo) GetArchitecture

func (x *Inventory_OsInfo) GetArchitecture() string

func (*Inventory_OsInfo) GetHostname

func (x *Inventory_OsInfo) GetHostname() string

func (*Inventory_OsInfo) GetKernelRelease

func (x *Inventory_OsInfo) GetKernelRelease() string

func (*Inventory_OsInfo) GetKernelVersion

func (x *Inventory_OsInfo) GetKernelVersion() string

func (*Inventory_OsInfo) GetLongName

func (x *Inventory_OsInfo) GetLongName() string

func (*Inventory_OsInfo) GetOsconfigAgentVersion

func (x *Inventory_OsInfo) GetOsconfigAgentVersion() string

func (*Inventory_OsInfo) GetShortName

func (x *Inventory_OsInfo) GetShortName() string

func (*Inventory_OsInfo) GetVersion

func (x *Inventory_OsInfo) GetVersion() string

func (*Inventory_OsInfo) ProtoMessage

func (*Inventory_OsInfo) ProtoMessage()

func (*Inventory_OsInfo) ProtoReflect

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

func (*Inventory_OsInfo) Reset

func (x *Inventory_OsInfo) Reset()

func (*Inventory_OsInfo) String

func (x *Inventory_OsInfo) String() string

Inventory_SoftwarePackage

type Inventory_SoftwarePackage struct {

	// Information about the different types of software packages.
	//
	// Types that are assignable to Details:
	//
	//	*Inventory_SoftwarePackage_YumPackage
	//	*Inventory_SoftwarePackage_AptPackage
	//	*Inventory_SoftwarePackage_ZypperPackage
	//	*Inventory_SoftwarePackage_GoogetPackage
	//	*Inventory_SoftwarePackage_ZypperPatch
	//	*Inventory_SoftwarePackage_WuaPackage
	//	*Inventory_SoftwarePackage_QfePackage
	//	*Inventory_SoftwarePackage_CosPackage
	//	*Inventory_SoftwarePackage_WindowsApplication
	Details isInventory_SoftwarePackage_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

Software package information of the operating system.

func (*Inventory_SoftwarePackage) Descriptor

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

Deprecated: Use Inventory_SoftwarePackage.ProtoReflect.Descriptor instead.

func (*Inventory_SoftwarePackage) GetAptPackage

func (*Inventory_SoftwarePackage) GetCosPackage

func (*Inventory_SoftwarePackage) GetDetails

func (m *Inventory_SoftwarePackage) GetDetails() isInventory_SoftwarePackage_Details

func (*Inventory_SoftwarePackage) GetGoogetPackage

func (*Inventory_SoftwarePackage) GetQfePackage

func (*Inventory_SoftwarePackage) GetWindowsApplication

func (x *Inventory_SoftwarePackage) GetWindowsApplication() *Inventory_WindowsApplication

func (*Inventory_SoftwarePackage) GetWuaPackage

func (*Inventory_SoftwarePackage) GetYumPackage

func (*Inventory_SoftwarePackage) GetZypperPackage

func (*Inventory_SoftwarePackage) GetZypperPatch

func (x *Inventory_SoftwarePackage) GetZypperPatch() *Inventory_ZypperPatch

func (*Inventory_SoftwarePackage) ProtoMessage

func (*Inventory_SoftwarePackage) ProtoMessage()

func (*Inventory_SoftwarePackage) ProtoReflect

func (*Inventory_SoftwarePackage) Reset

func (x *Inventory_SoftwarePackage) Reset()

func (*Inventory_SoftwarePackage) String

func (x *Inventory_SoftwarePackage) String() string

Inventory_SoftwarePackage_AptPackage

type Inventory_SoftwarePackage_AptPackage struct {
	// Details of an APT package.
	// For details about the apt package manager, see
	// https://wiki.debian.org/Apt.
	AptPackage *Inventory_VersionedPackage `protobuf:"bytes,2,opt,name=apt_package,json=aptPackage,proto3,oneof"`
}

Inventory_SoftwarePackage_CosPackage

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

Inventory_SoftwarePackage_GoogetPackage

type Inventory_SoftwarePackage_GoogetPackage struct {
	// Details of a Googet package.
	//
	//	For details about the googet package manager, see
	//	https://github.com/google/googet.
	GoogetPackage *Inventory_VersionedPackage `protobuf:"bytes,4,opt,name=googet_package,json=googetPackage,proto3,oneof"`
}

Inventory_SoftwarePackage_QfePackage

type Inventory_SoftwarePackage_QfePackage struct {
	// Details of a Windows Quick Fix engineering package.
	// See
	// https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
	// for info in Windows Quick Fix Engineering.
	QfePackage *Inventory_WindowsQuickFixEngineeringPackage `protobuf:"bytes,7,opt,name=qfe_package,json=qfePackage,proto3,oneof"`
}

Inventory_SoftwarePackage_WindowsApplication

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

Inventory_SoftwarePackage_WuaPackage

type Inventory_SoftwarePackage_WuaPackage struct {
	// Details of a Windows Update package.
	// See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
	// information about Windows Update.
	WuaPackage *Inventory_WindowsUpdatePackage `protobuf:"bytes,6,opt,name=wua_package,json=wuaPackage,proto3,oneof"`
}

Inventory_SoftwarePackage_YumPackage

type Inventory_SoftwarePackage_YumPackage struct {
	// Yum package info.
	// For details about the yum package manager, see
	// https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.
	YumPackage *Inventory_VersionedPackage `protobuf:"bytes,1,opt,name=yum_package,json=yumPackage,proto3,oneof"`
}

Inventory_SoftwarePackage_ZypperPackage

type Inventory_SoftwarePackage_ZypperPackage struct {
	// Details of a Zypper package.
	// For details about the Zypper package manager, see
	// https://en.opensuse.org/SDB:Zypper_manual.
	ZypperPackage *Inventory_VersionedPackage `protobuf:"bytes,3,opt,name=zypper_package,json=zypperPackage,proto3,oneof"`
}

Inventory_SoftwarePackage_ZypperPatch

type Inventory_SoftwarePackage_ZypperPatch struct {
	// Details of a Zypper patch.
	// For details about the Zypper package manager, see
	// https://en.opensuse.org/SDB:Zypper_manual.
	ZypperPatch *Inventory_ZypperPatch `protobuf:"bytes,5,opt,name=zypper_patch,json=zypperPatch,proto3,oneof"`
}

Inventory_VersionedPackage

type Inventory_VersionedPackage struct {

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

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

func (*Inventory_VersionedPackage) Descriptor

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

Deprecated: Use Inventory_VersionedPackage.ProtoReflect.Descriptor instead.

func (*Inventory_VersionedPackage) GetArchitecture

func (x *Inventory_VersionedPackage) GetArchitecture() string

func (*Inventory_VersionedPackage) GetPackageName

func (x *Inventory_VersionedPackage) GetPackageName() string

func (*Inventory_VersionedPackage) GetVersion

func (x *Inventory_VersionedPackage) GetVersion() string

func (*Inventory_VersionedPackage) ProtoMessage

func (*Inventory_VersionedPackage) ProtoMessage()

func (*Inventory_VersionedPackage) ProtoReflect

func (*Inventory_VersionedPackage) Reset

func (x *Inventory_VersionedPackage) Reset()

func (*Inventory_VersionedPackage) String

func (x *Inventory_VersionedPackage) String() string

Inventory_WindowsApplication

type Inventory_WindowsApplication struct {

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

Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see: https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key

func (*Inventory_WindowsApplication) Descriptor

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

Deprecated: Use Inventory_WindowsApplication.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsApplication) GetDisplayName

func (x *Inventory_WindowsApplication) GetDisplayName() string

func (*Inventory_WindowsApplication) GetDisplayVersion

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

func (*Inventory_WindowsApplication) GetInstallDate

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

func (*Inventory_WindowsApplication) GetPublisher

func (x *Inventory_WindowsApplication) GetPublisher() string

func (*Inventory_WindowsApplication) ProtoMessage

func (*Inventory_WindowsApplication) ProtoMessage()

func (*Inventory_WindowsApplication) ProtoReflect

func (*Inventory_WindowsApplication) Reset

func (x *Inventory_WindowsApplication) Reset()

func (*Inventory_WindowsApplication) String

Inventory_WindowsQuickFixEngineeringPackage

type Inventory_WindowsQuickFixEngineeringPackage struct {

	// A short textual description of the QFE update.
	Caption string `protobuf:"bytes,1,opt,name=caption,proto3" json:"caption,omitempty"`
	// A textual description of the QFE update.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Unique identifier associated with a particular QFE update.
	HotFixId string `protobuf:"bytes,3,opt,name=hot_fix_id,json=hotFixId,proto3" json:"hot_fix_id,omitempty"`
	// Date that the QFE update was installed.  Mapped from installed_on field.
	InstallTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Inventory_WindowsQuickFixEngineeringPackage) Descriptor

Deprecated: Use Inventory_WindowsQuickFixEngineeringPackage.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsQuickFixEngineeringPackage) GetCaption

func (*Inventory_WindowsQuickFixEngineeringPackage) GetDescription

func (*Inventory_WindowsQuickFixEngineeringPackage) GetHotFixId

func (*Inventory_WindowsQuickFixEngineeringPackage) GetInstallTime

func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoMessage

func (*Inventory_WindowsQuickFixEngineeringPackage) ProtoReflect

func (*Inventory_WindowsQuickFixEngineeringPackage) Reset

func (*Inventory_WindowsQuickFixEngineeringPackage) String

Inventory_WindowsUpdatePackage

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

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

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

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

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

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

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

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

	LastDeploymentChangeTime *timestamppb.Timestamp "" /* 138 byte string literal not displayed */

}

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

func (*Inventory_WindowsUpdatePackage) Descriptor

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

Deprecated: Use Inventory_WindowsUpdatePackage.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsUpdatePackage) GetCategories

func (*Inventory_WindowsUpdatePackage) GetDescription

func (x *Inventory_WindowsUpdatePackage) GetDescription() string

func (*Inventory_WindowsUpdatePackage) GetKbArticleIds

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

func (*Inventory_WindowsUpdatePackage) GetLastDeploymentChangeTime

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

func (*Inventory_WindowsUpdatePackage) GetMoreInfoUrls

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

func (*Inventory_WindowsUpdatePackage) GetRevisionNumber

func (x *Inventory_WindowsUpdatePackage) GetRevisionNumber() int32

func (*Inventory_WindowsUpdatePackage) GetSupportUrl

func (x *Inventory_WindowsUpdatePackage) GetSupportUrl() string

func (*Inventory_WindowsUpdatePackage) GetTitle

func (x *Inventory_WindowsUpdatePackage) GetTitle() string

func (*Inventory_WindowsUpdatePackage) GetUpdateId

func (x *Inventory_WindowsUpdatePackage) GetUpdateId() string

func (*Inventory_WindowsUpdatePackage) ProtoMessage

func (*Inventory_WindowsUpdatePackage) ProtoMessage()

func (*Inventory_WindowsUpdatePackage) ProtoReflect

func (*Inventory_WindowsUpdatePackage) Reset

func (x *Inventory_WindowsUpdatePackage) Reset()

func (*Inventory_WindowsUpdatePackage) String

Inventory_WindowsUpdatePackage_WindowsUpdateCategory

type Inventory_WindowsUpdatePackage_WindowsUpdateCategory struct {

	// The identifier of the windows update category.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the windows update category.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Categories specified by the Windows Update.

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Descriptor

Deprecated: Use Inventory_WindowsUpdatePackage_WindowsUpdateCategory.ProtoReflect.Descriptor instead.

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetId

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) GetName

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoMessage

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) ProtoReflect

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) Reset

func (*Inventory_WindowsUpdatePackage_WindowsUpdateCategory) String

Inventory_ZypperPatch

type Inventory_ZypperPatch struct {

	// The name of the patch.
	PatchName string `protobuf:"bytes,5,opt,name=patch_name,json=patchName,proto3" json:"patch_name,omitempty"`
	// The category of the patch.
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// The severity specified for this patch
	Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
	// Any summary information provided about this patch.
	Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

Details related to a Zypper Patch.

func (*Inventory_ZypperPatch) Descriptor

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

Deprecated: Use Inventory_ZypperPatch.ProtoReflect.Descriptor instead.

func (*Inventory_ZypperPatch) GetCategory

func (x *Inventory_ZypperPatch) GetCategory() string

func (*Inventory_ZypperPatch) GetPatchName

func (x *Inventory_ZypperPatch) GetPatchName() string

func (*Inventory_ZypperPatch) GetSeverity

func (x *Inventory_ZypperPatch) GetSeverity() string

func (*Inventory_ZypperPatch) GetSummary

func (x *Inventory_ZypperPatch) GetSummary() string

func (*Inventory_ZypperPatch) ProtoMessage

func (*Inventory_ZypperPatch) ProtoMessage()

func (*Inventory_ZypperPatch) ProtoReflect

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

func (*Inventory_ZypperPatch) Reset

func (x *Inventory_ZypperPatch) Reset()

func (*Inventory_ZypperPatch) String

func (x *Inventory_ZypperPatch) String() string

ListInstanceOSPoliciesCompliancesRequest (deprecated)

type ListInstanceOSPoliciesCompliancesRequest struct {

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

A request message for listing OS policies compliance data for all Compute Engine VMs in the given location.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto.

func (*ListInstanceOSPoliciesCompliancesRequest) Descriptor (deprecated)

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

Deprecated: Use ListInstanceOSPoliciesCompliancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstanceOSPoliciesCompliancesRequest) GetFilter (deprecated)

func (*ListInstanceOSPoliciesCompliancesRequest) GetPageSize (deprecated)

func (*ListInstanceOSPoliciesCompliancesRequest) GetPageToken (deprecated)

func (*ListInstanceOSPoliciesCompliancesRequest) GetParent (deprecated)

func (*ListInstanceOSPoliciesCompliancesRequest) ProtoMessage (deprecated)

func (*ListInstanceOSPoliciesCompliancesRequest) ProtoReflect (deprecated)

func (*ListInstanceOSPoliciesCompliancesRequest) Reset (deprecated)

func (*ListInstanceOSPoliciesCompliancesRequest) String (deprecated)

ListInstanceOSPoliciesCompliancesResponse (deprecated)

type ListInstanceOSPoliciesCompliancesResponse struct {
	InstanceOsPoliciesCompliances []*InstanceOSPoliciesCompliance "" /* 152 byte string literal not displayed */

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

}

A response message for listing OS policies compliance data for all Compute Engine VMs in the given location.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto.

func (*ListInstanceOSPoliciesCompliancesResponse) Descriptor (deprecated)

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

Deprecated: Use ListInstanceOSPoliciesCompliancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstanceOSPoliciesCompliancesResponse) GetInstanceOsPoliciesCompliances (deprecated)

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

func (*ListInstanceOSPoliciesCompliancesResponse) GetNextPageToken (deprecated)

func (x *ListInstanceOSPoliciesCompliancesResponse) GetNextPageToken() string

func (*ListInstanceOSPoliciesCompliancesResponse) ProtoMessage (deprecated)

func (*ListInstanceOSPoliciesCompliancesResponse) ProtoReflect (deprecated)

func (*ListInstanceOSPoliciesCompliancesResponse) Reset (deprecated)

func (*ListInstanceOSPoliciesCompliancesResponse) String (deprecated)

ListInventoriesRequest

type ListInventoriesRequest struct {

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

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

func (*ListInventoriesRequest) Descriptor

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

Deprecated: Use ListInventoriesRequest.ProtoReflect.Descriptor instead.

func (*ListInventoriesRequest) GetFilter

func (x *ListInventoriesRequest) GetFilter() string

func (*ListInventoriesRequest) GetPageSize

func (x *ListInventoriesRequest) GetPageSize() int32

func (*ListInventoriesRequest) GetPageToken

func (x *ListInventoriesRequest) GetPageToken() string

func (*ListInventoriesRequest) GetParent

func (x *ListInventoriesRequest) GetParent() string

func (*ListInventoriesRequest) GetView

func (*ListInventoriesRequest) ProtoMessage

func (*ListInventoriesRequest) ProtoMessage()

func (*ListInventoriesRequest) ProtoReflect

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

func (*ListInventoriesRequest) Reset

func (x *ListInventoriesRequest) Reset()

func (*ListInventoriesRequest) String

func (x *ListInventoriesRequest) String() string

ListInventoriesResponse

type ListInventoriesResponse struct {

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

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

func (*ListInventoriesResponse) Descriptor

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

Deprecated: Use ListInventoriesResponse.ProtoReflect.Descriptor instead.

func (*ListInventoriesResponse) GetInventories

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

func (*ListInventoriesResponse) GetNextPageToken

func (x *ListInventoriesResponse) GetNextPageToken() string

func (*ListInventoriesResponse) ProtoMessage

func (*ListInventoriesResponse) ProtoMessage()

func (*ListInventoriesResponse) ProtoReflect

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

func (*ListInventoriesResponse) Reset

func (x *ListInventoriesResponse) Reset()

func (*ListInventoriesResponse) String

func (x *ListInventoriesResponse) String() string

ListOSPolicyAssignmentReportsRequest

type ListOSPolicyAssignmentReportsRequest struct {

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

List the OS policy assignment reports for VM instances.

func (*ListOSPolicyAssignmentReportsRequest) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentReportsRequest.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentReportsRequest) GetFilter

func (*ListOSPolicyAssignmentReportsRequest) GetPageSize

func (*ListOSPolicyAssignmentReportsRequest) GetPageToken

func (x *ListOSPolicyAssignmentReportsRequest) GetPageToken() string

func (*ListOSPolicyAssignmentReportsRequest) GetParent

func (*ListOSPolicyAssignmentReportsRequest) ProtoMessage

func (*ListOSPolicyAssignmentReportsRequest) ProtoMessage()

func (*ListOSPolicyAssignmentReportsRequest) ProtoReflect

func (*ListOSPolicyAssignmentReportsRequest) Reset

func (*ListOSPolicyAssignmentReportsRequest) String

ListOSPolicyAssignmentReportsResponse

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

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

}

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

func (*ListOSPolicyAssignmentReportsResponse) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentReportsResponse.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentReportsResponse) GetNextPageToken

func (x *ListOSPolicyAssignmentReportsResponse) GetNextPageToken() string

func (*ListOSPolicyAssignmentReportsResponse) GetOsPolicyAssignmentReports

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

func (*ListOSPolicyAssignmentReportsResponse) ProtoMessage

func (*ListOSPolicyAssignmentReportsResponse) ProtoMessage()

func (*ListOSPolicyAssignmentReportsResponse) ProtoReflect

func (*ListOSPolicyAssignmentReportsResponse) Reset

func (*ListOSPolicyAssignmentReportsResponse) String

ListOSPolicyAssignmentRevisionsRequest

type ListOSPolicyAssignmentRevisionsRequest struct {

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

A request message to list revisions for a OS policy assignment

func (*ListOSPolicyAssignmentRevisionsRequest) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentRevisionsRequest.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentRevisionsRequest) GetName

func (*ListOSPolicyAssignmentRevisionsRequest) GetPageSize

func (*ListOSPolicyAssignmentRevisionsRequest) GetPageToken

func (*ListOSPolicyAssignmentRevisionsRequest) ProtoMessage

func (*ListOSPolicyAssignmentRevisionsRequest) ProtoReflect

func (*ListOSPolicyAssignmentRevisionsRequest) Reset

func (*ListOSPolicyAssignmentRevisionsRequest) String

ListOSPolicyAssignmentRevisionsResponse

type ListOSPolicyAssignmentRevisionsResponse struct {

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

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

func (*ListOSPolicyAssignmentRevisionsResponse) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentRevisionsResponse.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentRevisionsResponse) GetNextPageToken

func (x *ListOSPolicyAssignmentRevisionsResponse) GetNextPageToken() string

func (*ListOSPolicyAssignmentRevisionsResponse) GetOsPolicyAssignments

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

func (*ListOSPolicyAssignmentRevisionsResponse) ProtoMessage

func (*ListOSPolicyAssignmentRevisionsResponse) ProtoReflect

func (*ListOSPolicyAssignmentRevisionsResponse) Reset

func (*ListOSPolicyAssignmentRevisionsResponse) String

ListOSPolicyAssignmentsRequest

type ListOSPolicyAssignmentsRequest struct {

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

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

func (*ListOSPolicyAssignmentsRequest) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentsRequest.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentsRequest) GetPageSize

func (x *ListOSPolicyAssignmentsRequest) GetPageSize() int32

func (*ListOSPolicyAssignmentsRequest) GetPageToken

func (x *ListOSPolicyAssignmentsRequest) GetPageToken() string

func (*ListOSPolicyAssignmentsRequest) GetParent

func (x *ListOSPolicyAssignmentsRequest) GetParent() string

func (*ListOSPolicyAssignmentsRequest) ProtoMessage

func (*ListOSPolicyAssignmentsRequest) ProtoMessage()

func (*ListOSPolicyAssignmentsRequest) ProtoReflect

func (*ListOSPolicyAssignmentsRequest) Reset

func (x *ListOSPolicyAssignmentsRequest) Reset()

func (*ListOSPolicyAssignmentsRequest) String

ListOSPolicyAssignmentsResponse

type ListOSPolicyAssignmentsResponse struct {

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

A response message for listing all assignments under given parent.

func (*ListOSPolicyAssignmentsResponse) Descriptor

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

Deprecated: Use ListOSPolicyAssignmentsResponse.ProtoReflect.Descriptor instead.

func (*ListOSPolicyAssignmentsResponse) GetNextPageToken

func (x *ListOSPolicyAssignmentsResponse) GetNextPageToken() string

func (*ListOSPolicyAssignmentsResponse) GetOsPolicyAssignments

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

func (*ListOSPolicyAssignmentsResponse) ProtoMessage

func (*ListOSPolicyAssignmentsResponse) ProtoMessage()

func (*ListOSPolicyAssignmentsResponse) ProtoReflect

func (*ListOSPolicyAssignmentsResponse) Reset

func (*ListOSPolicyAssignmentsResponse) String

ListVulnerabilityReportsRequest

type ListVulnerabilityReportsRequest struct {

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

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

func (*ListVulnerabilityReportsRequest) Descriptor

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

Deprecated: Use ListVulnerabilityReportsRequest.ProtoReflect.Descriptor instead.

func (*ListVulnerabilityReportsRequest) GetFilter

func (x *ListVulnerabilityReportsRequest) GetFilter() string

func (*ListVulnerabilityReportsRequest) GetPageSize

func (x *ListVulnerabilityReportsRequest) GetPageSize() int32

func (*ListVulnerabilityReportsRequest) GetPageToken

func (x *ListVulnerabilityReportsRequest) GetPageToken() string

func (*ListVulnerabilityReportsRequest) GetParent

func (x *ListVulnerabilityReportsRequest) GetParent() string

func (*ListVulnerabilityReportsRequest) ProtoMessage

func (*ListVulnerabilityReportsRequest) ProtoMessage()

func (*ListVulnerabilityReportsRequest) ProtoReflect

func (*ListVulnerabilityReportsRequest) Reset

func (*ListVulnerabilityReportsRequest) String

ListVulnerabilityReportsResponse

type ListVulnerabilityReportsResponse struct {

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

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

func (*ListVulnerabilityReportsResponse) Descriptor

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

Deprecated: Use ListVulnerabilityReportsResponse.ProtoReflect.Descriptor instead.

func (*ListVulnerabilityReportsResponse) GetNextPageToken

func (x *ListVulnerabilityReportsResponse) GetNextPageToken() string

func (*ListVulnerabilityReportsResponse) GetVulnerabilityReports

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

func (*ListVulnerabilityReportsResponse) ProtoMessage

func (*ListVulnerabilityReportsResponse) ProtoMessage()

func (*ListVulnerabilityReportsResponse) ProtoReflect

func (*ListVulnerabilityReportsResponse) Reset

func (*ListVulnerabilityReportsResponse) String

OSPolicy

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

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

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

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

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

}

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

func (*OSPolicy) Descriptor

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

Deprecated: Use OSPolicy.ProtoReflect.Descriptor instead.

func (*OSPolicy) GetAllowNoResourceGroupMatch

func (x *OSPolicy) GetAllowNoResourceGroupMatch() bool

func (*OSPolicy) GetDescription

func (x *OSPolicy) GetDescription() string

func (*OSPolicy) GetId

func (x *OSPolicy) GetId() string

func (*OSPolicy) GetMode

func (x *OSPolicy) GetMode() OSPolicy_Mode

func (*OSPolicy) GetResourceGroups

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

func (*OSPolicy) ProtoMessage

func (*OSPolicy) ProtoMessage()

func (*OSPolicy) ProtoReflect

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

func (*OSPolicy) Reset

func (x *OSPolicy) Reset()

func (*OSPolicy) String

func (x *OSPolicy) String() string

OSPolicyAssignment

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

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

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

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

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

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

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

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

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

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

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

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

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

}

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

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

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

func (*OSPolicyAssignment) Descriptor

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

Deprecated: Use OSPolicyAssignment.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment) GetBaseline

func (x *OSPolicyAssignment) GetBaseline() bool

func (*OSPolicyAssignment) GetDeleted

func (x *OSPolicyAssignment) GetDeleted() bool

func (*OSPolicyAssignment) GetDescription

func (x *OSPolicyAssignment) GetDescription() string

func (*OSPolicyAssignment) GetEtag

func (x *OSPolicyAssignment) GetEtag() string

func (*OSPolicyAssignment) GetInstanceFilter

func (x *OSPolicyAssignment) GetInstanceFilter() *OSPolicyAssignment_InstanceFilter

func (*OSPolicyAssignment) GetName

func (x *OSPolicyAssignment) GetName() string

func (*OSPolicyAssignment) GetOsPolicies

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

func (*OSPolicyAssignment) GetReconciling

func (x *OSPolicyAssignment) GetReconciling() bool

func (*OSPolicyAssignment) GetRevisionCreateTime

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

func (*OSPolicyAssignment) GetRevisionId

func (x *OSPolicyAssignment) GetRevisionId() string

func (*OSPolicyAssignment) GetRollout

func (*OSPolicyAssignment) GetRolloutState

func (*OSPolicyAssignment) GetUid

func (x *OSPolicyAssignment) GetUid() string

func (*OSPolicyAssignment) ProtoMessage

func (*OSPolicyAssignment) ProtoMessage()

func (*OSPolicyAssignment) ProtoReflect

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

func (*OSPolicyAssignment) Reset

func (x *OSPolicyAssignment) Reset()

func (*OSPolicyAssignment) String

func (x *OSPolicyAssignment) String() string

OSPolicyAssignmentOperationMetadata

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

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

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

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

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

}

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

func (*OSPolicyAssignmentOperationMetadata) Descriptor

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

Deprecated: Use OSPolicyAssignmentOperationMetadata.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentOperationMetadata) GetApiMethod

func (*OSPolicyAssignmentOperationMetadata) GetOsPolicyAssignment

func (x *OSPolicyAssignmentOperationMetadata) GetOsPolicyAssignment() string

func (*OSPolicyAssignmentOperationMetadata) GetRolloutStartTime

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

func (*OSPolicyAssignmentOperationMetadata) GetRolloutState

func (*OSPolicyAssignmentOperationMetadata) GetRolloutUpdateTime

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

func (*OSPolicyAssignmentOperationMetadata) ProtoMessage

func (*OSPolicyAssignmentOperationMetadata) ProtoMessage()

func (*OSPolicyAssignmentOperationMetadata) ProtoReflect

func (*OSPolicyAssignmentOperationMetadata) Reset

func (*OSPolicyAssignmentOperationMetadata) String

OSPolicyAssignmentOperationMetadata_APIMethod

type OSPolicyAssignmentOperationMetadata_APIMethod int32

The OS policy assignment API method.

OSPolicyAssignmentOperationMetadata_API_METHOD_UNSPECIFIED, OSPolicyAssignmentOperationMetadata_CREATE, OSPolicyAssignmentOperationMetadata_UPDATE, OSPolicyAssignmentOperationMetadata_DELETE

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

func (OSPolicyAssignmentOperationMetadata_APIMethod) Descriptor

func (OSPolicyAssignmentOperationMetadata_APIMethod) Enum

func (OSPolicyAssignmentOperationMetadata_APIMethod) EnumDescriptor

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

Deprecated: Use OSPolicyAssignmentOperationMetadata_APIMethod.Descriptor instead.

func (OSPolicyAssignmentOperationMetadata_APIMethod) Number

func (OSPolicyAssignmentOperationMetadata_APIMethod) String

func (OSPolicyAssignmentOperationMetadata_APIMethod) Type

OSPolicyAssignmentOperationMetadata_RolloutState

type OSPolicyAssignmentOperationMetadata_RolloutState int32

State of the rollout

OSPolicyAssignmentOperationMetadata_ROLLOUT_STATE_UNSPECIFIED, OSPolicyAssignmentOperationMetadata_IN_PROGRESS, OSPolicyAssignmentOperationMetadata_CANCELLING, OSPolicyAssignmentOperationMetadata_CANCELLED, OSPolicyAssignmentOperationMetadata_SUCCEEDED

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

func (OSPolicyAssignmentOperationMetadata_RolloutState) Descriptor

func (OSPolicyAssignmentOperationMetadata_RolloutState) Enum

func (OSPolicyAssignmentOperationMetadata_RolloutState) EnumDescriptor

Deprecated: Use OSPolicyAssignmentOperationMetadata_RolloutState.Descriptor instead.

func (OSPolicyAssignmentOperationMetadata_RolloutState) Number

func (OSPolicyAssignmentOperationMetadata_RolloutState) String

func (OSPolicyAssignmentOperationMetadata_RolloutState) Type

OSPolicyAssignmentReport

type OSPolicyAssignmentReport struct {

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

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

func (*OSPolicyAssignmentReport) Descriptor

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

Deprecated: Use OSPolicyAssignmentReport.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport) GetInstance

func (x *OSPolicyAssignmentReport) GetInstance() string

func (*OSPolicyAssignmentReport) GetLastRunId

func (x *OSPolicyAssignmentReport) GetLastRunId() string

func (*OSPolicyAssignmentReport) GetName

func (x *OSPolicyAssignmentReport) GetName() string

func (*OSPolicyAssignmentReport) GetOsPolicyAssignment

func (x *OSPolicyAssignmentReport) GetOsPolicyAssignment() string

func (*OSPolicyAssignmentReport) GetOsPolicyCompliances

func (*OSPolicyAssignmentReport) GetUpdateTime

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

func (*OSPolicyAssignmentReport) ProtoMessage

func (*OSPolicyAssignmentReport) ProtoMessage()

func (*OSPolicyAssignmentReport) ProtoReflect

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

func (*OSPolicyAssignmentReport) Reset

func (x *OSPolicyAssignmentReport) Reset()

func (*OSPolicyAssignmentReport) String

func (x *OSPolicyAssignmentReport) String() string

OSPolicyAssignmentReport_OSPolicyCompliance

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

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

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

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

}

Compliance data for an OS policy

func (*OSPolicyAssignmentReport_OSPolicyCompliance) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetComplianceState

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetComplianceStateReason

func (x *OSPolicyAssignmentReport_OSPolicyCompliance) GetComplianceStateReason() string

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetOsPolicyId

func (*OSPolicyAssignmentReport_OSPolicyCompliance) GetOsPolicyResourceCompliances

func (*OSPolicyAssignmentReport_OSPolicyCompliance) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance) String

OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState

type OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState int32

Possible compliance states for an os policy.

OSPolicyAssignmentReport_OSPolicyCompliance_UNKNOWN, OSPolicyAssignmentReport_OSPolicyCompliance_COMPLIANT, OSPolicyAssignmentReport_OSPolicyCompliance_NON_COMPLIANT

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

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Descriptor

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Enum

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) EnumDescriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState.Descriptor instead.

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Number

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) String

func (OSPolicyAssignmentReport_OSPolicyCompliance_ComplianceState) Type

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance

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

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

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

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

	Output isOSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_Output `protobuf_oneof:"output"`

}

Compliance data for an OS policy resource.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetComplianceState

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetComplianceStateReason

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetConfigSteps

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetExecResourceOutput

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetOsPolicyResourceId

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetOutput

func (m *OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) GetOutput() isOSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_Output

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance) String

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState int32

Possible compliance states for a resource.

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_UNKNOWN, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_COMPLIANT, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_NON_COMPLIANT

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

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Descriptor

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Enum

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) EnumDescriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState.Descriptor instead.

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Number

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) String

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ComplianceState) Type

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput struct {

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

ExecResource specific output.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput) String

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_ExecResourceOutput_

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

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep

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

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

}

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

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) Descriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) GetErrorMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) GetType

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) ProtoMessage

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) ProtoReflect

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) Reset

func (*OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep) String

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type

type OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type int32

Supported configuration step types

OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_TYPE_UNSPECIFIED, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_VALIDATION, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_CHECK, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_ENFORCEMENT, OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_DESIRED_STATE_CHECK_POST_ENFORCEMENT

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

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Descriptor

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Enum

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) EnumDescriptor

Deprecated: Use OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type.Descriptor instead.

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Number

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) String

func (OSPolicyAssignmentReport_OSPolicyCompliance_OSPolicyResourceCompliance_OSPolicyResourceConfigStep_Type) Type

OSPolicyAssignment_InstanceFilter

type OSPolicyAssignment_InstanceFilter struct {

	// Target all VMs in the project. If true, no other criteria is
	// permitted.
	All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	// Deprecated. Use the `inventories` field instead.
	// A VM is selected if it's OS short name matches with any of the
	// values provided in this list.
	//
	// Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/os_policy_assignments.proto.
	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.
	ExclusionLabels []*OSPolicyAssignment_LabelSet `protobuf:"bytes,4,rep,name=exclusion_labels,json=exclusionLabels,proto3" json:"exclusion_labels,omitempty"`
	// List of inventories to select VMs.
	//
	// A VM is selected if its inventory data matches at least one of the
	// following inventories.
	Inventories []*OSPolicyAssignment_InstanceFilter_Inventory `protobuf:"bytes,5,rep,name=inventories,proto3" json:"inventories,omitempty"`
	// contains filtered or unexported fields
}

Filters to select target VMs for an assignment.

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

func (*OSPolicyAssignment_InstanceFilter) Descriptor

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

Deprecated: Use OSPolicyAssignment_InstanceFilter.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_InstanceFilter) GetAll

func (*OSPolicyAssignment_InstanceFilter) GetExclusionLabels

func (*OSPolicyAssignment_InstanceFilter) GetInclusionLabels

func (*OSPolicyAssignment_InstanceFilter) GetInventories

func (*OSPolicyAssignment_InstanceFilter) GetOsShortNames

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

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/os_policy_assignments.proto.

func (*OSPolicyAssignment_InstanceFilter) ProtoMessage

func (*OSPolicyAssignment_InstanceFilter) ProtoMessage()

func (*OSPolicyAssignment_InstanceFilter) ProtoReflect

func (*OSPolicyAssignment_InstanceFilter) Reset

func (*OSPolicyAssignment_InstanceFilter) String

OSPolicyAssignment_InstanceFilter_Inventory

type OSPolicyAssignment_InstanceFilter_Inventory struct {

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

VM inventory details.

func (*OSPolicyAssignment_InstanceFilter_Inventory) Descriptor

Deprecated: Use OSPolicyAssignment_InstanceFilter_Inventory.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_InstanceFilter_Inventory) GetOsShortName

func (*OSPolicyAssignment_InstanceFilter_Inventory) GetOsVersion

func (*OSPolicyAssignment_InstanceFilter_Inventory) ProtoMessage

func (*OSPolicyAssignment_InstanceFilter_Inventory) ProtoReflect

func (*OSPolicyAssignment_InstanceFilter_Inventory) Reset

func (*OSPolicyAssignment_InstanceFilter_Inventory) String

OSPolicyAssignment_LabelSet

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

}

Message representing label set.

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

func (*OSPolicyAssignment_LabelSet) Descriptor

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

Deprecated: Use OSPolicyAssignment_LabelSet.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_LabelSet) GetLabels

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

func (*OSPolicyAssignment_LabelSet) ProtoMessage

func (*OSPolicyAssignment_LabelSet) ProtoMessage()

func (*OSPolicyAssignment_LabelSet) ProtoReflect

func (*OSPolicyAssignment_LabelSet) Reset

func (x *OSPolicyAssignment_LabelSet) Reset()

func (*OSPolicyAssignment_LabelSet) String

func (x *OSPolicyAssignment_LabelSet) String() string

OSPolicyAssignment_Rollout

type OSPolicyAssignment_Rollout struct {

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

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

func (*OSPolicyAssignment_Rollout) Descriptor

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

Deprecated: Use OSPolicyAssignment_Rollout.ProtoReflect.Descriptor instead.

func (*OSPolicyAssignment_Rollout) GetDisruptionBudget

func (x *OSPolicyAssignment_Rollout) GetDisruptionBudget() *FixedOrPercent

func (*OSPolicyAssignment_Rollout) GetMinWaitDuration

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

func (*OSPolicyAssignment_Rollout) ProtoMessage

func (*OSPolicyAssignment_Rollout) ProtoMessage()

func (*OSPolicyAssignment_Rollout) ProtoReflect

func (*OSPolicyAssignment_Rollout) Reset

func (x *OSPolicyAssignment_Rollout) Reset()

func (*OSPolicyAssignment_Rollout) String

func (x *OSPolicyAssignment_Rollout) String() string

OSPolicyAssignment_RolloutState

type OSPolicyAssignment_RolloutState int32

OS policy assignment rollout state

OSPolicyAssignment_ROLLOUT_STATE_UNSPECIFIED, OSPolicyAssignment_IN_PROGRESS, OSPolicyAssignment_CANCELLING, OSPolicyAssignment_CANCELLED, OSPolicyAssignment_SUCCEEDED

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

func (OSPolicyAssignment_RolloutState) Descriptor

func (OSPolicyAssignment_RolloutState) Enum

func (OSPolicyAssignment_RolloutState) EnumDescriptor

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

Deprecated: Use OSPolicyAssignment_RolloutState.Descriptor instead.

func (OSPolicyAssignment_RolloutState) Number

func (OSPolicyAssignment_RolloutState) String

func (OSPolicyAssignment_RolloutState) Type

OSPolicyComplianceState (deprecated)

type OSPolicyComplianceState int32

Supported OSPolicy compliance states.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/config_common.proto.

OSPolicyComplianceState_OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED, OSPolicyComplianceState_COMPLIANT, OSPolicyComplianceState_NON_COMPLIANT, OSPolicyComplianceState_UNKNOWN, OSPolicyComplianceState_NO_OS_POLICIES_APPLICABLE (deprecated)

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

func (OSPolicyComplianceState) Enum (deprecated)

func (OSPolicyComplianceState) EnumDescriptor (deprecated)

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

Deprecated: Use OSPolicyComplianceState.Descriptor instead.

func (OSPolicyComplianceState) Number (deprecated)

func (OSPolicyComplianceState) String (deprecated)

func (x OSPolicyComplianceState) String() string

func (OSPolicyComplianceState) Type (deprecated)

OSPolicyResourceCompliance (deprecated)

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.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/config_common.proto.

func (*OSPolicyResourceCompliance) Descriptor (deprecated)

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

Deprecated: Use OSPolicyResourceCompliance.ProtoReflect.Descriptor instead.

func (*OSPolicyResourceCompliance) GetConfigSteps (deprecated)

func (*OSPolicyResourceCompliance) GetExecResourceOutput (deprecated)

func (*OSPolicyResourceCompliance) GetOsPolicyResourceId (deprecated)

func (x *OSPolicyResourceCompliance) GetOsPolicyResourceId() string

func (*OSPolicyResourceCompliance) GetOutput (deprecated)

func (m *OSPolicyResourceCompliance) GetOutput() isOSPolicyResourceCompliance_Output

func (*OSPolicyResourceCompliance) GetState (deprecated)

func (*OSPolicyResourceCompliance) ProtoMessage (deprecated)

func (*OSPolicyResourceCompliance) ProtoMessage()

func (*OSPolicyResourceCompliance) ProtoReflect (deprecated)

func (*OSPolicyResourceCompliance) Reset (deprecated)

func (x *OSPolicyResourceCompliance) Reset()

func (*OSPolicyResourceCompliance) String (deprecated)

func (x *OSPolicyResourceCompliance) String() string

OSPolicyResourceCompliance_ExecResourceOutput (deprecated)

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.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/config_common.proto.

func (*OSPolicyResourceCompliance_ExecResourceOutput) Descriptor (deprecated)

Deprecated: Use OSPolicyResourceCompliance_ExecResourceOutput.ProtoReflect.Descriptor instead.

func (*OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput (deprecated)

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

func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage (deprecated)

func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect (deprecated)

func (*OSPolicyResourceCompliance_ExecResourceOutput) Reset (deprecated)

func (*OSPolicyResourceCompliance_ExecResourceOutput) String (deprecated)

OSPolicyResourceCompliance_ExecResourceOutput_

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

OSPolicyResourceConfigStep (deprecated)

type OSPolicyResourceConfigStep struct {
	Type OSPolicyResourceConfigStep_Type "" /* 129 byte string literal not displayed */

	Outcome OSPolicyResourceConfigStep_Outcome "" /* 138 byte string literal not displayed */

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

}

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

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/config_common.proto.

func (*OSPolicyResourceConfigStep) Descriptor (deprecated)

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

Deprecated: Use OSPolicyResourceConfigStep.ProtoReflect.Descriptor instead.

func (*OSPolicyResourceConfigStep) GetErrorMessage (deprecated)

func (x *OSPolicyResourceConfigStep) GetErrorMessage() string

func (*OSPolicyResourceConfigStep) GetOutcome (deprecated)

func (*OSPolicyResourceConfigStep) GetType (deprecated)

func (*OSPolicyResourceConfigStep) ProtoMessage (deprecated)

func (*OSPolicyResourceConfigStep) ProtoMessage()

func (*OSPolicyResourceConfigStep) ProtoReflect (deprecated)

func (*OSPolicyResourceConfigStep) Reset (deprecated)

func (x *OSPolicyResourceConfigStep) Reset()

func (*OSPolicyResourceConfigStep) String (deprecated)

func (x *OSPolicyResourceConfigStep) String() string

OSPolicyResourceConfigStep_Outcome (deprecated)

type OSPolicyResourceConfigStep_Outcome int32

Supported outcomes for a configuration step.

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/config_common.proto.

OSPolicyResourceConfigStep_OUTCOME_UNSPECIFIED, OSPolicyResourceConfigStep_SUCCEEDED, OSPolicyResourceConfigStep_FAILED (deprecated)

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

func (OSPolicyResourceConfigStep_Outcome) Enum (deprecated)

func (OSPolicyResourceConfigStep_Outcome) EnumDescriptor (deprecated)

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

Deprecated: Use OSPolicyResourceConfigStep_Outcome.Descriptor instead.

func (OSPolicyResourceConfigStep_Outcome) Number (deprecated)

func (OSPolicyResourceConfigStep_Outcome) String (deprecated)

func (OSPolicyResourceConfigStep_Outcome) Type (deprecated)

OSPolicyResourceConfigStep_Type (deprecated)

type OSPolicyResourceConfigStep_Type int32

Supported configuration step types

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/config_common.proto.

OSPolicyResourceConfigStep_TYPE_UNSPECIFIED, OSPolicyResourceConfigStep_VALIDATION, OSPolicyResourceConfigStep_DESIRED_STATE_CHECK, OSPolicyResourceConfigStep_DESIRED_STATE_ENFORCEMENT, OSPolicyResourceConfigStep_DESIRED_STATE_CHECK_POST_ENFORCEMENT (deprecated)

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

func (OSPolicyResourceConfigStep_Type) Enum (deprecated)

func (OSPolicyResourceConfigStep_Type) EnumDescriptor (deprecated)

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

Deprecated: Use OSPolicyResourceConfigStep_Type.Descriptor instead.

func (OSPolicyResourceConfigStep_Type) Number (deprecated)

func (OSPolicyResourceConfigStep_Type) String (deprecated)

func (OSPolicyResourceConfigStep_Type) Type (deprecated)

OSPolicy_InventoryFilter

type OSPolicy_InventoryFilter struct {

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

Filtering criteria to select VMs based on inventory details.

func (*OSPolicy_InventoryFilter) Descriptor

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

Deprecated: Use OSPolicy_InventoryFilter.ProtoReflect.Descriptor instead.

func (*OSPolicy_InventoryFilter) GetOsShortName

func (x *OSPolicy_InventoryFilter) GetOsShortName() string

func (*OSPolicy_InventoryFilter) GetOsVersion

func (x *OSPolicy_InventoryFilter) GetOsVersion() string

func (*OSPolicy_InventoryFilter) ProtoMessage

func (*OSPolicy_InventoryFilter) ProtoMessage()

func (*OSPolicy_InventoryFilter) ProtoReflect

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

func (*OSPolicy_InventoryFilter) Reset

func (x *OSPolicy_InventoryFilter) Reset()

func (*OSPolicy_InventoryFilter) String

func (x *OSPolicy_InventoryFilter) String() string

OSPolicy_Mode

type OSPolicy_Mode int32

Policy mode

OSPolicy_MODE_UNSPECIFIED, OSPolicy_VALIDATION, OSPolicy_ENFORCEMENT

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

func (OSPolicy_Mode) Descriptor

func (OSPolicy_Mode) Enum

func (x OSPolicy_Mode) Enum() *OSPolicy_Mode

func (OSPolicy_Mode) EnumDescriptor

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

Deprecated: Use OSPolicy_Mode.Descriptor instead.

func (OSPolicy_Mode) Number

func (OSPolicy_Mode) String

func (x OSPolicy_Mode) String() string

func (OSPolicy_Mode) Type

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

Filtering criteria to select VMs based on OS details.

func (*OSPolicy_OSFilter) Descriptor

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

OSPolicy_Resource

type OSPolicy_Resource struct {

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

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

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

func (*OSPolicy_Resource) Descriptor

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

Deprecated: Use OSPolicy_Resource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource) GetExec

func (*OSPolicy_Resource) GetFile

func (*OSPolicy_Resource) GetId

func (x *OSPolicy_Resource) GetId() string

func (*OSPolicy_Resource) GetPkg

func (*OSPolicy_Resource) GetRepository

func (*OSPolicy_Resource) GetResourceType

func (m *OSPolicy_Resource) GetResourceType() isOSPolicy_Resource_ResourceType

func (*OSPolicy_Resource) ProtoMessage

func (*OSPolicy_Resource) ProtoMessage()

func (*OSPolicy_Resource) ProtoReflect

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

func (*OSPolicy_Resource) Reset

func (x *OSPolicy_Resource) Reset()

func (*OSPolicy_Resource) String

func (x *OSPolicy_Resource) String() string

OSPolicy_ResourceGroup

type OSPolicy_ResourceGroup struct {

	// Deprecated. Use the `inventory_filters` field instead.
	// Used to specify the OS filter for a resource group
	//
	// Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/os_policy.proto.
	OsFilter *OSPolicy_OSFilter `protobuf:"bytes,1,opt,name=os_filter,json=osFilter,proto3" json:"os_filter,omitempty"`
	// List of inventory filters for the resource group.
	//
	// The resources in this resource group are applied to the target VM if it
	// satisfies at least one of the following inventory filters.
	//
	// For example, to apply this resource group to VMs running either `RHEL` or
	// `CentOS` operating systems, specify 2 items for the list with following
	// values:
	// inventory_filters[0].os_short_name='rhel' and
	// inventory_filters[1].os_short_name='centos'
	//
	// If the list is empty, this resource group will be applied to the target
	// VM unconditionally.
	InventoryFilters []*OSPolicy_InventoryFilter `protobuf:"bytes,3,rep,name=inventory_filters,json=inventoryFilters,proto3" json:"inventory_filters,omitempty"`
	// Required. List of resources configured for this resource group.
	// The resources are executed in the exact order specified here.
	Resources []*OSPolicy_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

Resource groups provide a mechanism to group OS policy resources.

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

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

func (*OSPolicy_ResourceGroup) Descriptor

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

Deprecated: Use OSPolicy_ResourceGroup.ProtoReflect.Descriptor instead.

func (*OSPolicy_ResourceGroup) GetInventoryFilters

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

func (*OSPolicy_ResourceGroup) GetOsFilter

func (x *OSPolicy_ResourceGroup) GetOsFilter() *OSPolicy_OSFilter

Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/os_policy.proto.

func (*OSPolicy_ResourceGroup) GetResources

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

func (*OSPolicy_ResourceGroup) ProtoMessage

func (*OSPolicy_ResourceGroup) ProtoMessage()

func (*OSPolicy_ResourceGroup) ProtoReflect

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

func (*OSPolicy_ResourceGroup) Reset

func (x *OSPolicy_ResourceGroup) Reset()

func (*OSPolicy_ResourceGroup) String

func (x *OSPolicy_ResourceGroup) String() string

OSPolicy_Resource_Exec

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

OSPolicy_Resource_ExecResource

type OSPolicy_Resource_ExecResource struct {

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

A resource that allows executing scripts on the VM.

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

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

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

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

func (*OSPolicy_Resource_ExecResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_ExecResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_ExecResource) GetEnforce

func (*OSPolicy_Resource_ExecResource) GetValidate

func (*OSPolicy_Resource_ExecResource) ProtoMessage

func (*OSPolicy_Resource_ExecResource) ProtoMessage()

func (*OSPolicy_Resource_ExecResource) ProtoReflect

func (*OSPolicy_Resource_ExecResource) Reset

func (x *OSPolicy_Resource_ExecResource) Reset()

func (*OSPolicy_Resource_ExecResource) String

OSPolicy_Resource_ExecResource_Exec

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

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

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

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

}

A file or script to execute.

func (*OSPolicy_Resource_ExecResource_Exec) Descriptor

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

Deprecated: Use OSPolicy_Resource_ExecResource_Exec.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_ExecResource_Exec) GetArgs

func (*OSPolicy_Resource_ExecResource_Exec) GetFile

func (*OSPolicy_Resource_ExecResource_Exec) GetInterpreter

func (*OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath

func (x *OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath() string

func (*OSPolicy_Resource_ExecResource_Exec) GetScript

func (*OSPolicy_Resource_ExecResource_Exec) GetSource

func (m *OSPolicy_Resource_ExecResource_Exec) GetSource() isOSPolicy_Resource_ExecResource_Exec_Source

func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage

func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage()

func (*OSPolicy_Resource_ExecResource_Exec) ProtoReflect

func (*OSPolicy_Resource_ExecResource_Exec) Reset

func (*OSPolicy_Resource_ExecResource_Exec) String

OSPolicy_Resource_ExecResource_Exec_File

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

OSPolicy_Resource_ExecResource_Exec_Interpreter

type OSPolicy_Resource_ExecResource_Exec_Interpreter int32

The interpreter to use.

OSPolicy_Resource_ExecResource_Exec_INTERPRETER_UNSPECIFIED, OSPolicy_Resource_ExecResource_Exec_NONE, OSPolicy_Resource_ExecResource_Exec_SHELL, OSPolicy_Resource_ExecResource_Exec_POWERSHELL

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

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Descriptor

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Enum

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) EnumDescriptor

Deprecated: Use OSPolicy_Resource_ExecResource_Exec_Interpreter.Descriptor instead.

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Number

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) String

func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Type

OSPolicy_Resource_ExecResource_Exec_Script

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

OSPolicy_Resource_File

type OSPolicy_Resource_File struct {

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

A remote or local file.

func (*OSPolicy_Resource_File) Descriptor

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

Deprecated: Use OSPolicy_Resource_File.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File) GetAllowInsecure

func (x *OSPolicy_Resource_File) GetAllowInsecure() bool

func (*OSPolicy_Resource_File) GetGcs

func (*OSPolicy_Resource_File) GetLocalPath

func (x *OSPolicy_Resource_File) GetLocalPath() string

func (*OSPolicy_Resource_File) GetRemote

func (*OSPolicy_Resource_File) GetType

func (m *OSPolicy_Resource_File) GetType() isOSPolicy_Resource_File_Type

func (*OSPolicy_Resource_File) ProtoMessage

func (*OSPolicy_Resource_File) ProtoMessage()

func (*OSPolicy_Resource_File) ProtoReflect

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

func (*OSPolicy_Resource_File) Reset

func (x *OSPolicy_Resource_File) Reset()

func (*OSPolicy_Resource_File) String

func (x *OSPolicy_Resource_File) String() string

OSPolicy_Resource_FileResource

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

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

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

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

}

A resource that manages the state of a file.

func (*OSPolicy_Resource_FileResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_FileResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_FileResource) GetContent

func (x *OSPolicy_Resource_FileResource) GetContent() string

func (*OSPolicy_Resource_FileResource) GetFile

func (*OSPolicy_Resource_FileResource) GetPath

func (*OSPolicy_Resource_FileResource) GetPermissions

func (x *OSPolicy_Resource_FileResource) GetPermissions() string

func (*OSPolicy_Resource_FileResource) GetSource

func (m *OSPolicy_Resource_FileResource) GetSource() isOSPolicy_Resource_FileResource_Source

func (*OSPolicy_Resource_FileResource) GetState

func (*OSPolicy_Resource_FileResource) ProtoMessage

func (*OSPolicy_Resource_FileResource) ProtoMessage()

func (*OSPolicy_Resource_FileResource) ProtoReflect

func (*OSPolicy_Resource_FileResource) Reset

func (x *OSPolicy_Resource_FileResource) Reset()

func (*OSPolicy_Resource_FileResource) String

OSPolicy_Resource_FileResource_Content

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

OSPolicy_Resource_FileResource_DesiredState

type OSPolicy_Resource_FileResource_DesiredState int32

Desired state of the file.

OSPolicy_Resource_FileResource_DESIRED_STATE_UNSPECIFIED, OSPolicy_Resource_FileResource_PRESENT, OSPolicy_Resource_FileResource_ABSENT, OSPolicy_Resource_FileResource_CONTENTS_MATCH

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

func (OSPolicy_Resource_FileResource_DesiredState) Descriptor

func (OSPolicy_Resource_FileResource_DesiredState) Enum

func (OSPolicy_Resource_FileResource_DesiredState) EnumDescriptor

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

Deprecated: Use OSPolicy_Resource_FileResource_DesiredState.Descriptor instead.

func (OSPolicy_Resource_FileResource_DesiredState) Number

func (OSPolicy_Resource_FileResource_DesiredState) String

func (OSPolicy_Resource_FileResource_DesiredState) Type

OSPolicy_Resource_FileResource_File

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

OSPolicy_Resource_File_

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

OSPolicy_Resource_File_Gcs

type OSPolicy_Resource_File_Gcs struct {

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

Specifies a file available as a Cloud Storage Object.

func (*OSPolicy_Resource_File_Gcs) Descriptor

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

Deprecated: Use OSPolicy_Resource_File_Gcs.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File_Gcs) GetBucket

func (x *OSPolicy_Resource_File_Gcs) GetBucket() string

func (*OSPolicy_Resource_File_Gcs) GetGeneration

func (x *OSPolicy_Resource_File_Gcs) GetGeneration() int64

func (*OSPolicy_Resource_File_Gcs) GetObject

func (x *OSPolicy_Resource_File_Gcs) GetObject() string

func (*OSPolicy_Resource_File_Gcs) ProtoMessage

func (*OSPolicy_Resource_File_Gcs) ProtoMessage()

func (*OSPolicy_Resource_File_Gcs) ProtoReflect

func (*OSPolicy_Resource_File_Gcs) Reset

func (x *OSPolicy_Resource_File_Gcs) Reset()

func (*OSPolicy_Resource_File_Gcs) String

func (x *OSPolicy_Resource_File_Gcs) String() string

OSPolicy_Resource_File_Gcs_

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

OSPolicy_Resource_File_LocalPath

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

OSPolicy_Resource_File_Remote

type OSPolicy_Resource_File_Remote struct {

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

Specifies a file available via some URI.

func (*OSPolicy_Resource_File_Remote) Descriptor

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

Deprecated: Use OSPolicy_Resource_File_Remote.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_File_Remote) GetSha256Checksum

func (x *OSPolicy_Resource_File_Remote) GetSha256Checksum() string

func (*OSPolicy_Resource_File_Remote) GetUri

func (*OSPolicy_Resource_File_Remote) ProtoMessage

func (*OSPolicy_Resource_File_Remote) ProtoMessage()

func (*OSPolicy_Resource_File_Remote) ProtoReflect

func (*OSPolicy_Resource_File_Remote) Reset

func (x *OSPolicy_Resource_File_Remote) Reset()

func (*OSPolicy_Resource_File_Remote) String

OSPolicy_Resource_File_Remote_

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

OSPolicy_Resource_PackageResource

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

	SystemPackage isOSPolicy_Resource_PackageResource_SystemPackage `protobuf_oneof:"system_package"`

}

A resource that manages a system package.

func (*OSPolicy_Resource_PackageResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource) GetApt

func (*OSPolicy_Resource_PackageResource) GetDeb

func (*OSPolicy_Resource_PackageResource) GetDesiredState

func (*OSPolicy_Resource_PackageResource) GetGooget

func (*OSPolicy_Resource_PackageResource) GetMsi

func (*OSPolicy_Resource_PackageResource) GetRpm

func (*OSPolicy_Resource_PackageResource) GetSystemPackage

func (m *OSPolicy_Resource_PackageResource) GetSystemPackage() isOSPolicy_Resource_PackageResource_SystemPackage

func (*OSPolicy_Resource_PackageResource) GetYum

func (*OSPolicy_Resource_PackageResource) GetZypper

func (*OSPolicy_Resource_PackageResource) ProtoMessage

func (*OSPolicy_Resource_PackageResource) ProtoMessage()

func (*OSPolicy_Resource_PackageResource) ProtoReflect

func (*OSPolicy_Resource_PackageResource) Reset

func (*OSPolicy_Resource_PackageResource) String

OSPolicy_Resource_PackageResource_APT

type OSPolicy_Resource_PackageResource_APT struct {

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

A package managed by APT.

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

func (*OSPolicy_Resource_PackageResource_APT) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_APT.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_APT) GetName

func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage

func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_APT) ProtoReflect

func (*OSPolicy_Resource_PackageResource_APT) Reset

func (*OSPolicy_Resource_PackageResource_APT) String

OSPolicy_Resource_PackageResource_Apt

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

OSPolicy_Resource_PackageResource_Deb

type OSPolicy_Resource_PackageResource_Deb struct {

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

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

func (*OSPolicy_Resource_PackageResource_Deb) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_Deb.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_Deb) GetPullDeps

func (*OSPolicy_Resource_PackageResource_Deb) GetSource

func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage

func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_Deb) ProtoReflect

func (*OSPolicy_Resource_PackageResource_Deb) Reset

func (*OSPolicy_Resource_PackageResource_Deb) String

OSPolicy_Resource_PackageResource_Deb_

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

OSPolicy_Resource_PackageResource_DesiredState

type OSPolicy_Resource_PackageResource_DesiredState int32

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

OSPolicy_Resource_PackageResource_DESIRED_STATE_UNSPECIFIED, OSPolicy_Resource_PackageResource_INSTALLED, OSPolicy_Resource_PackageResource_REMOVED

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

func (OSPolicy_Resource_PackageResource_DesiredState) Descriptor

func (OSPolicy_Resource_PackageResource_DesiredState) Enum

func (OSPolicy_Resource_PackageResource_DesiredState) EnumDescriptor

Deprecated: Use OSPolicy_Resource_PackageResource_DesiredState.Descriptor instead.

func (OSPolicy_Resource_PackageResource_DesiredState) Number

func (OSPolicy_Resource_PackageResource_DesiredState) String

func (OSPolicy_Resource_PackageResource_DesiredState) Type

OSPolicy_Resource_PackageResource_GooGet

type OSPolicy_Resource_PackageResource_GooGet struct {

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

A package managed by GooGet.

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

func (*OSPolicy_Resource_PackageResource_GooGet) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_GooGet.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_GooGet) GetName

func (*OSPolicy_Resource_PackageResource_GooGet) ProtoMessage

func (*OSPolicy_Resource_PackageResource_GooGet) ProtoReflect

func (*OSPolicy_Resource_PackageResource_GooGet) Reset

func (*OSPolicy_Resource_PackageResource_GooGet) String

OSPolicy_Resource_PackageResource_Googet

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

OSPolicy_Resource_PackageResource_MSI

type OSPolicy_Resource_PackageResource_MSI struct {

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

An MSI package. MSI packages only support INSTALLED state.

func (*OSPolicy_Resource_PackageResource_MSI) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_MSI.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_MSI) GetProperties

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

func (*OSPolicy_Resource_PackageResource_MSI) GetSource

func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage

func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_MSI) ProtoReflect

func (*OSPolicy_Resource_PackageResource_MSI) Reset

func (*OSPolicy_Resource_PackageResource_MSI) String

OSPolicy_Resource_PackageResource_Msi

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

OSPolicy_Resource_PackageResource_RPM

type OSPolicy_Resource_PackageResource_RPM struct {

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

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

func (*OSPolicy_Resource_PackageResource_RPM) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_RPM.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_RPM) GetPullDeps

func (*OSPolicy_Resource_PackageResource_RPM) GetSource

func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage

func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_RPM) ProtoReflect

func (*OSPolicy_Resource_PackageResource_RPM) Reset

func (*OSPolicy_Resource_PackageResource_RPM) String

OSPolicy_Resource_PackageResource_Rpm

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

OSPolicy_Resource_PackageResource_YUM

type OSPolicy_Resource_PackageResource_YUM struct {

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

A package managed by YUM.

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

func (*OSPolicy_Resource_PackageResource_YUM) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_YUM.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_YUM) GetName

func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage

func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage()

func (*OSPolicy_Resource_PackageResource_YUM) ProtoReflect

func (*OSPolicy_Resource_PackageResource_YUM) Reset

func (*OSPolicy_Resource_PackageResource_YUM) String

OSPolicy_Resource_PackageResource_Yum

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

OSPolicy_Resource_PackageResource_Zypper

type OSPolicy_Resource_PackageResource_Zypper struct {

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

A package managed by Zypper.

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

func (*OSPolicy_Resource_PackageResource_Zypper) Descriptor

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

Deprecated: Use OSPolicy_Resource_PackageResource_Zypper.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_PackageResource_Zypper) GetName

func (*OSPolicy_Resource_PackageResource_Zypper) ProtoMessage

func (*OSPolicy_Resource_PackageResource_Zypper) ProtoReflect

func (*OSPolicy_Resource_PackageResource_Zypper) Reset

func (*OSPolicy_Resource_PackageResource_Zypper) String

OSPolicy_Resource_PackageResource_Zypper_

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

OSPolicy_Resource_Pkg

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

OSPolicy_Resource_Repository

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

OSPolicy_Resource_RepositoryResource

type OSPolicy_Resource_RepositoryResource struct {

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

A resource that manages a package repository.

func (*OSPolicy_Resource_RepositoryResource) Descriptor

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

Deprecated: Use OSPolicy_Resource_RepositoryResource.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource) GetApt

func (*OSPolicy_Resource_RepositoryResource) GetGoo

func (*OSPolicy_Resource_RepositoryResource) GetRepository

func (m *OSPolicy_Resource_RepositoryResource) GetRepository() isOSPolicy_Resource_RepositoryResource_Repository

func (*OSPolicy_Resource_RepositoryResource) GetYum

func (*OSPolicy_Resource_RepositoryResource) GetZypper

func (*OSPolicy_Resource_RepositoryResource) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource) ProtoMessage()

func (*OSPolicy_Resource_RepositoryResource) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource) Reset

func (*OSPolicy_Resource_RepositoryResource) String

OSPolicy_Resource_RepositoryResource_Apt

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

OSPolicy_Resource_RepositoryResource_AptRepository

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

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

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

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

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

}

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

func (*OSPolicy_Resource_RepositoryResource_AptRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetArchiveType

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetComponents

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetDistribution

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetGpgKey

func (*OSPolicy_Resource_RepositoryResource_AptRepository) GetUri

func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_AptRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_AptRepository) String

OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType

type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType int32

Type of archive.

OSPolicy_Resource_RepositoryResource_AptRepository_ARCHIVE_TYPE_UNSPECIFIED, OSPolicy_Resource_RepositoryResource_AptRepository_DEB, OSPolicy_Resource_RepositoryResource_AptRepository_DEB_SRC

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

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Descriptor

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Enum

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) EnumDescriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.Descriptor instead.

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Number

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) String

func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Type

OSPolicy_Resource_RepositoryResource_Goo

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

OSPolicy_Resource_RepositoryResource_GooRepository

type OSPolicy_Resource_RepositoryResource_GooRepository struct {

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

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

func (*OSPolicy_Resource_RepositoryResource_GooRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_GooRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetName

func (*OSPolicy_Resource_RepositoryResource_GooRepository) GetUrl

func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_GooRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_GooRepository) String

OSPolicy_Resource_RepositoryResource_Yum

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

OSPolicy_Resource_RepositoryResource_YumRepository

type OSPolicy_Resource_RepositoryResource_YumRepository struct {

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

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

func (*OSPolicy_Resource_RepositoryResource_YumRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_YumRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetBaseUrl

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetDisplayName

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetGpgKeys

func (*OSPolicy_Resource_RepositoryResource_YumRepository) GetId

func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_YumRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_YumRepository) String

OSPolicy_Resource_RepositoryResource_Zypper

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

OSPolicy_Resource_RepositoryResource_ZypperRepository

type OSPolicy_Resource_RepositoryResource_ZypperRepository struct {

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

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

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Descriptor

Deprecated: Use OSPolicy_Resource_RepositoryResource_ZypperRepository.ProtoReflect.Descriptor instead.

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetBaseUrl

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetDisplayName

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetGpgKeys

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) GetId

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoMessage

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoReflect

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Reset

func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) String

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

OsConfigZonalServiceClient is the client API for OsConfigZonalService service.

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

func NewOsConfigZonalServiceClient

func NewOsConfigZonalServiceClient(cc grpc.ClientConnInterface) OsConfigZonalServiceClient

OsConfigZonalServiceServer

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

OsConfigZonalServiceServer is the server API for OsConfigZonalService service.

UnimplementedOsConfigZonalServiceServer

type UnimplementedOsConfigZonalServiceServer struct {
}

UnimplementedOsConfigZonalServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOsConfigZonalServiceServer) CreateOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) DeleteOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) GetInstanceOSPoliciesCompliance

func (*UnimplementedOsConfigZonalServiceServer) GetInventory

func (*UnimplementedOsConfigZonalServiceServer) GetOSPolicyAssignment

func (*UnimplementedOsConfigZonalServiceServer) GetOSPolicyAssignmentReport

func (*UnimplementedOsConfigZonalServiceServer) GetVulnerabilityReport

func (*UnimplementedOsConfigZonalServiceServer) ListInstanceOSPoliciesCompliances

func (*UnimplementedOsConfigZonalServiceServer) ListInventories

func (*UnimplementedOsConfigZonalServiceServer) ListOSPolicyAssignmentReports

func (*UnimplementedOsConfigZonalServiceServer) ListOSPolicyAssignmentRevisions

func (*UnimplementedOsConfigZonalServiceServer) ListOSPolicyAssignments

func (*UnimplementedOsConfigZonalServiceServer) ListVulnerabilityReports

func (*UnimplementedOsConfigZonalServiceServer) UpdateOSPolicyAssignment

UpdateOSPolicyAssignmentRequest

type UpdateOSPolicyAssignmentRequest struct {

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

A request message to update an OS policy assignment

func (*UpdateOSPolicyAssignmentRequest) Descriptor

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

Deprecated: Use UpdateOSPolicyAssignmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateOSPolicyAssignmentRequest) GetOsPolicyAssignment

func (x *UpdateOSPolicyAssignmentRequest) GetOsPolicyAssignment() *OSPolicyAssignment

func (*UpdateOSPolicyAssignmentRequest) GetUpdateMask

func (*UpdateOSPolicyAssignmentRequest) ProtoMessage

func (*UpdateOSPolicyAssignmentRequest) ProtoMessage()

func (*UpdateOSPolicyAssignmentRequest) ProtoReflect

func (*UpdateOSPolicyAssignmentRequest) Reset

func (*UpdateOSPolicyAssignmentRequest) String

VulnerabilityReport

type VulnerabilityReport struct {

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

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

For more information, see Vulnerability reports.

func (*VulnerabilityReport) Descriptor

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

Deprecated: Use VulnerabilityReport.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport) GetName

func (x *VulnerabilityReport) GetName() string

func (*VulnerabilityReport) GetUpdateTime

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

func (*VulnerabilityReport) GetVulnerabilities

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

func (*VulnerabilityReport) ProtoMessage

func (*VulnerabilityReport) ProtoMessage()

func (*VulnerabilityReport) ProtoReflect

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

func (*VulnerabilityReport) Reset

func (x *VulnerabilityReport) Reset()

func (*VulnerabilityReport) String

func (x *VulnerabilityReport) String() string

VulnerabilityReport_Vulnerability

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

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

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

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

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

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

}

A vulnerability affecting the VM instance.

func (*VulnerabilityReport_Vulnerability) Descriptor

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

Deprecated: Use VulnerabilityReport_Vulnerability.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability) GetAvailableInventoryItemIds

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

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

func (*VulnerabilityReport_Vulnerability) GetCreateTime

func (*VulnerabilityReport_Vulnerability) GetDetails

func (*VulnerabilityReport_Vulnerability) GetInstalledInventoryItemIds

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

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

func (*VulnerabilityReport_Vulnerability) GetItems

func (*VulnerabilityReport_Vulnerability) GetUpdateTime

func (*VulnerabilityReport_Vulnerability) ProtoMessage

func (*VulnerabilityReport_Vulnerability) ProtoMessage()

func (*VulnerabilityReport_Vulnerability) ProtoReflect

func (*VulnerabilityReport_Vulnerability) Reset

func (*VulnerabilityReport_Vulnerability) String

VulnerabilityReport_Vulnerability_Details

type VulnerabilityReport_Vulnerability_Details struct {

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

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

func (*VulnerabilityReport_Vulnerability_Details) Descriptor

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

Deprecated: Use VulnerabilityReport_Vulnerability_Details.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Details) GetCve

func (*VulnerabilityReport_Vulnerability_Details) GetCvssV2Score

func (*VulnerabilityReport_Vulnerability_Details) GetCvssV3

func (*VulnerabilityReport_Vulnerability_Details) GetDescription

func (*VulnerabilityReport_Vulnerability_Details) GetReferences

func (*VulnerabilityReport_Vulnerability_Details) GetSeverity

func (*VulnerabilityReport_Vulnerability_Details) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Details) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Details) Reset

func (*VulnerabilityReport_Vulnerability_Details) String

VulnerabilityReport_Vulnerability_Details_Reference

type VulnerabilityReport_Vulnerability_Details_Reference struct {

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

A reference for this vulnerability.

func (*VulnerabilityReport_Vulnerability_Details_Reference) Descriptor

Deprecated: Use VulnerabilityReport_Vulnerability_Details_Reference.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Details_Reference) GetSource

func (*VulnerabilityReport_Vulnerability_Details_Reference) GetUrl

func (*VulnerabilityReport_Vulnerability_Details_Reference) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Details_Reference) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Details_Reference) Reset

func (*VulnerabilityReport_Vulnerability_Details_Reference) String

VulnerabilityReport_Vulnerability_Item

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

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

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

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

}

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

func (*VulnerabilityReport_Vulnerability_Item) Descriptor

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

Deprecated: Use VulnerabilityReport_Vulnerability_Item.ProtoReflect.Descriptor instead.

func (*VulnerabilityReport_Vulnerability_Item) GetAvailableInventoryItemId

func (x *VulnerabilityReport_Vulnerability_Item) GetAvailableInventoryItemId() string

func (*VulnerabilityReport_Vulnerability_Item) GetFixedCpeUri

func (x *VulnerabilityReport_Vulnerability_Item) GetFixedCpeUri() string

func (*VulnerabilityReport_Vulnerability_Item) GetInstalledInventoryItemId

func (x *VulnerabilityReport_Vulnerability_Item) GetInstalledInventoryItemId() string

func (*VulnerabilityReport_Vulnerability_Item) GetUpstreamFix

func (x *VulnerabilityReport_Vulnerability_Item) GetUpstreamFix() string

func (*VulnerabilityReport_Vulnerability_Item) ProtoMessage

func (*VulnerabilityReport_Vulnerability_Item) ProtoReflect

func (*VulnerabilityReport_Vulnerability_Item) Reset

func (*VulnerabilityReport_Vulnerability_Item) String