Variables
DesiredState_name, DesiredState_value
var (
DesiredState_name = map[int32]string{
0: "DESIRED_STATE_UNSPECIFIED",
1: "INSTALLED",
2: "UPDATED",
3: "REMOVED",
}
DesiredState_value = map[string]int32{
"DESIRED_STATE_UNSPECIFIED": 0,
"INSTALLED": 1,
"UPDATED": 2,
"REMOVED": 3,
}
)
Enum value maps for DesiredState.
Package_Manager_name, Package_Manager_value
var (
Package_Manager_name = map[int32]string{
0: "MANAGER_UNSPECIFIED",
1: "ANY",
2: "APT",
3: "YUM",
4: "ZYPPER",
5: "GOO",
}
Package_Manager_value = map[string]int32{
"MANAGER_UNSPECIFIED": 0,
"ANY": 1,
"APT": 2,
"YUM": 3,
"ZYPPER": 4,
"GOO": 5,
}
)
Enum value maps for Package_Manager.
AptRepository_ArchiveType_name, AptRepository_ArchiveType_value
var (
AptRepository_ArchiveType_name = map[int32]string{
0: "ARCHIVE_TYPE_UNSPECIFIED",
1: "DEB",
2: "DEB_SRC",
}
AptRepository_ArchiveType_value = map[string]int32{
"ARCHIVE_TYPE_UNSPECIFIED": 0,
"DEB": 1,
"DEB_SRC": 2,
}
)
Enum value maps for AptRepository_ArchiveType.
SoftwareRecipe_Step_ExtractArchive_ArchiveType_name, SoftwareRecipe_Step_ExtractArchive_ArchiveType_value
var (
SoftwareRecipe_Step_ExtractArchive_ArchiveType_name = map[int32]string{
0: "ARCHIVE_TYPE_UNSPECIFIED",
1: "TAR",
2: "TAR_GZIP",
3: "TAR_BZIP",
4: "TAR_LZMA",
5: "TAR_XZ",
11: "ZIP",
}
SoftwareRecipe_Step_ExtractArchive_ArchiveType_value = map[string]int32{
"ARCHIVE_TYPE_UNSPECIFIED": 0,
"TAR": 1,
"TAR_GZIP": 2,
"TAR_BZIP": 3,
"TAR_LZMA": 4,
"TAR_XZ": 5,
"ZIP": 11,
}
)
Enum value maps for SoftwareRecipe_Step_ExtractArchive_ArchiveType.
SoftwareRecipe_Step_RunScript_Interpreter_name, SoftwareRecipe_Step_RunScript_Interpreter_value
var (
SoftwareRecipe_Step_RunScript_Interpreter_name = map[int32]string{
0: "INTERPRETER_UNSPECIFIED",
1: "SHELL",
3: "POWERSHELL",
}
SoftwareRecipe_Step_RunScript_Interpreter_value = map[string]int32{
"INTERPRETER_UNSPECIFIED": 0,
"SHELL": 1,
"POWERSHELL": 3,
}
)
Enum value maps for SoftwareRecipe_Step_RunScript_Interpreter.
PatchDeployment_State_name, PatchDeployment_State_value
var (
PatchDeployment_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ACTIVE",
2: "PAUSED",
}
PatchDeployment_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"PAUSED": 2,
}
)
Enum value maps for PatchDeployment_State.
RecurringSchedule_Frequency_name, RecurringSchedule_Frequency_value
var (
RecurringSchedule_Frequency_name = map[int32]string{
0: "FREQUENCY_UNSPECIFIED",
1: "WEEKLY",
2: "MONTHLY",
3: "DAILY",
}
RecurringSchedule_Frequency_value = map[string]int32{
"FREQUENCY_UNSPECIFIED": 0,
"WEEKLY": 1,
"MONTHLY": 2,
"DAILY": 3,
}
)
Enum value maps for RecurringSchedule_Frequency.
PatchJob_State_name, PatchJob_State_value
var (
PatchJob_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STARTED",
2: "INSTANCE_LOOKUP",
3: "PATCHING",
4: "SUCCEEDED",
5: "COMPLETED_WITH_ERRORS",
6: "CANCELED",
7: "TIMED_OUT",
}
PatchJob_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STARTED": 1,
"INSTANCE_LOOKUP": 2,
"PATCHING": 3,
"SUCCEEDED": 4,
"COMPLETED_WITH_ERRORS": 5,
"CANCELED": 6,
"TIMED_OUT": 7,
}
)
Enum value maps for PatchJob_State.
PatchConfig_RebootConfig_name, PatchConfig_RebootConfig_value
var (
PatchConfig_RebootConfig_name = map[int32]string{
0: "REBOOT_CONFIG_UNSPECIFIED",
1: "DEFAULT",
2: "ALWAYS",
3: "NEVER",
}
PatchConfig_RebootConfig_value = map[string]int32{
"REBOOT_CONFIG_UNSPECIFIED": 0,
"DEFAULT": 1,
"ALWAYS": 2,
"NEVER": 3,
}
)
Enum value maps for PatchConfig_RebootConfig.
Instance_PatchState_name, Instance_PatchState_value
var (
Instance_PatchState_name = map[int32]string{
0: "PATCH_STATE_UNSPECIFIED",
1: "PENDING",
2: "INACTIVE",
3: "NOTIFIED",
4: "STARTED",
5: "DOWNLOADING_PATCHES",
6: "APPLYING_PATCHES",
7: "REBOOTING",
8: "SUCCEEDED",
9: "SUCCEEDED_REBOOT_REQUIRED",
10: "FAILED",
11: "ACKED",
12: "TIMED_OUT",
13: "RUNNING_PRE_PATCH_STEP",
14: "RUNNING_POST_PATCH_STEP",
15: "NO_AGENT_DETECTED",
}
Instance_PatchState_value = map[string]int32{
"PATCH_STATE_UNSPECIFIED": 0,
"PENDING": 1,
"INACTIVE": 2,
"NOTIFIED": 3,
"STARTED": 4,
"DOWNLOADING_PATCHES": 5,
"APPLYING_PATCHES": 6,
"REBOOTING": 7,
"SUCCEEDED": 8,
"SUCCEEDED_REBOOT_REQUIRED": 9,
"FAILED": 10,
"ACKED": 11,
"TIMED_OUT": 12,
"RUNNING_PRE_PATCH_STEP": 13,
"RUNNING_POST_PATCH_STEP": 14,
"NO_AGENT_DETECTED": 15,
}
)
Enum value maps for Instance_PatchState.
AptSettings_Type_name, AptSettings_Type_value
var (
AptSettings_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "DIST",
2: "UPGRADE",
}
AptSettings_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"DIST": 1,
"UPGRADE": 2,
}
)
Enum value maps for AptSettings_Type.
WindowsUpdateSettings_Classification_name, WindowsUpdateSettings_Classification_value
var (
WindowsUpdateSettings_Classification_name = map[int32]string{
0: "CLASSIFICATION_UNSPECIFIED",
1: "CRITICAL",
2: "SECURITY",
3: "DEFINITION",
4: "DRIVER",
5: "FEATURE_PACK",
6: "SERVICE_PACK",
7: "TOOL",
8: "UPDATE_ROLLUP",
9: "UPDATE",
}
WindowsUpdateSettings_Classification_value = map[string]int32{
"CLASSIFICATION_UNSPECIFIED": 0,
"CRITICAL": 1,
"SECURITY": 2,
"DEFINITION": 3,
"DRIVER": 4,
"FEATURE_PACK": 5,
"SERVICE_PACK": 6,
"TOOL": 7,
"UPDATE_ROLLUP": 8,
"UPDATE": 9,
}
)
Enum value maps for WindowsUpdateSettings_Classification.
ExecStepConfig_Interpreter_name, ExecStepConfig_Interpreter_value
var (
ExecStepConfig_Interpreter_name = map[int32]string{
0: "INTERPRETER_UNSPECIFIED",
1: "SHELL",
2: "POWERSHELL",
}
ExecStepConfig_Interpreter_value = map[string]int32{
"INTERPRETER_UNSPECIFIED": 0,
"SHELL": 1,
"POWERSHELL": 2,
}
)
Enum value maps for ExecStepConfig_Interpreter.
PatchRollout_Mode_name, PatchRollout_Mode_value
var (
PatchRollout_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "ZONE_BY_ZONE",
2: "CONCURRENT_ZONES",
}
PatchRollout_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"ZONE_BY_ZONE": 1,
"CONCURRENT_ZONES": 2,
}
)
Enum value maps for PatchRollout_Mode.
File_google_cloud_osconfig_v1beta_guest_policies_proto
var File_google_cloud_osconfig_v1beta_guest_policies_proto protoreflect.FileDescriptor
File_google_cloud_osconfig_v1beta_osconfig_common_proto
var File_google_cloud_osconfig_v1beta_osconfig_common_proto protoreflect.FileDescriptor
File_google_cloud_osconfig_v1beta_osconfig_service_proto
var File_google_cloud_osconfig_v1beta_osconfig_service_proto protoreflect.FileDescriptor
File_google_cloud_osconfig_v1beta_patch_deployments_proto
var File_google_cloud_osconfig_v1beta_patch_deployments_proto protoreflect.FileDescriptor
File_google_cloud_osconfig_v1beta_patch_jobs_proto
var File_google_cloud_osconfig_v1beta_patch_jobs_proto protoreflect.FileDescriptor
Functions
func RegisterOsConfigServiceServer
func RegisterOsConfigServiceServer(s *grpc.Server, srv OsConfigServiceServer)
AptRepository
type AptRepository struct {
ArchiveType AptRepository_ArchiveType "" /* 155 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. This repository is added to
a repo file that is stored at
/etc/apt/sources.list.d/google_osconfig.list
.
func (*AptRepository) Descriptor
func (*AptRepository) Descriptor() ([]byte, []int)
Deprecated: Use AptRepository.ProtoReflect.Descriptor instead.
func (*AptRepository) GetArchiveType
func (x *AptRepository) GetArchiveType() AptRepository_ArchiveType
func (*AptRepository) GetComponents
func (x *AptRepository) GetComponents() []string
func (*AptRepository) GetDistribution
func (x *AptRepository) GetDistribution() string
func (*AptRepository) GetGpgKey
func (x *AptRepository) GetGpgKey() string
func (*AptRepository) GetUri
func (x *AptRepository) GetUri() string
func (*AptRepository) ProtoMessage
func (*AptRepository) ProtoMessage()
func (*AptRepository) ProtoReflect
func (x *AptRepository) ProtoReflect() protoreflect.Message
func (*AptRepository) Reset
func (x *AptRepository) Reset()
func (*AptRepository) String
func (x *AptRepository) String() string
AptRepository_ArchiveType
type AptRepository_ArchiveType int32
Type of archive.
AptRepository_ARCHIVE_TYPE_UNSPECIFIED, AptRepository_DEB, AptRepository_DEB_SRC
const (
// Unspecified.
AptRepository_ARCHIVE_TYPE_UNSPECIFIED AptRepository_ArchiveType = 0
// DEB indicates that the archive contains binary files.
AptRepository_DEB AptRepository_ArchiveType = 1
// DEB_SRC indicates that the archive contains source files.
AptRepository_DEB_SRC AptRepository_ArchiveType = 2
)
func (AptRepository_ArchiveType) Descriptor
func (AptRepository_ArchiveType) Descriptor() protoreflect.EnumDescriptor
func (AptRepository_ArchiveType) Enum
func (x AptRepository_ArchiveType) Enum() *AptRepository_ArchiveType
func (AptRepository_ArchiveType) EnumDescriptor
func (AptRepository_ArchiveType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AptRepository_ArchiveType.Descriptor instead.
func (AptRepository_ArchiveType) Number
func (x AptRepository_ArchiveType) Number() protoreflect.EnumNumber
func (AptRepository_ArchiveType) String
func (x AptRepository_ArchiveType) String() string
func (AptRepository_ArchiveType) Type
func (AptRepository_ArchiveType) Type() protoreflect.EnumType
AptSettings
type AptSettings struct {
// By changing the type to DIST, the patching is performed
// using `apt-get dist-upgrade` instead.
Type AptSettings_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.osconfig.v1beta.AptSettings_Type" json:"type,omitempty"`
// List of packages to exclude from update. These packages will be excluded
Excludes []string `protobuf:"bytes,2,rep,name=excludes,proto3" json:"excludes,omitempty"`
// An exclusive list of packages to be updated. These are the only packages
// that will be updated. If these packages are not installed, they will be
// ignored. This field cannot be specified with any other patch configuration
// fields.
ExclusivePackages []string `protobuf:"bytes,3,rep,name=exclusive_packages,json=exclusivePackages,proto3" json:"exclusive_packages,omitempty"`
// contains filtered or unexported fields
}
Apt patching is completed by executing apt-get update && apt-get
upgrade
. Additional options can be set to control how this is executed.
func (*AptSettings) Descriptor
func (*AptSettings) Descriptor() ([]byte, []int)
Deprecated: Use AptSettings.ProtoReflect.Descriptor instead.
func (*AptSettings) GetExcludes
func (x *AptSettings) GetExcludes() []string
func (*AptSettings) GetExclusivePackages
func (x *AptSettings) GetExclusivePackages() []string
func (*AptSettings) GetType
func (x *AptSettings) GetType() AptSettings_Type
func (*AptSettings) ProtoMessage
func (*AptSettings) ProtoMessage()
func (*AptSettings) ProtoReflect
func (x *AptSettings) ProtoReflect() protoreflect.Message
func (*AptSettings) Reset
func (x *AptSettings) Reset()
func (*AptSettings) String
func (x *AptSettings) String() string
AptSettings_Type
type AptSettings_Type int32
Apt patch type.
AptSettings_TYPE_UNSPECIFIED, AptSettings_DIST, AptSettings_UPGRADE
const (
// By default, upgrade will be performed.
AptSettings_TYPE_UNSPECIFIED AptSettings_Type = 0
// Runs `apt-get dist-upgrade`.
AptSettings_DIST AptSettings_Type = 1
// Runs `apt-get upgrade`.
AptSettings_UPGRADE AptSettings_Type = 2
)
func (AptSettings_Type) Descriptor
func (AptSettings_Type) Descriptor() protoreflect.EnumDescriptor
func (AptSettings_Type) Enum
func (x AptSettings_Type) Enum() *AptSettings_Type
func (AptSettings_Type) EnumDescriptor
func (AptSettings_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use AptSettings_Type.Descriptor instead.
func (AptSettings_Type) Number
func (x AptSettings_Type) Number() protoreflect.EnumNumber
func (AptSettings_Type) String
func (x AptSettings_Type) String() string
func (AptSettings_Type) Type
func (AptSettings_Type) Type() protoreflect.EnumType
Assignment
type Assignment struct {
// Targets instances matching at least one of these label sets. This allows
// an assignment to target disparate groups, for example "env=prod or
// env=staging".
GroupLabels []*Assignment_GroupLabel `protobuf:"bytes,1,rep,name=group_labels,json=groupLabels,proto3" json:"group_labels,omitempty"`
// Targets instances in any of these zones. Leave empty to target instances
// in any zone.
//
// Zonal targeting is uncommon and is supported to facilitate the management
// of changes by zone.
Zones []string `protobuf:"bytes,2,rep,name=zones,proto3" json:"zones,omitempty"`
// Targets any of the instances specified. Instances are specified by their
// URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.
//
// Instance targeting is uncommon and is supported to facilitate the
// management of changes by the instance or to target specific VM instances
// for development and testing.
//
// Only supported for project-level policies and must reference instances
// within this project.
Instances []string `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"`
// Targets VM instances whose name starts with one of these prefixes.
//
// Like labels, this is another way to group VM instances when targeting
// configs, for example prefix="prod-".
//
// Only supported for project-level policies.
InstanceNamePrefixes []string `protobuf:"bytes,4,rep,name=instance_name_prefixes,json=instanceNamePrefixes,proto3" json:"instance_name_prefixes,omitempty"`
// Targets VM instances matching at least one of the following OS types.
//
// VM instances must match all supplied criteria for a given OsType to be
// included.
OsTypes []*Assignment_OsType `protobuf:"bytes,5,rep,name=os_types,json=osTypes,proto3" json:"os_types,omitempty"`
// contains filtered or unexported fields
}
An assignment represents the group or groups of VM instances that the policy applies to.
If an assignment is empty, it applies to all VM instances. Otherwise, the targeted VM instances must meet all the criteria specified. So if both labels and zones are specified, the policy applies to VM instances with those labels and in those zones.
func (*Assignment) Descriptor
func (*Assignment) Descriptor() ([]byte, []int)
Deprecated: Use Assignment.ProtoReflect.Descriptor instead.
func (*Assignment) GetGroupLabels
func (x *Assignment) GetGroupLabels() []*Assignment_GroupLabel
func (*Assignment) GetInstanceNamePrefixes
func (x *Assignment) GetInstanceNamePrefixes() []string
func (*Assignment) GetInstances
func (x *Assignment) GetInstances() []string
func (*Assignment) GetOsTypes
func (x *Assignment) GetOsTypes() []*Assignment_OsType
func (*Assignment) GetZones
func (x *Assignment) GetZones() []string
func (*Assignment) ProtoMessage
func (*Assignment) ProtoMessage()
func (*Assignment) ProtoReflect
func (x *Assignment) ProtoReflect() protoreflect.Message
func (*Assignment) Reset
func (x *Assignment) Reset()
func (*Assignment) String
func (x *Assignment) String() string
Assignment_GroupLabel
type Assignment_GroupLabel struct {
Labels map[string]string "" /* 153 byte string literal not displayed */
}
Represents a group of VM intances that can be identified as having all these labels, for example "env=prod and app=web".
func (*Assignment_GroupLabel) Descriptor
func (*Assignment_GroupLabel) Descriptor() ([]byte, []int)
Deprecated: Use Assignment_GroupLabel.ProtoReflect.Descriptor instead.
func (*Assignment_GroupLabel) GetLabels
func (x *Assignment_GroupLabel) GetLabels() map[string]string
func (*Assignment_GroupLabel) ProtoMessage
func (*Assignment_GroupLabel) ProtoMessage()
func (*Assignment_GroupLabel) ProtoReflect
func (x *Assignment_GroupLabel) ProtoReflect() protoreflect.Message
func (*Assignment_GroupLabel) Reset
func (x *Assignment_GroupLabel) Reset()
func (*Assignment_GroupLabel) String
func (x *Assignment_GroupLabel) String() string
Assignment_OsType
type Assignment_OsType struct {
// Targets VM instances with OS Inventory enabled and having the following
// OS short name, for example "debian" or "windows".
OsShortName string `protobuf:"bytes,1,opt,name=os_short_name,json=osShortName,proto3" json:"os_short_name,omitempty"`
// Targets VM instances with OS Inventory enabled and having the following
// following OS version.
OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
// Targets VM instances with OS Inventory enabled and having the following
// OS architecture.
OsArchitecture string `protobuf:"bytes,3,opt,name=os_architecture,json=osArchitecture,proto3" json:"os_architecture,omitempty"`
// contains filtered or unexported fields
}
Defines the criteria for selecting VM Instances by OS type.
func (*Assignment_OsType) Descriptor
func (*Assignment_OsType) Descriptor() ([]byte, []int)
Deprecated: Use Assignment_OsType.ProtoReflect.Descriptor instead.
func (*Assignment_OsType) GetOsArchitecture
func (x *Assignment_OsType) GetOsArchitecture() string
func (*Assignment_OsType) GetOsShortName
func (x *Assignment_OsType) GetOsShortName() string
func (*Assignment_OsType) GetOsVersion
func (x *Assignment_OsType) GetOsVersion() string
func (*Assignment_OsType) ProtoMessage
func (*Assignment_OsType) ProtoMessage()
func (*Assignment_OsType) ProtoReflect
func (x *Assignment_OsType) ProtoReflect() protoreflect.Message
func (*Assignment_OsType) Reset
func (x *Assignment_OsType) Reset()
func (*Assignment_OsType) String
func (x *Assignment_OsType) String() string
CancelPatchJobRequest
type CancelPatchJobRequest struct {
// Required. Name of the patch in the form `projects/*/patchJobs/*`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for canceling a patch job.
func (*CancelPatchJobRequest) Descriptor
func (*CancelPatchJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelPatchJobRequest.ProtoReflect.Descriptor instead.
func (*CancelPatchJobRequest) GetName
func (x *CancelPatchJobRequest) GetName() string
func (*CancelPatchJobRequest) ProtoMessage
func (*CancelPatchJobRequest) ProtoMessage()
func (*CancelPatchJobRequest) ProtoReflect
func (x *CancelPatchJobRequest) ProtoReflect() protoreflect.Message
func (*CancelPatchJobRequest) Reset
func (x *CancelPatchJobRequest) Reset()
func (*CancelPatchJobRequest) String
func (x *CancelPatchJobRequest) String() string
CreateGuestPolicyRequest
type CreateGuestPolicyRequest struct {
// Required. The resource name of the parent using one of the following forms:
// `projects/{project_number}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The logical name of the guest policy 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.
GuestPolicyId string `protobuf:"bytes,2,opt,name=guest_policy_id,json=guestPolicyId,proto3" json:"guest_policy_id,omitempty"`
// Required. The GuestPolicy to create.
GuestPolicy *GuestPolicy `protobuf:"bytes,3,opt,name=guest_policy,json=guestPolicy,proto3" json:"guest_policy,omitempty"`
// contains filtered or unexported fields
}
A request message for creating a guest policy.
func (*CreateGuestPolicyRequest) Descriptor
func (*CreateGuestPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGuestPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateGuestPolicyRequest) GetGuestPolicy
func (x *CreateGuestPolicyRequest) GetGuestPolicy() *GuestPolicy
func (*CreateGuestPolicyRequest) GetGuestPolicyId
func (x *CreateGuestPolicyRequest) GetGuestPolicyId() string
func (*CreateGuestPolicyRequest) GetParent
func (x *CreateGuestPolicyRequest) GetParent() string
func (*CreateGuestPolicyRequest) ProtoMessage
func (*CreateGuestPolicyRequest) ProtoMessage()
func (*CreateGuestPolicyRequest) ProtoReflect
func (x *CreateGuestPolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateGuestPolicyRequest) Reset
func (x *CreateGuestPolicyRequest) Reset()
func (*CreateGuestPolicyRequest) String
func (x *CreateGuestPolicyRequest) String() string
CreatePatchDeploymentRequest
type CreatePatchDeploymentRequest struct {
// Required. The project to apply this patch deployment to in the form `projects/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. A name for the patch deployment in the project. When creating a name
// the following rules apply:
// * Must contain only lowercase letters, numbers, and hyphens.
// * Must start with a letter.
// * Must be between 1-63 characters.
// * Must end with a number or a letter.
// * Must be unique within the project.
PatchDeploymentId string `protobuf:"bytes,2,opt,name=patch_deployment_id,json=patchDeploymentId,proto3" json:"patch_deployment_id,omitempty"`
// Required. The patch deployment to create.
PatchDeployment *PatchDeployment `protobuf:"bytes,3,opt,name=patch_deployment,json=patchDeployment,proto3" json:"patch_deployment,omitempty"`
// contains filtered or unexported fields
}
A request message for creating a patch deployment.
func (*CreatePatchDeploymentRequest) Descriptor
func (*CreatePatchDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePatchDeploymentRequest.ProtoReflect.Descriptor instead.
func (*CreatePatchDeploymentRequest) GetParent
func (x *CreatePatchDeploymentRequest) GetParent() string
func (*CreatePatchDeploymentRequest) GetPatchDeployment
func (x *CreatePatchDeploymentRequest) GetPatchDeployment() *PatchDeployment
func (*CreatePatchDeploymentRequest) GetPatchDeploymentId
func (x *CreatePatchDeploymentRequest) GetPatchDeploymentId() string
func (*CreatePatchDeploymentRequest) ProtoMessage
func (*CreatePatchDeploymentRequest) ProtoMessage()
func (*CreatePatchDeploymentRequest) ProtoReflect
func (x *CreatePatchDeploymentRequest) ProtoReflect() protoreflect.Message
func (*CreatePatchDeploymentRequest) Reset
func (x *CreatePatchDeploymentRequest) Reset()
func (*CreatePatchDeploymentRequest) String
func (x *CreatePatchDeploymentRequest) String() string
DeleteGuestPolicyRequest
type DeleteGuestPolicyRequest struct {
// Required. The resource name of the guest policy using one of the following forms:
// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request message for deleting a guest policy.
func (*DeleteGuestPolicyRequest) Descriptor
func (*DeleteGuestPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGuestPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteGuestPolicyRequest) GetName
func (x *DeleteGuestPolicyRequest) GetName() string
func (*DeleteGuestPolicyRequest) ProtoMessage
func (*DeleteGuestPolicyRequest) ProtoMessage()
func (*DeleteGuestPolicyRequest) ProtoReflect
func (x *DeleteGuestPolicyRequest) ProtoReflect() protoreflect.Message
func (*DeleteGuestPolicyRequest) Reset
func (x *DeleteGuestPolicyRequest) Reset()
func (*DeleteGuestPolicyRequest) String
func (x *DeleteGuestPolicyRequest) String() string
DeletePatchDeploymentRequest
type DeletePatchDeploymentRequest struct {
// Required. The resource name of the patch deployment in the form
// `projects/*/patchDeployments/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request message for deleting a patch deployment.
func (*DeletePatchDeploymentRequest) Descriptor
func (*DeletePatchDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePatchDeploymentRequest.ProtoReflect.Descriptor instead.
func (*DeletePatchDeploymentRequest) GetName
func (x *DeletePatchDeploymentRequest) GetName() string
func (*DeletePatchDeploymentRequest) ProtoMessage
func (*DeletePatchDeploymentRequest) ProtoMessage()
func (*DeletePatchDeploymentRequest) ProtoReflect
func (x *DeletePatchDeploymentRequest) ProtoReflect() protoreflect.Message
func (*DeletePatchDeploymentRequest) Reset
func (x *DeletePatchDeploymentRequest) Reset()
func (*DeletePatchDeploymentRequest) String
func (x *DeletePatchDeploymentRequest) String() string
DesiredState
type DesiredState int32
The desired state that the OS Config agent maintains on the VM instance.
DesiredState_DESIRED_STATE_UNSPECIFIED, DesiredState_INSTALLED, DesiredState_UPDATED, DesiredState_REMOVED
const (
// The default is to ensure the package is installed.
DesiredState_DESIRED_STATE_UNSPECIFIED DesiredState = 0
// The agent ensures that the package is installed.
DesiredState_INSTALLED DesiredState = 1
// The agent ensures that the package is installed and
// periodically checks for and install any updates.
DesiredState_UPDATED DesiredState = 2
// The agent ensures that the package is not installed and uninstall it
// if detected.
DesiredState_REMOVED DesiredState = 3
)
func (DesiredState) Descriptor
func (DesiredState) Descriptor() protoreflect.EnumDescriptor
func (DesiredState) Enum
func (x DesiredState) Enum() *DesiredState
func (DesiredState) EnumDescriptor
func (DesiredState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DesiredState.Descriptor instead.
func (DesiredState) Number
func (x DesiredState) Number() protoreflect.EnumNumber
func (DesiredState) String
func (x DesiredState) String() string
func (DesiredState) Type
func (DesiredState) Type() protoreflect.EnumType
EffectiveGuestPolicy
type EffectiveGuestPolicy struct {
// List of package configurations assigned to the VM instance.
Packages []*EffectiveGuestPolicy_SourcedPackage `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
// List of package repository configurations assigned to the VM instance.
PackageRepositories []*EffectiveGuestPolicy_SourcedPackageRepository `protobuf:"bytes,2,rep,name=package_repositories,json=packageRepositories,proto3" json:"package_repositories,omitempty"`
// List of recipes assigned to the VM instance.
SoftwareRecipes []*EffectiveGuestPolicy_SourcedSoftwareRecipe `protobuf:"bytes,3,rep,name=software_recipes,json=softwareRecipes,proto3" json:"software_recipes,omitempty"`
// contains filtered or unexported fields
}
The effective guest policy that applies to a VM instance.
func (*EffectiveGuestPolicy) Descriptor
func (*EffectiveGuestPolicy) Descriptor() ([]byte, []int)
Deprecated: Use EffectiveGuestPolicy.ProtoReflect.Descriptor instead.
func (*EffectiveGuestPolicy) GetPackageRepositories
func (x *EffectiveGuestPolicy) GetPackageRepositories() []*EffectiveGuestPolicy_SourcedPackageRepository
func (*EffectiveGuestPolicy) GetPackages
func (x *EffectiveGuestPolicy) GetPackages() []*EffectiveGuestPolicy_SourcedPackage
func (*EffectiveGuestPolicy) GetSoftwareRecipes
func (x *EffectiveGuestPolicy) GetSoftwareRecipes() []*EffectiveGuestPolicy_SourcedSoftwareRecipe
func (*EffectiveGuestPolicy) ProtoMessage
func (*EffectiveGuestPolicy) ProtoMessage()
func (*EffectiveGuestPolicy) ProtoReflect
func (x *EffectiveGuestPolicy) ProtoReflect() protoreflect.Message
func (*EffectiveGuestPolicy) Reset
func (x *EffectiveGuestPolicy) Reset()
func (*EffectiveGuestPolicy) String
func (x *EffectiveGuestPolicy) String() string
EffectiveGuestPolicy_SourcedPackage
type EffectiveGuestPolicy_SourcedPackage struct {
// Name of the guest policy providing this config.
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// A software package to configure on the VM instance.
Package *Package `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`
// contains filtered or unexported fields
}
A guest policy package including its source.
func (*EffectiveGuestPolicy_SourcedPackage) Descriptor
func (*EffectiveGuestPolicy_SourcedPackage) Descriptor() ([]byte, []int)
Deprecated: Use EffectiveGuestPolicy_SourcedPackage.ProtoReflect.Descriptor instead.
func (*EffectiveGuestPolicy_SourcedPackage) GetPackage
func (x *EffectiveGuestPolicy_SourcedPackage) GetPackage() *Package
func (*EffectiveGuestPolicy_SourcedPackage) GetSource
func (x *EffectiveGuestPolicy_SourcedPackage) GetSource() string
func (*EffectiveGuestPolicy_SourcedPackage) ProtoMessage
func (*EffectiveGuestPolicy_SourcedPackage) ProtoMessage()
func (*EffectiveGuestPolicy_SourcedPackage) ProtoReflect
func (x *EffectiveGuestPolicy_SourcedPackage) ProtoReflect() protoreflect.Message
func (*EffectiveGuestPolicy_SourcedPackage) Reset
func (x *EffectiveGuestPolicy_SourcedPackage) Reset()
func (*EffectiveGuestPolicy_SourcedPackage) String
func (x *EffectiveGuestPolicy_SourcedPackage) String() string
EffectiveGuestPolicy_SourcedPackageRepository
type EffectiveGuestPolicy_SourcedPackageRepository struct {
// Name of the guest policy providing this config.
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// A software package repository to configure on the VM instance.
PackageRepository *PackageRepository `protobuf:"bytes,2,opt,name=package_repository,json=packageRepository,proto3" json:"package_repository,omitempty"`
// contains filtered or unexported fields
}
A guest policy package repository including its source.
func (*EffectiveGuestPolicy_SourcedPackageRepository) Descriptor
func (*EffectiveGuestPolicy_SourcedPackageRepository) Descriptor() ([]byte, []int)
Deprecated: Use EffectiveGuestPolicy_SourcedPackageRepository.ProtoReflect.Descriptor instead.
func (*EffectiveGuestPolicy_SourcedPackageRepository) GetPackageRepository
func (x *EffectiveGuestPolicy_SourcedPackageRepository) GetPackageRepository() *PackageRepository
func (*EffectiveGuestPolicy_SourcedPackageRepository) GetSource
func (x *EffectiveGuestPolicy_SourcedPackageRepository) GetSource() string
func (*EffectiveGuestPolicy_SourcedPackageRepository) ProtoMessage
func (*EffectiveGuestPolicy_SourcedPackageRepository) ProtoMessage()
func (*EffectiveGuestPolicy_SourcedPackageRepository) ProtoReflect
func (x *EffectiveGuestPolicy_SourcedPackageRepository) ProtoReflect() protoreflect.Message
func (*EffectiveGuestPolicy_SourcedPackageRepository) Reset
func (x *EffectiveGuestPolicy_SourcedPackageRepository) Reset()
func (*EffectiveGuestPolicy_SourcedPackageRepository) String
func (x *EffectiveGuestPolicy_SourcedPackageRepository) String() string
EffectiveGuestPolicy_SourcedSoftwareRecipe
type EffectiveGuestPolicy_SourcedSoftwareRecipe struct {
// Name of the guest policy providing this config.
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// A software recipe to configure on the VM instance.
SoftwareRecipe *SoftwareRecipe `protobuf:"bytes,2,opt,name=software_recipe,json=softwareRecipe,proto3" json:"software_recipe,omitempty"`
// contains filtered or unexported fields
}
A guest policy recipe including its source.
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) Descriptor
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) Descriptor() ([]byte, []int)
Deprecated: Use EffectiveGuestPolicy_SourcedSoftwareRecipe.ProtoReflect.Descriptor instead.
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) GetSoftwareRecipe
func (x *EffectiveGuestPolicy_SourcedSoftwareRecipe) GetSoftwareRecipe() *SoftwareRecipe
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) GetSource
func (x *EffectiveGuestPolicy_SourcedSoftwareRecipe) GetSource() string
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) ProtoMessage
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) ProtoMessage()
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) ProtoReflect
func (x *EffectiveGuestPolicy_SourcedSoftwareRecipe) ProtoReflect() protoreflect.Message
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) Reset
func (x *EffectiveGuestPolicy_SourcedSoftwareRecipe) Reset()
func (*EffectiveGuestPolicy_SourcedSoftwareRecipe) String
func (x *EffectiveGuestPolicy_SourcedSoftwareRecipe) String() string
ExecStep
type ExecStep struct {
LinuxExecStepConfig *ExecStepConfig `protobuf:"bytes,1,opt,name=linux_exec_step_config,json=linuxExecStepConfig,proto3" json:"linux_exec_step_config,omitempty"`
WindowsExecStepConfig *ExecStepConfig "" /* 128 byte string literal not displayed */
}
A step that runs an executable for a PatchJob.
func (*ExecStep) Descriptor
Deprecated: Use ExecStep.ProtoReflect.Descriptor instead.
func (*ExecStep) GetLinuxExecStepConfig
func (x *ExecStep) GetLinuxExecStepConfig() *ExecStepConfig
func (*ExecStep) GetWindowsExecStepConfig
func (x *ExecStep) GetWindowsExecStepConfig() *ExecStepConfig
func (*ExecStep) ProtoMessage
func (*ExecStep) ProtoMessage()
func (*ExecStep) ProtoReflect
func (x *ExecStep) ProtoReflect() protoreflect.Message
func (*ExecStep) Reset
func (x *ExecStep) Reset()
func (*ExecStep) String
ExecStepConfig
type ExecStepConfig struct {
Executable isExecStepConfig_Executable `protobuf_oneof:"executable"`
AllowedSuccessCodes []int32 "" /* 128 byte string literal not displayed */
Interpreter ExecStepConfig_Interpreter "" /* 137 byte string literal not displayed */
}
Common configurations for an ExecStep.
func (*ExecStepConfig) Descriptor
func (*ExecStepConfig) Descriptor() ([]byte, []int)
Deprecated: Use ExecStepConfig.ProtoReflect.Descriptor instead.
func (*ExecStepConfig) GetAllowedSuccessCodes
func (x *ExecStepConfig) GetAllowedSuccessCodes() []int32
func (*ExecStepConfig) GetExecutable
func (m *ExecStepConfig) GetExecutable() isExecStepConfig_Executable
func (*ExecStepConfig) GetGcsObject
func (x *ExecStepConfig) GetGcsObject() *GcsObject
func (*ExecStepConfig) GetInterpreter
func (x *ExecStepConfig) GetInterpreter() ExecStepConfig_Interpreter
func (*ExecStepConfig) GetLocalPath
func (x *ExecStepConfig) GetLocalPath() string
func (*ExecStepConfig) ProtoMessage
func (*ExecStepConfig) ProtoMessage()
func (*ExecStepConfig) ProtoReflect
func (x *ExecStepConfig) ProtoReflect() protoreflect.Message
func (*ExecStepConfig) Reset
func (x *ExecStepConfig) Reset()
func (*ExecStepConfig) String
func (x *ExecStepConfig) String() string
ExecStepConfig_GcsObject
type ExecStepConfig_GcsObject struct {
// A Google Cloud Storage object containing the executable.
GcsObject *GcsObject `protobuf:"bytes,2,opt,name=gcs_object,json=gcsObject,proto3,oneof"`
}
ExecStepConfig_Interpreter
type ExecStepConfig_Interpreter int32
The interpreter used to execute the a file.
ExecStepConfig_INTERPRETER_UNSPECIFIED, ExecStepConfig_SHELL, ExecStepConfig_POWERSHELL
const (
// Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the
// interpreter will be parsed from the shebang line of the script if
// unspecified.
ExecStepConfig_INTERPRETER_UNSPECIFIED ExecStepConfig_Interpreter = 0
// Indicates that the script is run with `/bin/sh` on Linux and `cmd`
// on Windows.
ExecStepConfig_SHELL ExecStepConfig_Interpreter = 1
// Indicates that the file is run with PowerShell flags
// `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
ExecStepConfig_POWERSHELL ExecStepConfig_Interpreter = 2
)
func (ExecStepConfig_Interpreter) Descriptor
func (ExecStepConfig_Interpreter) Descriptor() protoreflect.EnumDescriptor
func (ExecStepConfig_Interpreter) Enum
func (x ExecStepConfig_Interpreter) Enum() *ExecStepConfig_Interpreter
func (ExecStepConfig_Interpreter) EnumDescriptor
func (ExecStepConfig_Interpreter) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecStepConfig_Interpreter.Descriptor instead.
func (ExecStepConfig_Interpreter) Number
func (x ExecStepConfig_Interpreter) Number() protoreflect.EnumNumber
func (ExecStepConfig_Interpreter) String
func (x ExecStepConfig_Interpreter) String() string
func (ExecStepConfig_Interpreter) Type
func (ExecStepConfig_Interpreter) Type() protoreflect.EnumType
ExecStepConfig_LocalPath
type ExecStepConfig_LocalPath struct {
// An absolute path to the executable on the VM.
LocalPath string `protobuf:"bytes,1,opt,name=local_path,json=localPath,proto3,oneof"`
}
ExecutePatchJobRequest
type ExecutePatchJobRequest struct {
// Required. The project in which to run this patch in the form `projects/*`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Description of the patch job. Length of the description is limited
// to 1024 characters.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Required. Instances to patch, either explicitly or filtered by some criteria such
// as zone or labels.
InstanceFilter *PatchInstanceFilter `protobuf:"bytes,7,opt,name=instance_filter,json=instanceFilter,proto3" json:"instance_filter,omitempty"`
// Patch configuration being applied. If omitted, instances are
// patched using the default configurations.
PatchConfig *PatchConfig `protobuf:"bytes,4,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
// Duration of the patch job. After the duration ends, the patch job
// times out.
Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
// If this patch is a dry-run only, instances are contacted but
// will do nothing.
DryRun bool `protobuf:"varint,6,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// Display name for this patch job. This does not have to be unique.
DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Rollout strategy of the patch job.
Rollout *PatchRollout `protobuf:"bytes,9,opt,name=rollout,proto3" json:"rollout,omitempty"`
// contains filtered or unexported fields
}
A request message to initiate patching across Compute Engine instances.
func (*ExecutePatchJobRequest) Descriptor
func (*ExecutePatchJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecutePatchJobRequest.ProtoReflect.Descriptor instead.
func (*ExecutePatchJobRequest) GetDescription
func (x *ExecutePatchJobRequest) GetDescription() string
func (*ExecutePatchJobRequest) GetDisplayName
func (x *ExecutePatchJobRequest) GetDisplayName() string
func (*ExecutePatchJobRequest) GetDryRun
func (x *ExecutePatchJobRequest) GetDryRun() bool
func (*ExecutePatchJobRequest) GetDuration
func (x *ExecutePatchJobRequest) GetDuration() *duration.Duration
func (*ExecutePatchJobRequest) GetInstanceFilter
func (x *ExecutePatchJobRequest) GetInstanceFilter() *PatchInstanceFilter
func (*ExecutePatchJobRequest) GetParent
func (x *ExecutePatchJobRequest) GetParent() string
func (*ExecutePatchJobRequest) GetPatchConfig
func (x *ExecutePatchJobRequest) GetPatchConfig() *PatchConfig
func (*ExecutePatchJobRequest) GetRollout
func (x *ExecutePatchJobRequest) GetRollout() *PatchRollout
func (*ExecutePatchJobRequest) ProtoMessage
func (*ExecutePatchJobRequest) ProtoMessage()
func (*ExecutePatchJobRequest) ProtoReflect
func (x *ExecutePatchJobRequest) ProtoReflect() protoreflect.Message
func (*ExecutePatchJobRequest) Reset
func (x *ExecutePatchJobRequest) Reset()
func (*ExecutePatchJobRequest) String
func (x *ExecutePatchJobRequest) String() string
FixedOrPercent
type FixedOrPercent struct {
// Type of the value.
//
// Types that are assignable to Mode:
//
// *FixedOrPercent_Fixed
// *FixedOrPercent_Percent
Mode isFixedOrPercent_Mode `protobuf_oneof:"mode"`
// contains filtered or unexported fields
}
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
func (*FixedOrPercent) Descriptor
func (*FixedOrPercent) Descriptor() ([]byte, []int)
Deprecated: Use FixedOrPercent.ProtoReflect.Descriptor instead.
func (*FixedOrPercent) GetFixed
func (x *FixedOrPercent) GetFixed() int32
func (*FixedOrPercent) GetMode
func (m *FixedOrPercent) GetMode() isFixedOrPercent_Mode
func (*FixedOrPercent) GetPercent
func (x *FixedOrPercent) GetPercent() int32
func (*FixedOrPercent) ProtoMessage
func (*FixedOrPercent) ProtoMessage()
func (*FixedOrPercent) ProtoReflect
func (x *FixedOrPercent) ProtoReflect() protoreflect.Message
func (*FixedOrPercent) Reset
func (x *FixedOrPercent) Reset()
func (*FixedOrPercent) String
func (x *FixedOrPercent) String() string
FixedOrPercent_Fixed
type FixedOrPercent_Fixed struct {
// Specifies a fixed value.
Fixed int32 `protobuf:"varint,1,opt,name=fixed,proto3,oneof"`
}
FixedOrPercent_Percent
type FixedOrPercent_Percent struct {
// Specifies the relative value defined as a percentage, which will be
// multiplied by a reference value.
Percent int32 `protobuf:"varint,2,opt,name=percent,proto3,oneof"`
}
GcsObject
type GcsObject struct {
// Required. Bucket of the Google Cloud Storage object.
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
// Required. Name of the Google Cloud Storage object.
Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
// Required. Generation number of the Google Cloud Storage object. This is used to
// ensure that the ExecStep specified by this PatchJob does not change.
GenerationNumber int64 `protobuf:"varint,3,opt,name=generation_number,json=generationNumber,proto3" json:"generation_number,omitempty"`
// contains filtered or unexported fields
}
Google Cloud Storage object representation.
func (*GcsObject) Descriptor
Deprecated: Use GcsObject.ProtoReflect.Descriptor instead.
func (*GcsObject) GetBucket
func (*GcsObject) GetGenerationNumber
func (*GcsObject) GetObject
func (*GcsObject) ProtoMessage
func (*GcsObject) ProtoMessage()
func (*GcsObject) ProtoReflect
func (x *GcsObject) ProtoReflect() protoreflect.Message
func (*GcsObject) Reset
func (x *GcsObject) Reset()
func (*GcsObject) String
GetGuestPolicyRequest
type GetGuestPolicyRequest struct {
// Required. The resource name of the guest policy using one of the following forms:
// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request message for retrieving a guest policy.
func (*GetGuestPolicyRequest) Descriptor
func (*GetGuestPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuestPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetGuestPolicyRequest) GetName
func (x *GetGuestPolicyRequest) GetName() string
func (*GetGuestPolicyRequest) ProtoMessage
func (*GetGuestPolicyRequest) ProtoMessage()
func (*GetGuestPolicyRequest) ProtoReflect
func (x *GetGuestPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetGuestPolicyRequest) Reset
func (x *GetGuestPolicyRequest) Reset()
func (*GetGuestPolicyRequest) String
func (x *GetGuestPolicyRequest) String() string
GetPatchDeploymentRequest
type GetPatchDeploymentRequest struct {
// Required. The resource name of the patch deployment in the form
// `projects/*/patchDeployments/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request message for retrieving a patch deployment.
func (*GetPatchDeploymentRequest) Descriptor
func (*GetPatchDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPatchDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetPatchDeploymentRequest) GetName
func (x *GetPatchDeploymentRequest) GetName() string
func (*GetPatchDeploymentRequest) ProtoMessage
func (*GetPatchDeploymentRequest) ProtoMessage()
func (*GetPatchDeploymentRequest) ProtoReflect
func (x *GetPatchDeploymentRequest) ProtoReflect() protoreflect.Message
func (*GetPatchDeploymentRequest) Reset
func (x *GetPatchDeploymentRequest) Reset()
func (*GetPatchDeploymentRequest) String
func (x *GetPatchDeploymentRequest) String() string
GetPatchJobRequest
type GetPatchJobRequest struct {
// Required. Name of the patch in the form `projects/*/patchJobs/*`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to get an active or completed patch job.
func (*GetPatchJobRequest) Descriptor
func (*GetPatchJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPatchJobRequest.ProtoReflect.Descriptor instead.
func (*GetPatchJobRequest) GetName
func (x *GetPatchJobRequest) GetName() string
func (*GetPatchJobRequest) ProtoMessage
func (*GetPatchJobRequest) ProtoMessage()
func (*GetPatchJobRequest) ProtoReflect
func (x *GetPatchJobRequest) ProtoReflect() protoreflect.Message
func (*GetPatchJobRequest) Reset
func (x *GetPatchJobRequest) Reset()
func (*GetPatchJobRequest) String
func (x *GetPatchJobRequest) String() string
GooRepository
type 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 is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
func (*GooRepository) Descriptor
func (*GooRepository) Descriptor() ([]byte, []int)
Deprecated: Use GooRepository.ProtoReflect.Descriptor instead.
func (*GooRepository) GetName
func (x *GooRepository) GetName() string
func (*GooRepository) GetUrl
func (x *GooRepository) GetUrl() string
func (*GooRepository) ProtoMessage
func (*GooRepository) ProtoMessage()
func (*GooRepository) ProtoReflect
func (x *GooRepository) ProtoReflect() protoreflect.Message
func (*GooRepository) Reset
func (x *GooRepository) Reset()
func (*GooRepository) String
func (x *GooRepository) String() string
GooSettings
type GooSettings struct {
// contains filtered or unexported fields
}
Googet patching is performed by running googet update
.
func (*GooSettings) Descriptor
func (*GooSettings) Descriptor() ([]byte, []int)
Deprecated: Use GooSettings.ProtoReflect.Descriptor instead.
func (*GooSettings) ProtoMessage
func (*GooSettings) ProtoMessage()
func (*GooSettings) ProtoReflect
func (x *GooSettings) ProtoReflect() protoreflect.Message
func (*GooSettings) Reset
func (x *GooSettings) Reset()
func (*GooSettings) String
func (x *GooSettings) String() string
GuestPolicy
type GuestPolicy struct {
// Required. Unique name of the resource in this project using one of the following
// forms:
// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Description of the guest policy. Length of the description is limited
// to 1024 characters.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Output only. Time this guest policy was created.
CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Last time this guest policy was updated.
UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. Specifies the VM instances that are assigned to this policy. This allows
// you to target sets or groups of VM instances by different parameters such
// as labels, names, OS, or zones.
//
// If left empty, all VM instances underneath this policy are targeted.
//
// At the same level in the resource hierarchy (that is within a project), the
// service prevents the creation of multiple policies that conflict with
// each other. For more information, see how the service [handles assignment
// conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts).
Assignment *Assignment `protobuf:"bytes,6,opt,name=assignment,proto3" json:"assignment,omitempty"`
// The software packages to be managed by this policy.
Packages []*Package `protobuf:"bytes,7,rep,name=packages,proto3" json:"packages,omitempty"`
// A list of package repositories to configure on the VM instance. This is
// done before any other configs are applied so they can use these repos.
// Package repositories are only configured if the corresponding package
// manager(s) are available.
PackageRepositories []*PackageRepository `protobuf:"bytes,8,rep,name=package_repositories,json=packageRepositories,proto3" json:"package_repositories,omitempty"`
// A list of Recipes to install on the VM instance.
Recipes []*SoftwareRecipe `protobuf:"bytes,9,rep,name=recipes,proto3" json:"recipes,omitempty"`
// The etag for this guest policy.
// If this is provided on update, it must match the server's etag.
Etag string `protobuf:"bytes,10,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
An OS Config resource representing a guest configuration policy. These policies represent the desired state for VM instance guest environments including packages to install or remove, package repository configurations, and software to install.
func (*GuestPolicy) Descriptor
func (*GuestPolicy) Descriptor() ([]byte, []int)
Deprecated: Use GuestPolicy.ProtoReflect.Descriptor instead.
func (*GuestPolicy) GetAssignment
func (x *GuestPolicy) GetAssignment() *Assignment
func (*GuestPolicy) GetCreateTime
func (x *GuestPolicy) GetCreateTime() *timestamp.Timestamp
func (*GuestPolicy) GetDescription
func (x *GuestPolicy) GetDescription() string
func (*GuestPolicy) GetEtag
func (x *GuestPolicy) GetEtag() string
func (*GuestPolicy) GetName
func (x *GuestPolicy) GetName() string
func (*GuestPolicy) GetPackageRepositories
func (x *GuestPolicy) GetPackageRepositories() []*PackageRepository
func (*GuestPolicy) GetPackages
func (x *GuestPolicy) GetPackages() []*Package
func (*GuestPolicy) GetRecipes
func (x *GuestPolicy) GetRecipes() []*SoftwareRecipe
func (*GuestPolicy) GetUpdateTime
func (x *GuestPolicy) GetUpdateTime() *timestamp.Timestamp
func (*GuestPolicy) ProtoMessage
func (*GuestPolicy) ProtoMessage()
func (*GuestPolicy) ProtoReflect
func (x *GuestPolicy) ProtoReflect() protoreflect.Message
func (*GuestPolicy) Reset
func (x *GuestPolicy) Reset()
func (*GuestPolicy) String
func (x *GuestPolicy) String() string
Instance
type Instance struct {
// contains filtered or unexported fields
}
Namespace for instance state enums.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) ProtoMessage
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Message
func (*Instance) Reset
func (x *Instance) Reset()
func (*Instance) String
Instance_PatchState
type Instance_PatchState int32
Patch state of an instance.
Instance_PATCH_STATE_UNSPECIFIED, Instance_PENDING, Instance_INACTIVE, Instance_NOTIFIED, Instance_STARTED, Instance_DOWNLOADING_PATCHES, Instance_APPLYING_PATCHES, Instance_REBOOTING, Instance_SUCCEEDED, Instance_SUCCEEDED_REBOOT_REQUIRED, Instance_FAILED, Instance_ACKED, Instance_TIMED_OUT, Instance_RUNNING_PRE_PATCH_STEP, Instance_RUNNING_POST_PATCH_STEP, Instance_NO_AGENT_DETECTED
const (
// Unspecified.
Instance_PATCH_STATE_UNSPECIFIED Instance_PatchState = 0
// The instance is not yet notified.
Instance_PENDING Instance_PatchState = 1
// Instance is inactive and cannot be patched.
Instance_INACTIVE Instance_PatchState = 2
// The instance is notified that it should be patched.
Instance_NOTIFIED Instance_PatchState = 3
// The instance has started the patching process.
Instance_STARTED Instance_PatchState = 4
// The instance is downloading patches.
Instance_DOWNLOADING_PATCHES Instance_PatchState = 5
// The instance is applying patches.
Instance_APPLYING_PATCHES Instance_PatchState = 6
// The instance is rebooting.
Instance_REBOOTING Instance_PatchState = 7
// The instance has completed applying patches.
Instance_SUCCEEDED Instance_PatchState = 8
// The instance has completed applying patches but a reboot is required.
Instance_SUCCEEDED_REBOOT_REQUIRED Instance_PatchState = 9
// The instance has failed to apply the patch.
Instance_FAILED Instance_PatchState = 10
// The instance acked the notification and will start shortly.
Instance_ACKED Instance_PatchState = 11
// The instance exceeded the time out while applying the patch.
Instance_TIMED_OUT Instance_PatchState = 12
// The instance is running the pre-patch step.
Instance_RUNNING_PRE_PATCH_STEP Instance_PatchState = 13
// The instance is running the post-patch step.
Instance_RUNNING_POST_PATCH_STEP Instance_PatchState = 14
// The service could not detect the presence of the agent. Check to ensure
// that the agent is installed, running, and able to communicate with the
// service.
Instance_NO_AGENT_DETECTED Instance_PatchState = 15
)
func (Instance_PatchState) Descriptor
func (Instance_PatchState) Descriptor() protoreflect.EnumDescriptor
func (Instance_PatchState) Enum
func (x Instance_PatchState) Enum() *Instance_PatchState
func (Instance_PatchState) EnumDescriptor
func (Instance_PatchState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_PatchState.Descriptor instead.
func (Instance_PatchState) Number
func (x Instance_PatchState) Number() protoreflect.EnumNumber
func (Instance_PatchState) String
func (x Instance_PatchState) String() string
func (Instance_PatchState) Type
func (Instance_PatchState) Type() protoreflect.EnumType
ListGuestPoliciesRequest
type ListGuestPoliciesRequest struct {
// Required. The resource name of the parent using one of the following forms:
// `projects/{project_number}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of guest policies 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 `ListGuestPolicies`
// that indicates where this listing should continue from.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
A request message for listing guest policies.
func (*ListGuestPoliciesRequest) Descriptor
func (*ListGuestPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGuestPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListGuestPoliciesRequest) GetPageSize
func (x *ListGuestPoliciesRequest) GetPageSize() int32
func (*ListGuestPoliciesRequest) GetPageToken
func (x *ListGuestPoliciesRequest) GetPageToken() string
func (*ListGuestPoliciesRequest) GetParent
func (x *ListGuestPoliciesRequest) GetParent() string
func (*ListGuestPoliciesRequest) ProtoMessage
func (*ListGuestPoliciesRequest) ProtoMessage()
func (*ListGuestPoliciesRequest) ProtoReflect
func (x *ListGuestPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListGuestPoliciesRequest) Reset
func (x *ListGuestPoliciesRequest) Reset()
func (*ListGuestPoliciesRequest) String
func (x *ListGuestPoliciesRequest) String() string
ListGuestPoliciesResponse
type ListGuestPoliciesResponse struct {
// The list of GuestPolicies.
GuestPolicies []*GuestPolicy `protobuf:"bytes,1,rep,name=guest_policies,json=guestPolicies,proto3" json:"guest_policies,omitempty"`
// A pagination token that can be used to get the next page
// of guest policies.
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 guest policies.
func (*ListGuestPoliciesResponse) Descriptor
func (*ListGuestPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGuestPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListGuestPoliciesResponse) GetGuestPolicies
func (x *ListGuestPoliciesResponse) GetGuestPolicies() []*GuestPolicy
func (*ListGuestPoliciesResponse) GetNextPageToken
func (x *ListGuestPoliciesResponse) GetNextPageToken() string
func (*ListGuestPoliciesResponse) ProtoMessage
func (*ListGuestPoliciesResponse) ProtoMessage()
func (*ListGuestPoliciesResponse) ProtoReflect
func (x *ListGuestPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListGuestPoliciesResponse) Reset
func (x *ListGuestPoliciesResponse) Reset()
func (*ListGuestPoliciesResponse) String
func (x *ListGuestPoliciesResponse) String() string
ListPatchDeploymentsRequest
type ListPatchDeploymentsRequest struct {
// Required. The resource name of the parent in the form `projects/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of patch deployments to return. Default is 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A pagination token returned from a previous call to ListPatchDeployments
// that indicates where this listing should continue from.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
A request message for listing patch deployments.
func (*ListPatchDeploymentsRequest) Descriptor
func (*ListPatchDeploymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPatchDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListPatchDeploymentsRequest) GetPageSize
func (x *ListPatchDeploymentsRequest) GetPageSize() int32
func (*ListPatchDeploymentsRequest) GetPageToken
func (x *ListPatchDeploymentsRequest) GetPageToken() string
func (*ListPatchDeploymentsRequest) GetParent
func (x *ListPatchDeploymentsRequest) GetParent() string
func (*ListPatchDeploymentsRequest) ProtoMessage
func (*ListPatchDeploymentsRequest) ProtoMessage()
func (*ListPatchDeploymentsRequest) ProtoReflect
func (x *ListPatchDeploymentsRequest) ProtoReflect() protoreflect.Message
func (*ListPatchDeploymentsRequest) Reset
func (x *ListPatchDeploymentsRequest) Reset()
func (*ListPatchDeploymentsRequest) String
func (x *ListPatchDeploymentsRequest) String() string
ListPatchDeploymentsResponse
type ListPatchDeploymentsResponse struct {
// The list of patch deployments.
PatchDeployments []*PatchDeployment `protobuf:"bytes,1,rep,name=patch_deployments,json=patchDeployments,proto3" json:"patch_deployments,omitempty"`
// A pagination token that can be used to get the next page of patch
// deployments.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
A response message for listing patch deployments.
func (*ListPatchDeploymentsResponse) Descriptor
func (*ListPatchDeploymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPatchDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListPatchDeploymentsResponse) GetNextPageToken
func (x *ListPatchDeploymentsResponse) GetNextPageToken() string
func (*ListPatchDeploymentsResponse) GetPatchDeployments
func (x *ListPatchDeploymentsResponse) GetPatchDeployments() []*PatchDeployment
func (*ListPatchDeploymentsResponse) ProtoMessage
func (*ListPatchDeploymentsResponse) ProtoMessage()
func (*ListPatchDeploymentsResponse) ProtoReflect
func (x *ListPatchDeploymentsResponse) ProtoReflect() protoreflect.Message
func (*ListPatchDeploymentsResponse) Reset
func (x *ListPatchDeploymentsResponse) Reset()
func (*ListPatchDeploymentsResponse) String
func (x *ListPatchDeploymentsResponse) String() string
ListPatchJobInstanceDetailsRequest
type ListPatchJobInstanceDetailsRequest struct {
// Required. The parent for the instances are in the form of `projects/*/patchJobs/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of instance details records to return. Default is 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A pagination token returned from a previous call
// that indicates where this listing should continue from.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter expression that filters results listed in the response. This
// field supports filtering results by instance zone, name, state, or
// `failure_reason`.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request to list details for all instances that are part of a patch job.
func (*ListPatchJobInstanceDetailsRequest) Descriptor
func (*ListPatchJobInstanceDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPatchJobInstanceDetailsRequest.ProtoReflect.Descriptor instead.
func (*ListPatchJobInstanceDetailsRequest) GetFilter
func (x *ListPatchJobInstanceDetailsRequest) GetFilter() string
func (*ListPatchJobInstanceDetailsRequest) GetPageSize
func (x *ListPatchJobInstanceDetailsRequest) GetPageSize() int32
func (*ListPatchJobInstanceDetailsRequest) GetPageToken
func (x *ListPatchJobInstanceDetailsRequest) GetPageToken() string
func (*ListPatchJobInstanceDetailsRequest) GetParent
func (x *ListPatchJobInstanceDetailsRequest) GetParent() string
func (*ListPatchJobInstanceDetailsRequest) ProtoMessage
func (*ListPatchJobInstanceDetailsRequest) ProtoMessage()
func (*ListPatchJobInstanceDetailsRequest) ProtoReflect
func (x *ListPatchJobInstanceDetailsRequest) ProtoReflect() protoreflect.Message
func (*ListPatchJobInstanceDetailsRequest) Reset
func (x *ListPatchJobInstanceDetailsRequest) Reset()
func (*ListPatchJobInstanceDetailsRequest) String
func (x *ListPatchJobInstanceDetailsRequest) String() string
ListPatchJobInstanceDetailsResponse
type ListPatchJobInstanceDetailsResponse struct {
PatchJobInstanceDetails []*PatchJobInstanceDetails "" /* 134 byte string literal not displayed */
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
}
A response message for listing the instances details for a patch job.
func (*ListPatchJobInstanceDetailsResponse) Descriptor
func (*ListPatchJobInstanceDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPatchJobInstanceDetailsResponse.ProtoReflect.Descriptor instead.
func (*ListPatchJobInstanceDetailsResponse) GetNextPageToken
func (x *ListPatchJobInstanceDetailsResponse) GetNextPageToken() string
func (*ListPatchJobInstanceDetailsResponse) GetPatchJobInstanceDetails
func (x *ListPatchJobInstanceDetailsResponse) GetPatchJobInstanceDetails() []*PatchJobInstanceDetails
func (*ListPatchJobInstanceDetailsResponse) ProtoMessage
func (*ListPatchJobInstanceDetailsResponse) ProtoMessage()
func (*ListPatchJobInstanceDetailsResponse) ProtoReflect
func (x *ListPatchJobInstanceDetailsResponse) ProtoReflect() protoreflect.Message
func (*ListPatchJobInstanceDetailsResponse) Reset
func (x *ListPatchJobInstanceDetailsResponse) Reset()
func (*ListPatchJobInstanceDetailsResponse) String
func (x *ListPatchJobInstanceDetailsResponse) String() string
ListPatchJobsRequest
type ListPatchJobsRequest struct {
// Required. In the form of `projects/*`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of instance status to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A pagination token returned from a previous call
// that indicates where this listing should continue from.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// If provided, this field specifies the criteria that must be met by patch
// jobs to be included in the response.
// Currently, filtering is only available on the patch_deployment field.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
A request message for listing patch jobs.
func (*ListPatchJobsRequest) Descriptor
func (*ListPatchJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPatchJobsRequest.ProtoReflect.Descriptor instead.
func (*ListPatchJobsRequest) GetFilter
func (x *ListPatchJobsRequest) GetFilter() string
func (*ListPatchJobsRequest) GetPageSize
func (x *ListPatchJobsRequest) GetPageSize() int32
func (*ListPatchJobsRequest) GetPageToken
func (x *ListPatchJobsRequest) GetPageToken() string
func (*ListPatchJobsRequest) GetParent
func (x *ListPatchJobsRequest) GetParent() string
func (*ListPatchJobsRequest) ProtoMessage
func (*ListPatchJobsRequest) ProtoMessage()
func (*ListPatchJobsRequest) ProtoReflect
func (x *ListPatchJobsRequest) ProtoReflect() protoreflect.Message
func (*ListPatchJobsRequest) Reset
func (x *ListPatchJobsRequest) Reset()
func (*ListPatchJobsRequest) String
func (x *ListPatchJobsRequest) String() string
ListPatchJobsResponse
type ListPatchJobsResponse struct {
// The list of patch jobs.
PatchJobs []*PatchJob `protobuf:"bytes,1,rep,name=patch_jobs,json=patchJobs,proto3" json:"patch_jobs,omitempty"`
// A pagination token that can be used to get the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
A response message for listing patch jobs.
func (*ListPatchJobsResponse) Descriptor
func (*ListPatchJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPatchJobsResponse.ProtoReflect.Descriptor instead.
func (*ListPatchJobsResponse) GetNextPageToken
func (x *ListPatchJobsResponse) GetNextPageToken() string
func (*ListPatchJobsResponse) GetPatchJobs
func (x *ListPatchJobsResponse) GetPatchJobs() []*PatchJob
func (*ListPatchJobsResponse) ProtoMessage
func (*ListPatchJobsResponse) ProtoMessage()
func (*ListPatchJobsResponse) ProtoReflect
func (x *ListPatchJobsResponse) ProtoReflect() protoreflect.Message
func (*ListPatchJobsResponse) Reset
func (x *ListPatchJobsResponse) Reset()
func (*ListPatchJobsResponse) String
func (x *ListPatchJobsResponse) String() string
LookupEffectiveGuestPolicyRequest
type LookupEffectiveGuestPolicyRequest struct {
// Required. The VM instance whose policies are being looked up.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Short name of the OS running on the instance. The OS Config agent only
// provides this field for targeting if OS Inventory is enabled for that
// instance.
OsShortName string `protobuf:"bytes,2,opt,name=os_short_name,json=osShortName,proto3" json:"os_short_name,omitempty"`
// Version of the OS running on the instance. The OS Config agent only
// provides this field for targeting if OS Inventory is enabled for that
// VM instance.
OsVersion string `protobuf:"bytes,3,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
// Architecture of OS running on the instance. The OS Config agent only
// provides this field for targeting if OS Inventory is enabled for that
// instance.
OsArchitecture string `protobuf:"bytes,4,opt,name=os_architecture,json=osArchitecture,proto3" json:"os_architecture,omitempty"`
// contains filtered or unexported fields
}
A request message for getting the effective guest policy assigned to the instance.
func (*LookupEffectiveGuestPolicyRequest) Descriptor
func (*LookupEffectiveGuestPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupEffectiveGuestPolicyRequest.ProtoReflect.Descriptor instead.
func (*LookupEffectiveGuestPolicyRequest) GetInstance
func (x *LookupEffectiveGuestPolicyRequest) GetInstance() string
func (*LookupEffectiveGuestPolicyRequest) GetOsArchitecture
func (x *LookupEffectiveGuestPolicyRequest) GetOsArchitecture() string
func (*LookupEffectiveGuestPolicyRequest) GetOsShortName
func (x *LookupEffectiveGuestPolicyRequest) GetOsShortName() string
func (*LookupEffectiveGuestPolicyRequest) GetOsVersion
func (x *LookupEffectiveGuestPolicyRequest) GetOsVersion() string