
    	N                       S r SSKJr  SSKJr  SSKJr  SSKJr  Sr	 " S S\R                  5      r " S	 S
\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S \R                  5      r " S! S"\R                  5      r " S# S$\R                  5      r " S% S&\R                  5      r " S' S(\R                  5      r " S) S*\R                  5      r " S+ S,\R                  5      r " S- S.\R                  5      r " S/ S0\R                  5      r " S1 S2\R                  5      r  " S3 S4\R                  5      r! " S5 S6\R                  5      r" " S7 S8\R                  5      r# " S9 S:\R                  5      r$ " S; S<\R                  5      r% " S= S>\R                  5      r& " S? S@\R                  5      r' " SA SB\R                  5      r( " SC SD\R                  5      r) " SE SF\R                  5      r* " SG SH\R                  5      r+ " SI SJ\R                  5      r, " SK SL\R                  5      r- " SM SN\R                  5      r. " SO SP\R                  5      r/ " SQ SR\R                  5      r0 " SS ST\R                  5      r1 " SU SV\R                  5      r2 " SW SX\R                  5      r3 " SY SZ\R                  5      r4 " S[ S\\R                  5      r5 " S] S^\R                  5      r6 " S_ S`\R                  5      r7 " Sa Sb\R                  5      r8 " Sc Sd\R                  5      r9 " Se Sf\R                  5      r: " Sg Sh\R                  5      r; " Si Sj\R                  5      r< " Sk Sl\R                  5      r= " Sm Sn\R                  5      r> " So Sp\R                  5      r? " Sq Sr\R                  5      r@ " Ss St\R                  5      rA " Su Sv\R                  5      rB " Sw Sx\R                  5      rC " Sy Sz\R                  5      rD " S{ S|\R                  5      rE " S} S~\R                  5      rF " S S\R                  5      rG " S S\R                  5      rH " S S\R                  5      rI " S S\R                  5      rJ " S S\R                  5      rK " S S\R                  5      rL " S S\R                  5      rM " S S\R                  5      rN " S S\R                  5      rO " S S\R                  5      rP " S S\R                  5      rQ " S S\R                  5      rR " S S\R                  5      rS " S S\R                  5      rT " S S\R                  5      rU " S S\R                  5      rV " S S\R                  5      rW " S S\R                  5      rX " S S\R                  5      rY " S S\R                  5      rZ " S S\R                  5      r[ " S S\R                  5      r\ " S S\R                  5      r] " S S\R                  5      r^ " S S\R                  5      r_ " S S\R                  5      r` " S S\R                  5      ra " S S\R                  5      rb " S S\R                  5      rc " S S\R                  5      rd " S S\R                  5      re " S S\R                  5      rf " S S\R                  5      rg " S S\R                  5      rh " S S\R                  5      ri " S S\R                  5      rj " S S\R                  5      rk " S S\R                  5      rl " S S\R                  5      rm " S S\R                  5      rn " S S\R                  5      ro " S S\R                  5      rp " S S\R                  5      rq " S S\R                  5      rr " S S\R                  5      rs " S S\R                  5      rt " S S\R                  5      ru " S S\R                  5      rv " S S\R                  5      rw " S S\R                  5      rx " S S\R                  5      ry " S S\R                  5      rz " S S\R                  5      r{ " S S\R                  5      r| " S S\R                  5      r} " S S\R                  5      r~ " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S GS \R                  5      r " GS GS\R                  5      r\GR                  " \;GSGS5        \GR                  " \zGSGS5        \GR                  " \zGR                  GSGS5        \GR                  " \zGR                  GS	GS
5        Gg(  zGenerated message classes for osconfig version v1.

OS management tools that can be used for patch management, patch compliance,
and configuration management on VM instances.
    )absolute_import)messages)encoding)extra_typesosconfigc                       \ rS rSrSr " S S\R                  5      r\R                  " SSS9r	\R                  " SSS9r
\R                  " SS	5      rS
rg)AptSettings   a  Apt patching is completed by executing `apt-get update && apt-get
upgrade`. Additional options can be set to control how this is executed.

Enums:
  TypeValueValuesEnum: By changing the type to DIST, the patching is
    performed using `apt-get dist-upgrade` instead.

Fields:
  excludes: List of packages to exclude from update. These packages will be
    excluded
  exclusivePackages: 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.
  type: By changing the type to DIST, the patching is performed using `apt-
    get dist-upgrade` instead.
c                   $    \ rS rSrSrSrSrSrSrg)AptSettings.TypeValueValuesEnum%   zBy changing the type to DIST, the patching is performed using `apt-get
dist-upgrade` instead.

Values:
  TYPE_UNSPECIFIED: By default, upgrade will be performed.
  DIST: Runs `apt-get dist-upgrade`.
  UPGRADE: Runs `apt-get upgrade`.
r          N)	__name__
__module____qualname____firstlineno____doc__TYPE_UNSPECIFIEDDISTUPGRADE__static_attributes__r       Mlib/googlecloudsdk/generated_clients/apis/osconfig/v1/osconfig_v1_messages.pyTypeValueValuesEnumr   %   s     DGr   r   r   Trepeatedr      r   N)r   r   r   r   r   	_messagesEnumr   StringFieldexcludesexclusivePackages	EnumFieldtyper   r   r   r   r	   r	      sQ    $INN  ""1t4(++A=			2A	6$r   r	   c                   v   \ rS rSrSr " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r	 " S	 S
\R                  5      r
 " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R&                  " S\R(                  R*                  S9r\R                  " S
S5      r\R&                  " S\R(                  R*                  S9r\R&                  " S\R(                  R*                  S9r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      rSrg )!CVSSv37   a  Common Vulnerability Scoring System version 3. For details, see
https://www.first.org/cvss/specification-document

Enums:
  AttackComplexityValueValuesEnum: This metric describes the conditions
    beyond the attacker's control that must exist in order to exploit the
    vulnerability.
  AttackVectorValueValuesEnum: This metric reflects the context by which
    vulnerability exploitation is possible.
  AvailabilityImpactValueValuesEnum: This metric measures the impact to the
    availability of the impacted component resulting from a successfully
    exploited vulnerability.
  ConfidentialityImpactValueValuesEnum: This metric measures the impact to
    the confidentiality of the information resources managed by a software
    component due to a successfully exploited vulnerability.
  IntegrityImpactValueValuesEnum: This metric measures the impact to
    integrity of a successfully exploited vulnerability.
  PrivilegesRequiredValueValuesEnum: This metric describes the level of
    privileges an attacker must possess before successfully exploiting the
    vulnerability.
  ScopeValueValuesEnum: The Scope metric captures whether a vulnerability in
    one vulnerable component impacts resources in components beyond its
    security scope.
  UserInteractionValueValuesEnum: This metric captures the requirement for a
    human user, other than the attacker, to participate in the successful
    compromise of the vulnerable component.

Fields:
  attackComplexity: This metric describes the conditions beyond the
    attacker's control that must exist in order to exploit the
    vulnerability.
  attackVector: This metric reflects the context by which vulnerability
    exploitation is possible.
  availabilityImpact: This metric measures the impact to the availability of
    the impacted component resulting from a successfully exploited
    vulnerability.
  baseScore: The base score is a function of the base metric scores.
    https://www.first.org/cvss/specification-document#Base-Metrics
  confidentialityImpact: This metric measures the impact to the
    confidentiality of the information resources managed by a software
    component due to a successfully exploited vulnerability.
  exploitabilityScore: The Exploitability sub-score equation is derived from
    the Base Exploitability metrics.
    https://www.first.org/cvss/specification-document#2-1-Exploitability-
    Metrics
  impactScore: The Impact sub-score equation is derived from the Base Impact
    metrics.
  integrityImpact: This metric measures the impact to integrity of a
    successfully exploited vulnerability.
  privilegesRequired: This metric describes the level of privileges an
    attacker must possess before successfully exploiting the vulnerability.
  scope: The Scope metric captures whether a vulnerability in one vulnerable
    component impacts resources in components beyond its security scope.
  userInteraction: This metric captures the requirement for a human user,
    other than the attacker, to participate in the successful compromise of
    the vulnerable component.
c                   $    \ rS rSrSrSrSrSrSrg)&CVSSv3.AttackComplexityValueValuesEnumr   a  This metric describes the conditions beyond the attacker's control
that must exist in order to exploit the vulnerability.

Values:
  ATTACK_COMPLEXITY_UNSPECIFIED: Invalid value.
  ATTACK_COMPLEXITY_LOW: Specialized access conditions or extenuating
    circumstances do not exist. An attacker can expect repeatable success
    when attacking the vulnerable component.
  ATTACK_COMPLEXITY_HIGH: 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.
r   r   r   r   N)	r   r   r   r   r   ATTACK_COMPLEXITY_UNSPECIFIEDATTACK_COMPLEXITY_LOWATTACK_COMPLEXITY_HIGHr   r   r   r   AttackComplexityValueValuesEnumr+   r   s     %&!r   r0   c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
"CVSSv3.AttackVectorValueValuesEnum   a  This metric reflects the context by which vulnerability exploitation
is possible.

Values:
  ATTACK_VECTOR_UNSPECIFIED: Invalid value.
  ATTACK_VECTOR_NETWORK: 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.
  ATTACK_VECTOR_ADJACENT: The vulnerable component is bound to the network
    stack, but the attack is limited at the protocol level to a logically
    adjacent topology.
  ATTACK_VECTOR_LOCAL: The vulnerable component is not bound to the
    network stack and the attacker's path is via read/write/execute
    capabilities.
  ATTACK_VECTOR_PHYSICAL: The attack requires the attacker to physically
    touch or manipulate the vulnerable component.
r   r   r   r      r   N)r   r   r   r   r   ATTACK_VECTOR_UNSPECIFIEDATTACK_VECTOR_NETWORKATTACK_VECTOR_ADJACENTATTACK_VECTOR_LOCALATTACK_VECTOR_PHYSICALr   r   r   r   AttackVectorValueValuesEnumr2      s'    " !"r   r:   c                   (    \ rS rSrSrSrSrSrSrSr	g)	(CVSSv3.AvailabilityImpactValueValuesEnum   a  This metric measures the impact to the availability of the impacted
component resulting from a successfully exploited vulnerability.

Values:
  IMPACT_UNSPECIFIED: Invalid value.
  IMPACT_HIGH: High impact.
  IMPACT_LOW: Low impact.
  IMPACT_NONE: No impact.
r   r   r   r   r   N
r   r   r   r   r   IMPACT_UNSPECIFIEDIMPACT_HIGH
IMPACT_LOWIMPACT_NONEr   r   r   r   !AvailabilityImpactValueValuesEnumr<           KJKr   rC   c                   (    \ rS rSrSrSrSrSrSrSr	g)	+CVSSv3.ConfidentialityImpactValueValuesEnum   a!  This metric measures the impact to the confidentiality of the
information resources managed by a software component due to a
successfully exploited vulnerability.

Values:
  IMPACT_UNSPECIFIED: Invalid value.
  IMPACT_HIGH: High impact.
  IMPACT_LOW: Low impact.
  IMPACT_NONE: No impact.
r   r   r   r   r   Nr>   r   r   r   $ConfidentialityImpactValueValuesEnumrF      s    	 KJKr   rH   c                   (    \ rS rSrSrSrSrSrSrSr	g)	%CVSSv3.IntegrityImpactValueValuesEnum   zThis metric measures the impact to integrity of a successfully
exploited vulnerability.

Values:
  IMPACT_UNSPECIFIED: Invalid value.
  IMPACT_HIGH: High impact.
  IMPACT_LOW: Low impact.
  IMPACT_NONE: No impact.
r   r   r   r   r   Nr>   r   r   r   IntegrityImpactValueValuesEnumrJ      rD   r   rL   c                   (    \ rS rSrSrSrSrSrSrSr	g)	(CVSSv3.PrivilegesRequiredValueValuesEnum   a_  This metric describes the level of privileges an attacker must possess
before successfully exploiting the vulnerability.

Values:
  PRIVILEGES_REQUIRED_UNSPECIFIED: Invalid value.
  PRIVILEGES_REQUIRED_NONE: 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.
  PRIVILEGES_REQUIRED_LOW: 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.
  PRIVILEGES_REQUIRED_HIGH: The attacker requires privileges that provide
    significant (e.g., administrative) control over the vulnerable
    component allowing access to component-wide settings and files.
r   r   r   r   r   N)
r   r   r   r   r   PRIVILEGES_REQUIRED_UNSPECIFIEDPRIVILEGES_REQUIRED_NONEPRIVILEGES_REQUIRED_LOWPRIVILEGES_REQUIRED_HIGHr   r   r   r   !PrivilegesRequiredValueValuesEnumrN      s!      '(#  r   rT   c                   $    \ rS rSrSrSrSrSrSrg)CVSSv3.ScopeValueValuesEnum   a  The Scope metric captures whether a vulnerability in one vulnerable
component impacts resources in components beyond its security scope.

Values:
  SCOPE_UNSPECIFIED: Invalid value.
  SCOPE_UNCHANGED: An exploited vulnerability can only affect resources
    managed by the same security authority.
  SCOPE_CHANGED: An exploited vulnerability can affect resources beyond
    the security scope managed by the security authority of the vulnerable
    component.
r   r   r   r   N)	r   r   r   r   r   SCOPE_UNSPECIFIEDSCOPE_UNCHANGEDSCOPE_CHANGEDr   r   r   r   ScopeValueValuesEnumrV      s    
 OMr   r[   c                   $    \ rS rSrSrSrSrSrSrg)%CVSSv3.UserInteractionValueValuesEnum   a  This metric captures the requirement for a human user, other than the
attacker, to participate in the successful compromise of the vulnerable
component.

Values:
  USER_INTERACTION_UNSPECIFIED: Invalid value.
  USER_INTERACTION_NONE: The vulnerable system can be exploited without
    interaction from any user.
  USER_INTERACTION_REQUIRED: Successful exploitation of this vulnerability
    requires a user to take some action before the vulnerability can be
    exploited.
r   r   r   r   N)	r   r   r   r   r   USER_INTERACTION_UNSPECIFIEDUSER_INTERACTION_NONEUSER_INTERACTION_REQUIREDr   r   r   r   UserInteractionValueValuesEnumr]      s     $%  !r   rb   r   r   r   r4   variant            	   
      r   N)r   r   r   r   r   r    r!   r0   r:   rC   rH   rL   rT   r[   rb   r%   attackComplexityattackVectoravailabilityImpact
FloatFieldVariantFLOAT	baseScoreconfidentialityImpactexploitabilityScoreimpactScoreintegrityImpactprivilegesRequiredscopeuserInteractionr   r   r   r   r(   r(   7   s   8t	 &INN 0).. Y^^  y~~ !).. !,Y^^  "y~~ "" (()JAN$$%BAF, **+NPQR""1i.?.?.E.EF)#--.TVWX!,,Q	8I8I8O8OP$$Q	0A0A0G0GH+''(H!L/ **+NPQR


4b
9%''(H"M/r   r(   c                       \ rS rSrSrSrg)CancelOperationRequesti  z3The request message for Operations.CancelOperation.r   Nr   r   r   r   r   r   r   r   r   r{   r{     s    <r   r{   c                       \ rS rSrSrSrg)CancelPatchJobRequesti  z"Message for canceling a patch job.r   Nr|   r   r   r   r~   r~     s    +r   r~   c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S\R                  R                  S9r
\R                  " S\R                  R                  S9rSrg)	Datei  a  Represents a whole or partial calendar date, such as a birthday. The
time of day and time zone are either specified elsewhere or are
insignificant. The date is relative to the Gregorian Calendar. This can
represent one of the following: * A full date, with non-zero year, month,
and day values. * A month and day, with a zero year (for example, an
anniversary). * A year on its own, with a zero month and a zero day. * A
year and month, with a zero day (for example, a credit card expiration
date). Related types: * google.type.TimeOfDay * google.type.DateTime *
google.protobuf.Timestamp

Fields:
  day: Day of a month. Must be from 1 to 31 and valid for the year and
    month, or 0 to specify a year by itself or a year and month where the
    day isn't significant.
  month: Month of a year. Must be from 1 to 12, or 0 to specify a year
    without a month and day.
  year: Year of the date. Must be from 1 to 9999, or 0 to specify a date
    without a year.
r   rc   r   r   r   N)r   r   r   r   r   r    IntegerFieldrp   INT32daymonthyearr   r   r   r   r   r     sc    ( 	q)*;*;*A*AB#

 
 I,=,=,C,C
D%			9+<+<+B+B	C$r   r   c                       \ rS rSrSrSrg)Emptyi1  a  A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs. A typical example is to use it as the request
or the response type of an API method. For instance: service Foo { rpc
Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
r   Nr|   r   r   r   r   r   1  s    r   r   c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)ExecStepi:  zA step that runs an executable for a PatchJob.

Fields:
  linuxExecStepConfig: The ExecStepConfig for all Linux VMs targeted by the
    PatchJob.
  windowsExecStepConfig: The ExecStepConfig for all Windows VMs targeted by
    the PatchJob.
ExecStepConfigr   r   r   N)
r   r   r   r   r   r    MessageFieldlinuxExecStepConfigwindowsExecStepConfigr   r   r   r   r   r   :  s1     "../?C#001A1Er   r   c                       \ rS rSrSr " S S\R                  5      r\R                  " SS\R                  R                  S9r\R                  " SS	5      r\R                  " SS
5      r\R                   " S5      rSrg)r   iH  aI  Common configurations for an ExecStep.

Enums:
  InterpreterValueValuesEnum: The script interpreter to use to run the
    script. If no interpreter is specified the script will be executed
    directly, which will likely only succeed for scripts with [shebang
    lines] (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).

Fields:
  allowedSuccessCodes: Defaults to [0]. A list of possible return values
    that the execution can return to indicate a success.
  gcsObject: A Cloud Storage object containing the executable.
  interpreter: The script interpreter to use to run the script. If no
    interpreter is specified the script will be executed directly, which
    will likely only succeed for scripts with [shebang lines]
    (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
  localPath: An absolute path to the executable on the VM.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	)ExecStepConfig.InterpreterValueValuesEnumi\  a  The script interpreter to use to run the script. If no interpreter is
specified the script will be executed directly, which will likely only
succeed for scripts with [shebang lines]
(https://en.wikipedia.org/wiki/Shebang_\(Unix\)).

Values:
  INTERPRETER_UNSPECIFIED: If the interpreter is not specified, the value
    defaults to `NONE`.
  NONE: Indicates that the file is run as follows on each operating
    system: + For Linux VMs, the file is ran as an executable and the
    interpreter might be parsed from the [shebang
    line](https://wikipedia.org/wiki/Shebang_(Unix)) of the file. + For
    Windows VM, this value is not supported.
  SHELL: Indicates that the file is run with `/bin/sh` on Linux and `cmd`
    on Windows.
  POWERSHELL: Indicates that the file is run with PowerShell.
r   r   r   r   r   N
r   r   r   r   r   INTERPRETER_UNSPECIFIEDNONESHELL
POWERSHELLr   r   r   r   InterpreterValueValuesEnumr   \  s    "  DEJr   r   r   T)r   rd   	GcsObjectr   r   r4   r   N)r   r   r   r   r   r    r!   r   r   rp   r   allowedSuccessCodesr   	gcsObjectr%   interpreterr"   	localPathr   r   r   r   r   r   H  so    &9>> . "..q4IZIZI`I`a$$[!4)##$@!D+##A&)r   r   c                      \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r
\R                  " S5      r\R                  " SS5      r\R                  " S	S
5      r\R                  " SS5      rSrg)ExecutePatchJobRequestiy  a  A request message to initiate patching across Compute Engine instances.

Fields:
  description: Description of the patch job. Length of the description is
    limited to 1024 characters.
  displayName: Display name for this patch job. This does not have to be
    unique.
  dryRun: If this patch is a dry-run only, instances are contacted but will
    do nothing.
  duration: Duration of the patch job. After the duration ends, the patch
    job times out.
  instanceFilter: Required. Instances to patch, either explicitly or
    filtered by some criteria such as zone or labels.
  patchConfig: Patch configuration being applied. If omitted, instances are
    patched using the default configurations.
  rollout: Rollout strategy of the patch job.
r   r   r   r4   PatchInstanceFilterre   PatchConfigrf   PatchRolloutrg   r   N)r   r   r   r   r   r    r"   descriptiondisplayNameBooleanFielddryRundurationr   instanceFilterpatchConfigrolloutr   r   r   r   r   r   y  s    $ %%a(+%%a(+!!!$&""1%())*?C.&&}a8+"">15'r   r   c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S\R                  R                  S9r
Srg)FixedOrPercenti  a  Message encapsulating a value that can be either absolute ("fixed") or
relative ("percent") to a value.

Fields:
  fixed: Specifies a fixed value.
  percent: Specifies the relative value defined as a percentage, which will
    be multiplied by a reference value.
r   rc   r   r   N)r   r   r   r   r   r    r   rp   r   fixedpercentr   r   r   r   r   r     sE     
 
 I,=,=,C,C
D%""1i.?.?.E.EF'r   r   c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)r   i  aF  Cloud Storage object representation.

Fields:
  bucket: Required. Bucket of the Cloud Storage object.
  generationNumber: Required. Generation number of the Cloud Storage object.
    This is used to ensure that the ExecStep specified by this PatchJob does
    not change.
  object: Required. Name of the Cloud Storage object.
r   r   r   r   N)r   r   r   r   r   r    r"   bucketr   generationNumberobjectr   r   r   r   r   r     s:       #&++A.  #&r   r   c                       \ rS rSrSrSrg)GooSettingsi  z8Googet patching is performed by running `googet update`.r   Nr|   r   r   r   r   r     s    Ar   r   c                   $   \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " S	5      r\R                  " SS
5      r\R                  " S5      rSrg)8GoogleCloudOsconfigV1OSPolicyAssignmentOperationMetadatai  m  OS policy assignment operation metadata provided by OS policy assignment
API methods that return long running operations.

Enums:
  ApiMethodValueValuesEnum: The OS policy assignment API method.
  RolloutStateValueValuesEnum: State of the rollout

Fields:
  apiMethod: The OS policy assignment API method.
  osPolicyAssignment: Reference to the `OSPolicyAssignment` API resource.
    Format: `projects/{project_number}/locations/{location}/osPolicyAssignme
    nts/{os_policy_assignment_id@revision_id}`
  rolloutStartTime: Rollout start time
  rolloutState: State of the rollout
  rolloutUpdateTime: Rollout update time
c                   (    \ rS rSrSrSrSrSrSrSr	g)	QGoogleCloudOsconfigV1OSPolicyAssignmentOperationMetadata.ApiMethodValueValuesEnumi  The OS policy assignment API method.

Values:
  API_METHOD_UNSPECIFIED: Invalid value
  CREATE: Create OS policy assignment API method
  UPDATE: Update OS policy assignment API method
  DELETE: Delete OS policy assignment API method
r   r   r   r   r   N
r   r   r   r   r   API_METHOD_UNSPECIFIEDCREATEUPDATEDELETEr   r   r   r   ApiMethodValueValuesEnumr          FFFr   r   c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
TGoogleCloudOsconfigV1OSPolicyAssignmentOperationMetadata.RolloutStateValueValuesEnumi  State of the rollout

Values:
  ROLLOUT_STATE_UNSPECIFIED: Invalid value
  IN_PROGRESS: The rollout is in progress.
  CANCELLING: The rollout is being cancelled.
  CANCELLED: The rollout is cancelled.
  SUCCEEDED: The rollout has completed successfully.
r   r   r   r   r4   r   Nr   r   r   r   r   ROLLOUT_STATE_UNSPECIFIEDIN_PROGRESS
CANCELLING	CANCELLED	SUCCEEDEDr   r   r   r   RolloutStateValueValuesEnumr     #     !"KJIIr   r   r   r   r   r4   re   r   Nr   r   r   r   r   r    r!   r   r   r%   	apiMethodr"   osPolicyAssignmentrolloutStartTimerolloutStaterolloutUpdateTimer   r   r   r   r   r         " INN   !!"<a@) ,,Q/**1-$$%BAF,++A.r   r   c                      \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S	5      rS
rg)&GoogleCloudOsconfigV2OperationMetadatai    Represents the metadata of the long-running operation.

Fields:
  apiVersion: Output only. API version used to start the operation.
  createTime: Output only. The time the operation was created.
  endTime: Output only. The time the operation finished running.
  requestedCancellation: Output only. Identifies whether the user has
    requested cancellation of the operation. Operations that have been
    cancelled successfully have Operation.error value with a
    google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
  statusMessage: Output only. Human-readable status of the operation, if
    any.
  target: Output only. Server-defined resource path for the target of the
    operation.
  verb: Output only. Name of the verb executed by the operation.
r   r   r   r4   re   rf   rg   r   Nr   r   r   r   r   r    r"   
apiVersion
createTimeendTimer   requestedCancellationstatusMessagetargetverbr   r   r   r   r   r     z    " $$Q'*$$Q'*!!!$'#003''*-  #&			q	!$r   r   c                      \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S	5      rS
rg)*GoogleCloudOsconfigV2betaOperationMetadatai	  r   r   r   r   r4   re   rf   rg   r   Nr   r   r   r   r   r   	  r   r   r   c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " SS5      r\R                  " S5      r\R                  " SS	5      r\R                  " S
5      rSrg)	Inventoryi$  a  This API resource represents the available inventory data for a Compute
Engine virtual machine (VM) instance at a given point in time. You can use
this API resource to determine the inventory data of your VM. For more
information, see [Information provided by OS inventory
management](https://cloud.google.com/compute/docs/instances/os-inventory-
management#data-collected).

Messages:
  ItemsValue: Inventory items related to the VM keyed by an opaque unique
    identifier for each inventory item. The identifier is unique to each
    distinct and addressable inventory item and will change, when there is a
    new package version.

Fields:
  items: Inventory items related to the VM keyed by an opaque unique
    identifier for each inventory item. The identifier is unique to each
    distinct and addressable inventory item and will change, when there is a
    new package version.
  name: Output only. The `Inventory` API resource name. Format: `projects/{p
    roject_number}/locations/{location}/instances/{instance_id}/inventory`
  osInfo: Base level operating system information for the VM.
  updateTime: Output only. Timestamp of the last reported inventory for the
    VM.
additionalPropertiesc                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
Inventory.ItemsValuei>  az  Inventory items related to the VM keyed by an opaque unique identifier
for each inventory item. The identifier is unique to each distinct and
addressable inventory item and will change, when there is a new package
version.

Messages:
  AdditionalProperty: An additional property for a ItemsValue object.

Fields:
  additionalProperties: Additional properties of type ItemsValue
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)'Inventory.ItemsValue.AdditionalPropertyiL  zAn additional property for a ItemsValue object.

Fields:
  key: Name of the additional property.
  value: A InventoryItem attribute.
r   InventoryItemr   r   Nr   r   r   r   r   r    r"   keyr   valuer   r   r   r   AdditionalPropertyr   L  s+    
 !!!$c$$_a8er   r   r   Tr   r   Nr   r   r   r   r   r    Messager   r   r   r   r   r   r   
ItemsValuer   >  s2    
	9Y.. 	9 %112FTXYr   r   r   r   InventoryOsInfor   r4   r   N)r   r   r   r   r   r   MapUnrecognizedFieldsr    r   r   r   itemsr"   nameosInfo
updateTimer   r   r   r   r   r   $  s~    2 !!"89Z9$$ Z :Z4 
 
 q
1%			q	!$!!"3Q7&$$Q'*r   r   c                   p   \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S	5      r\R                  " S
5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " S5      rSrg)r   i_  a  A single piece of inventory on a VM.

Enums:
  OriginTypeValueValuesEnum: The origin of this inventory item.
  TypeValueValuesEnum: The specific type of inventory, correlating to its
    specific details.

Fields:
  availablePackage: Software package available to be installed on the VM
    instance.
  createTime: When this inventory item was first detected.
  id: Identifier for this item, unique across items for this VM.
  installedPackage: Software package present on the VM instance.
  originType: The origin of this inventory item.
  type: The specific type of inventory, correlating to its specific details.
  updateTime: When this inventory item was last modified.
c                        \ rS rSrSrSrSrSrg)'InventoryItem.OriginTypeValueValuesEnumir  zThe origin of this inventory item.

Values:
  ORIGIN_TYPE_UNSPECIFIED: Invalid. An origin type must be specified.
  INVENTORY_REPORT: This inventory item was discovered as the result of
    the agent reporting inventory via the reporting API.
r   r   r   N)r   r   r   r   r   ORIGIN_TYPE_UNSPECIFIEDINVENTORY_REPORTr   r   r   r   OriginTypeValueValuesEnumr   r  s      r   r   c                   $    \ rS rSrSrSrSrSrSrg)!InventoryItem.TypeValueValuesEnumi}  a)  The specific type of inventory, correlating to its specific details.

Values:
  TYPE_UNSPECIFIED: Invalid. A type must be specified.
  INSTALLED_PACKAGE: This represents a package that is installed on the
    VM.
  AVAILABLE_PACKAGE: This represents an update that is available for a
    package.
r   r   r   r   N)	r   r   r   r   r   r   INSTALLED_PACKAGEAVAILABLE_PACKAGEr   r   r   r   r   r   }  s     r   r   InventorySoftwarePackager   r   r   r4   re   rf   rg   r   N)r   r   r   r   r   r    r!   r   r   r   availablePackager"   r   idinstalledPackager%   
originTyper&   r   r   r   r   r   r   r   _  s    $	).. 	INN  ++,FJ$$Q'*Q"++,FJ""#>B*			2A	6$$$Q'*r   r   c                   8   \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      r\R                  " S	5      r\R                  " S
5      rSrg)r   i  ai  Operating system information for the VM.

Fields:
  architecture: The system architecture of the operating system.
  hostname: The VM hostname.
  kernelRelease: The kernel release of the operating system.
  kernelVersion: The kernel version of the operating system.
  longName: The operating system long name. For example 'Debian GNU/Linux 9'
    or 'Microsoft Window Server 2019 Datacenter'.
  osconfigAgentVersion: The current version of the OS Config agent running
    on the VM.
  shortName: The operating system short name. For example, 'windows' or
    'debian'.
  version: The version of the operating system.
r   r   r   r4   re   rf   rg   rh   r   N)r   r   r   r   r   r    r"   architecturehostnamekernelReleasekernelVersionlongNameosconfigAgentVersion	shortNameversionr   r   r   r   r   r     s      &&q),""1%(''*-''*-""1%("..q1##A&)!!!$'r   r   c                   n   \ rS rSrSr\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r	\R                  " SS5      r
\R                  " S	S
5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      rSrg)r   i  a  Software package information of the operating system.

Fields:
  aptPackage: Details of an APT package. For details about the apt package
    manager, see https://wiki.debian.org/Apt.
  cosPackage: Details of a COS package.
  googetPackage: Details of a Googet package. For details about the googet
    package manager, see https://github.com/google/googet.
  qfePackage: 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.
  windowsApplication: Details of Windows Application.
  wuaPackage: Details of a Windows Update package. See
    https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information
    about Windows Update.
  yumPackage: 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.
  zypperPackage: Details of a Zypper package. For details about the Zypper
    package manager, see https://en.opensuse.org/SDB:Zypper_manual.
  zypperPatch: Details of a Zypper patch. For details about the Zypper
    package manager, see https://en.opensuse.org/SDB:Zypper_manual.
InventoryVersionedPackager   r   r   *InventoryWindowsQuickFixEngineeringPackager4   InventoryWindowsApplicationre   InventoryWindowsUpdatePackagerf   rg   rh   InventoryZypperPatchri   r   N)r   r   r   r   r   r    r   
aptPackage
cosPackagegoogetPackage
qfePackagewindowsApplication
wuaPackage
yumPackagezypperPackagezypperPatchr   r   r   r   r   r     s    2 %%&A1E*%%&A1E*(()DaH-%%&RTUV* --.KQO%%&EqI*%%&A1E*(()DaH-&&'=qA+r   r   c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	Sr
g)r  i  a%  Information related to the a standard versioned package. This includes
package info for APT, Yum, Zypper, and Googet package managers.

Fields:
  architecture: The system architecture this package is intended for.
  packageName: The name of the package.
  version: The version of the package.
r   r   r   r   N)r   r   r   r   r   r    r"   r  packageNamer  r   r   r   r   r  r    s9     &&q),%%a(+!!!$'r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " SS5      r\R                  " S5      rS	rg
)r  i  a  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

Fields:
  displayName: The name of the application or product.
  displayVersion: The version of the product or application in string
    format.
  helpLink: The internet address for technical support.
  installDate: 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.
  publisher: The name of the manufacturer for the product or application.
r   r   r   r   r4   re   r   N)r   r   r   r   r   r    r"   r   displayVersionhelpLinkr   installDate	publisherr   r   r   r   r  r    s[     %%a(+((+.""1%(&&vq1+##A&)r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)	r  i  a  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

Fields:
  caption: A short textual description of the QFE update.
  description: A textual description of the QFE update.
  hotFixId: Unique identifier associated with a particular QFE update.
  installTime: Date that the QFE update was installed. Mapped from
    installed_on field.
r   r   r   r4   r   N)r   r   r   r   r   r    r"   captionr   hotFixIdinstallTimer   r   r   r   r  r    sI     !!!$'%%a(+""1%(%%a(+r   r  c                   ~   \ rS rSrSr\R                  " SSSS9r\R                  " S5      r	\R                  " SSS9r
\R                  " S	5      r\R                  " S
SS9r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)r  i  a  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.

Fields:
  categories: The categories that are associated with this update package.
  description: The localized description of the update package.
  kbArticleIds: A collection of Microsoft Knowledge Base article IDs that
    are associated with the update package.
  lastDeploymentChangeTime: The last published date of the update, in (UTC)
    date and time.
  moreInfoUrls: A collection of URLs that provide more information about the
    update package.
  revisionNumber: The revision number of this update package.
  supportUrl: A hyperlink to the language-specific support information for
    the update.
  title: The localized title of the update package.
  updateId: Gets the identifier of an update package. Stays the same across
    revisions.
2InventoryWindowsUpdatePackageWindowsUpdateCategoryr   Tr   r   r   r4   re   rf   rc   rg   rh   ri   r   N)r   r   r   r   r   r    r   
categoriesr"   r   kbArticleIdslastDeploymentChangeTimemoreInfoUrlsr   rp   r   revisionNumber
supportUrltitleupdateIdr   r   r   r   r  r    s    . %%&Z\]hlm*%%a(+&&q48,&2215&&q48,))!Y5F5F5L5LM.$$Q'*



"%""1%(r   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r(  i1  zCategories specified by the Windows Update.

Fields:
  id: The identifier of the windows update category.
  name: The name of the windows update category.
r   r   r   N)
r   r   r   r   r   r    r"   r  r   r   r   r   r   r(  r(  1  s)     Q"			q	!$r   r(  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)	r  i=  zDetails related to a Zypper Patch.

Fields:
  category: The category of the patch.
  patchName: The name of the patch.
  severity: The severity specified for this patch
  summary: Any summary information provided about this patch.
r   r   r   r4   r   N)r   r   r   r   r   r    r"   category	patchNameseveritysummaryr   r   r   r   r  r  =  sI     ""1%(##A&)""1%(!!!$'r   r  c                   `    \ rS rSrSr\R                  " SSSS9r\R                  " S5      r	Sr
g	)
ListInventoriesResponseiM  zA response message for listing inventory data for all VMs in a specified
location.

Fields:
  inventories: List of inventory objects.
  nextPageToken: The pagination token to retrieve the next page of inventory
    objects.
r   r   Tr   r   r   N)r   r   r   r   r   r    r   inventoriesr"   nextPageTokenr   r   r   r   r8  r8  M  s-     &&{AE+''*-r   r8  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
%ListOSPolicyAssignmentReportsResponsei[  a"  A response message for listing OS Policy assignment reports including
the page of results and page token.

Fields:
  nextPageToken: The pagination token to retrieve the next page of OS policy
    assignment report objects.
  osPolicyAssignmentReports: List of OS policy assignment reports.
r   OSPolicyAssignmentReportr   Tr   r   N)r   r   r   r   r   r    r"   r:  r   osPolicyAssignmentReportsr   r   r   r   r<  r<  [  s1     ''*-'445OQR]abr   r<  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
'ListOSPolicyAssignmentRevisionsResponseii  zA response message for listing all revisions for a OS policy assignment.

Fields:
  nextPageToken: The pagination token to retrieve the next page of OS policy
    assignment revisions.
  osPolicyAssignments: The OS policy assignment revisions
r   OSPolicyAssignmentr   Tr   r   Nr   r   r   r   r   r    r"   r:  r   osPolicyAssignmentsr   r   r   r   r@  r@  i  0     ''*-!../CQQUVr   r@  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
ListOSPolicyAssignmentsResponseiv  zA response message for listing all assignments under given parent.

Fields:
  nextPageToken: The pagination token to retrieve the next page of OS policy
    assignments.
  osPolicyAssignments: The list of assignments
r   rA  r   Tr   r   NrB  r   r   r   rF  rF  v  rD  r   rF  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
ListPatchDeploymentsResponsei  zA response message for listing patch deployments.

Fields:
  nextPageToken: A pagination token that can be used to get the next page of
    patch deployments.
  patchDeployments: The list of patch deployments.
r   PatchDeploymentr   Tr   r   N)r   r   r   r   r   r    r"   r:  r   patchDeploymentsr   r   r   r   rH  rH    s/     ''*-++,=q4Pr   rH  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
#ListPatchJobInstanceDetailsResponsei  zA response message for listing the instances details for a patch job.

Fields:
  nextPageToken: A pagination token that can be used to get the next page of
    results.
  patchJobInstanceDetails: A list of instance status.
r   PatchJobInstanceDetailsr   Tr   r   N)r   r   r   r   r   r    r"   r:  r   patchJobInstanceDetailsr   r   r   r   rL  rL    s0     ''*-%223LaZ^_r   rL  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
ListPatchJobsResponsei  zA response message for listing patch jobs.

Fields:
  nextPageToken: A pagination token that can be used to get the next page of
    results.
  patchJobs: The list of patch jobs.
r   PatchJobr   Tr   r   N)r   r   r   r   r   r    r"   r:  r   	patchJobsr   r   r   r   rP  rP    s-     ''*-$$ZTB)r   rP  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
 ListVulnerabilityReportsResponsei  a  A response message for listing vulnerability reports for all VM
instances in the specified location.

Fields:
  nextPageToken: The pagination token to retrieve the next page of
    vulnerabilityReports object.
  vulnerabilityReports: List of vulnerabilityReport objects.
r   VulnerabilityReportr   Tr   r   N)r   r   r   r   r   r    r"   r:  r   vulnerabilityReportsr   r   r   r   rT  rT    s0     ''*-"//0EqSWXr   rT  c                       \ rS rSrSrSrg)
MessageSeti  a  This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW
FIELDS. If you are using editions or proto2, please make your own extendable
messages for your use case. If you are using proto3, please use `Any`
instead. MessageSet was the implementation of extensions for proto1. When
proto2 was introduced, extensions were implemented as a first-class feature.
This schema for MessageSet was meant to be a "bridge" solution to migrate
MessageSet-bearing messages from proto1 to proto2. This schema has been
open-sourced only to facilitate the migration of Google products with
MessageSet-bearing messages to open-source environments.
r   Nr|   r   r   r   rX  rX    s    	r   rX  c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " SS5      rSrg)	MonthlySchedulei  a  Represents a monthly schedule. An example of a valid monthly schedule is
"on the third Tuesday of the month" or "on the 15th of the month".

Fields:
  monthDay: Required. One day of the month. 1-31 indicates the 1st to the
    31st day. -1 indicates the last day of the month. Months without the
    target day will be skipped. For example, a schedule to run "every month
    on the 31st" will not run in February, April, June, etc.
  weekDayOfMonth: Required. Week day in a month.
r   rc   WeekDayOfMonthr   r   N)r   r   r   r   r   r    r   rp   r   monthDayr   weekDayOfMonthr   r   r   r   rZ  rZ    s:    	 ##Ay/@/@/F/FG())*:A>.r   rZ  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S5      r\R                  " S5      r\R                  " SS5      r\R                  " S	S
SS9rSrg)OSPolicyi  a  An OS policy defines the desired state configuration for a VM.

Enums:
  ModeValueValuesEnum: Required. Policy mode

Fields:
  allowNoResourceGroupMatch: This flag determines the OS policy compliance
    status when none of the resource groups within the policy are applicable
    for a VM. Set this value to `true` if the policy needs to be reported as
    compliant even if the policy has nothing to validate or enforce.
  description: Policy description. Length of the description is limited to
    1024 characters.
  id: Required. The id of the OS policy with the following restrictions: *
    Must contain only lowercase letters, numbers, and hyphens. * Must start
    with a letter. * Must be between 1-63 characters. * Must end with a
    number or a letter. * Must be unique within the assignment.
  mode: Required. Policy mode
  resourceGroups: Required. List of resource groups for the policy. For a
    particular VM, resource groups are evaluated in the order specified and
    the first resource group that is applicable is selected and the rest are
    ignored. If none of the resource groups are applicable for a VM, the VM
    is considered to be non-compliant w.r.t this policy. This behavior can
    be toggled by the flag `allow_no_resource_group_match`
c                   $    \ rS rSrSrSrSrSrSrg)OSPolicy.ModeValueValuesEnumi  a  Required. Policy mode

Values:
  MODE_UNSPECIFIED: Invalid mode
  VALIDATION: 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.
  ENFORCEMENT: This mode checks if the configuration resources in the
    policy are in their desired state, and if not, enforces the desired
    state.
r   r   r   r   N)	r   r   r   r   r   MODE_UNSPECIFIED
VALIDATIONENFORCEMENTr   r   r   r   ModeValueValuesEnumra    s     JKr   re  r   r   r   r4   OSPolicyResourceGroupre   Tr   r   N)r   r   r   r   r   r    r!   re  r   allowNoResourceGroupMatchr"   r   r  r%   moder   resourceGroupsr   r   r   r   r_  r_    sr    2INN " (44Q7%%a(+Q"			2A	6$))*A1tT.r   r_  c                      \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      r\R                  " S	S
5      r\R                  " S5      r\R                  " SSSS9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " SS5      r\R,                  " SS5      r\R                  " S5      rSrg)rA  i  a	  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 about the OS policy resource definitions and
examples, see [OS policy and OS policy
assignment](https://cloud.google.com/compute/docs/os-configuration-
management/working-with-os-policies).

Enums:
  RolloutStateValueValuesEnum: Output only. OS policy assignment rollout
    state

Fields:
  baseline: Output only. Indicates that this revision has been successfully
    rolled out in this zone and new VMs will be assigned OS policies from
    this revision. For a given OS policy assignment, there is only one
    revision with a value of `true` for this field.
  deleted: Output only. Indicates that this revision deletes the OS policy
    assignment.
  description: OS policy assignment description. Length of the description
    is limited to 1024 characters.
  etag: The etag for this OS policy assignment. If this is provided on
    update, it must match the server's etag.
  instanceFilter: Required. Filter to select VMs.
  name: Resource name. Format: `projects/{project_number}/locations/{locatio
    n}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored
    when you create an OS policy assignment.
  osPolicies: Required. List of OS policies to be applied to the VMs.
  reconciling: Output only. Indicates that reconciliation is in progress for
    the revision. This value is `true` when the `rollout_state` is one of: *
    IN_PROGRESS * CANCELLING
  revisionCreateTime: Output only. The timestamp that the revision was
    created.
  revisionId: Output only. The assignment revision ID A new revision is
    committed whenever a rollout is triggered for a OS policy assignment
  rollout: Required. Rollout to deploy the OS policy assignment. A rollout
    is triggered in the following situations: 1) OSPolicyAssignment is
    created. 2) OSPolicyAssignment is updated and the update contains
    changes to one of the following fields: - instance_filter - os_policies
    3) OSPolicyAssignment is deleted.
  rolloutState: Output only. OS policy assignment rollout state
  uid: Output only. Server generated unique id for the OS policy assignment
    resource.
c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
.OSPolicyAssignment.RolloutStateValueValuesEnumi8  a  Output only. OS policy assignment rollout state

Values:
  ROLLOUT_STATE_UNSPECIFIED: Invalid value
  IN_PROGRESS: The rollout is in progress.
  CANCELLING: The rollout is being cancelled.
  CANCELLED: The rollout is cancelled.
  SUCCEEDED: The rollout has completed successfully.
r   r   r   r   r4   r   Nr   r   r   r   r   rl  8  r   r   r   r   r   r   r4    OSPolicyAssignmentInstanceFilterre   rf   r_  rg   Tr   rh   ri   rj   OSPolicyAssignmentRolloutrk         r   N)r   r   r   r   r   r    r!   r   r   baselinedeletedr"   r   etagr   r   r   
osPoliciesreconcilingrevisionCreateTime
revisionIdr   r%   r   uidr   r   r   r   rA  rA    s    -^INN   ##A&(""1%'%%a(+			q	!$))*LaP.			q	!$%%j!dC*&&q)+ ,,Q/$$R(*""#>C'$$%BBG,b!#r   rA  c                       \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	\R                  " SSSS9r
\R                  " S	S
SS9rSrg)rm  iW  a  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.

Fields:
  all: Target all VMs in the project. If true, no other criteria is
    permitted.
  exclusionLabels: 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.
  inclusionLabels: 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.
  inventories: List of inventories to select VMs. A VM is selected if its
    inventory data matches at least one of the following inventories.
r   OSPolicyAssignmentLabelSetr   Tr   r   )OSPolicyAssignmentInstanceFilterInventoryr4   r   N)r   r   r   r   r   r    r   allr   exclusionLabelsinclusionLabelsr9  r   r   r   r   rm  rm  W  s\    " 	q!#**+GUYZ/**+GUYZ/&&'RTU`de+r   rm  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r{  io  a[  VM inventory details.

Fields:
  osShortName: Required. The OS short name
  osVersion: 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.
r   r   r   N
r   r   r   r   r   r    r"   osShortName	osVersionr   r   r   r   r{  r{  o  )     %%a(+##A&)r   r{  c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " SS5      rSrg)	rz  i~  a  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.

Messages:
  LabelsValue: Labels are identified by key/value pairs in this map. A VM
    should contain all the key/value pairs specified in this map to be
    selected.

Fields:
  labels: Labels are identified by key/value pairs in this map. A VM should
    contain all the key/value pairs specified in this map to be selected.
r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
&OSPolicyAssignmentLabelSet.LabelsValuei  a%  Labels are identified by key/value pairs in this map. A VM should
contain all the key/value pairs specified in this map to be selected.

Messages:
  AdditionalProperty: An additional property for a LabelsValue object.

Fields:
  additionalProperties: Additional properties of type LabelsValue
c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)9OSPolicyAssignmentLabelSet.LabelsValue.AdditionalPropertyi  An additional property for a LabelsValue object.

Fields:
  key: Name of the additional property.
  value: A string attribute.
r   r   r   N
r   r   r   r   r   r    r"   r   r   r   r   r   r   r   r    )    
 !!!$c##A&er   r   r   Tr   r   Nr   r   r   r   LabelsValuer    2    	'Y.. 	' %112FTXYr   r  r   r   Nr   r   r   r   r   r   r   r    r   r  r   labelsr   r   r   r   rz  rz  ~  K    " !!"89ZI%% Z :Z0 !!-3&r   rz  c                   $   \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " S	5      r\R                  " SS
5      r\R                  " S5      rSrg)#OSPolicyAssignmentOperationMetadatai  r   c                   (    \ rS rSrSrSrSrSrSrSr	g)	<OSPolicyAssignmentOperationMetadata.ApiMethodValueValuesEnumi  r   r   r   r   r   r   Nr   r   r   r   r   r    r   r   r   c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
?OSPolicyAssignmentOperationMetadata.RolloutStateValueValuesEnumi  r   r   r   r   r   r4   r   Nr   r   r   r   r   r    r   r   r   r   r   r   r4   re   r   Nr   r   r   r   r  r    r   r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
\R                  " SSS	S
9r\R                  " S5      rSrg)r=  i  aV  A report of the OS policy assignment status for a given instance.

Fields:
  instance: The Compute Engine VM instance name.
  lastRunId: 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.
  name: The `OSPolicyAssignmentReport` API resource name. Format: `projects/
    {project_number}/locations/{location}/instances/{instance_id}/osPolicyAs
    signments/{os_policy_assignment_id}/report`
  osPolicyAssignment: Reference to the `OSPolicyAssignment` API resource
    that the `OSPolicy` belongs to. Format: `projects/{project_number}/locat
    ions/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id
    }`
  osPolicyCompliances: Compliance data for each `OSPolicy` that is applied
    to the VM.
  updateTime: Timestamp for when the report was last generated.
r   r   r   r4   *OSPolicyAssignmentReportOSPolicyCompliancere   Tr   rf   r   N)r   r   r   r   r   r    r"   instance	lastRunIdr   r   r   osPolicyCompliancesr   r   r   r   r   r=  r=    sr    , ""1%(##A&)			q	!$ ,,Q/!../[]^imn$$Q'*r   r=  c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " S5      r\R                  " S5      r\R                  " SS	S
S9rSrg)r  i  a  Compliance data for an OS policy

Enums:
  ComplianceStateValueValuesEnum: The compliance state of the OS policy.

Fields:
  complianceState: The compliance state of the OS policy.
  complianceStateReason: The reason for the OS policy to be in an unknown
    compliance state. This field is always populated when `compliance_state`
    is `UNKNOWN`. If populated, the field can contain one of the following
    values: * `vm-not-running`: The VM was not running. * `os-policies-not-
    supported-by-agent`: The version of the OS Config agent running on the
    VM does not support running OS policies. * `no-agent-detected`: The OS
    Config agent is not detected for the VM. * `resource-execution-errors`:
    The OS Config agent encountered errors while executing one or more
    resources in the policy. See `os_policy_resource_compliances` for
    details. * `task-timeout`: The task sent to the agent to apply the
    policy timed out. * `unexpected-agent-state`: The OS Config agent did
    not report the final status of the task that attempted to apply the
    policy. Instead, the agent unexpectedly started working on a different
    task. This mostly happens when the agent or VM unexpectedly restarts
    while applying OS policies. * `internal-service-errors`: Internal
    service errors were encountered while attempting to apply the policy. *
    `os-policy-execution-pending`: OS policy was assigned to the given VM,
    but was not executed yet. Typically this is a transient condition that
    will go away after the next policy execution cycle.
  osPolicyId: The OS policy id
  osPolicyResourceCompliances: Compliance data for each resource within the
    policy that is applied to the VM.
c                   $    \ rS rSrSrSrSrSrSrg)IOSPolicyAssignmentReportOSPolicyCompliance.ComplianceStateValueValuesEnumi"  a  The compliance state of the OS policy.

Values:
  UNKNOWN: 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.
  COMPLIANT: Policy is compliant. The policy is compliant if all the
    underlying resources are also compliant.
  NON_COMPLIANT: Policy is non-compliant. The policy is non-compliant if
    one or more underlying resources are non-compliant.
r   r   r   r   N	r   r   r   r   r   UNKNOWN	COMPLIANTNON_COMPLIANTr   r   r   r   ComplianceStateValueValuesEnumr  "  s    
 GIMr   r  r   r   r   DOSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliancer4   Tr   r   N)r   r   r   r   r   r    r!   r  r%   complianceStater"   complianceStateReason
osPolicyIdr   osPolicyResourceCompliancesr   r   r   r   r  r    sp    >y~~   ''(H!L/#//2$$Q'* ) 6 67}  @A  LP  !Qr   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " S5      r\R                  " SSS	S
9r\R                  " SS5      r\R                  " S5      rSrg)r  i8  a  Compliance data for an OS policy resource.

Enums:
  ComplianceStateValueValuesEnum: The compliance state of the resource.

Fields:
  complianceState: The compliance state of the resource.
  complianceStateReason: A reason for the resource to be in the given
    compliance state. This field is always populated when `compliance_state`
    is `UNKNOWN`. The following values are supported when `compliance_state
    == UNKNOWN` * `execution-errors`: Errors were encountered by the agent
    while executing the resource and the compliance state couldn't be
    determined. * `execution-skipped-by-agent`: Resource execution was
    skipped by the agent because errors were encountered while executing
    prior resources in the OS policy. * `os-policy-execution-attempt-
    failed`: The execution of the OS policy containing this resource failed
    and the compliance state couldn't be determined. * `os-policy-execution-
    pending`: OS policy that owns this resource was assigned to the given
    VM, but was not executed yet.
  configSteps: Ordered list of configuration completed by the agent for the
    OS policy resource.
  execResourceOutput: ExecResource specific output.
  osPolicyResourceId: The ID of the OS policy resource.
c                   $    \ rS rSrSrSrSrSrSrg)cOSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance.ComplianceStateValueValuesEnumiR  a7  The compliance state of the resource.

Values:
  UNKNOWN: 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.
  COMPLIANT: Resource is compliant.
  NON_COMPLIANT: Resource is non-compliant.
r   r   r   r   Nr  r   r   r   r  r  R  s     GIMr   r  r   r   ^OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStepr   Tr   VOSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutputr4   re   r   N)r   r   r   r   r   r    r!   r  r%   r  r"   r  r   configStepsexecResourceOutputosPolicyResourceIdr   r   r   r   r  r  8  s    2y~~  ''(H!L/#//2&&  (H  JK  VZ  [+ --  /G  IJ  K ,,Q/r   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)r  ig  zExecResource specific output.

Fields:
  enforcementOutput: Output from enforcement phase output file (if run).
    Output size is limited to 100K bytes.
r   r   N)	r   r   r   r   r   r    
BytesFieldenforcementOutputr   r   r   r   r  r  g  s      **1-r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      rSrg)	r  ir  a\  Step performed by the OS Config agent for configuring an `OSPolicy`
resource to its desired state.

Enums:
  TypeValueValuesEnum: Configuration step type.

Fields:
  errorMessage: An error message recorded during the execution of this step.
    Only populated if errors were encountered during this step execution.
  type: Configuration step type.
c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
rOSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep.TypeValueValuesEnumi  a  Configuration step type.

Values:
  TYPE_UNSPECIFIED: Default value. This value is unused.
  VALIDATION: Checks for resource conflicts such as schema errors.
  DESIRED_STATE_CHECK: Checks the current status of the desired state for
    a resource.
  DESIRED_STATE_ENFORCEMENT: Enforces the desired state for a resource
    that is not in desired state.
  DESIRED_STATE_CHECK_POST_ENFORCEMENT: 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.
r   r   r   r   r4   r   N)r   r   r   r   r   r   rc  DESIRED_STATE_CHECKDESIRED_STATE_ENFORCEMENT$DESIRED_STATE_CHECK_POST_ENFORCEMENTr   r   r   r   r   r    s&      J !+,(r   r   r   r   r   N)r   r   r   r   r   r    r!   r   r"   errorMessager%   r&   r   r   r   r   r  r  r  s<    
-INN -. &&q),			2A	6$r   r  c                   b    \ rS rSrSr\R                  " SS5      r\R                  " S5      r	Sr
g)rn  i  a  Message to configure the rollout at the zonal level for the OS policy
assignment.

Fields:
  disruptionBudget: Required. The maximum number (or percentage) of VMs per
    zone to disrupt at any given moment.
  minWaitDuration: 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.
r   r   r   r   N)r   r   r   r   r   r    r   disruptionBudgetr"   minWaitDurationr   r   r   r   rn  rn    s-     ++,<a@))!,/r   rn  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)OSPolicyInventoryFilteri  a  Filtering criteria to select VMs based on inventory details.

Fields:
  osShortName: Required. The OS short name
  osVersion: 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.
r   r   r   Nr  r   r   r   r  r    r  r   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " SS5      r\R                  " S5      r
\R                  " SS	5      r\R                  " S
S5      rSrg)OSPolicyResourcei  a  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.

Fields:
  exec_: Exec resource
  file: File resource
  id: 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.
  pkg: Package resource
  repository: Package repository resource
OSPolicyResourceExecResourcer   OSPolicyResourceFileResourcer   r   OSPolicyResourcePackageResourcer4   "OSPolicyResourceRepositoryResourcere   r   N)r   r   r   r   r   r    r   exec_filer"   r  pkg
repositoryr   r   r   r   r  r    se    " 
 
 !?
C%			 >	B$Q"@!D#%%&JAN*r   r  c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)r  i  a  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.

Fields:
  enforce: 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.
  validate: 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.
 OSPolicyResourceExecResourceExecr   r   r   N)
r   r   r   r   r   r    r   enforcevalidater   r   r   r   r  r    s/    < ""#EqI'##$FJ(r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " SSS9r	\R                  " SS	5      r\R                  " SS
5      r\R                  " S5      r\R                  " S5      rSrg)r  i  a  A file or script to execute.

Enums:
  InterpreterValueValuesEnum: Required. The script interpreter to use.

Fields:
  args: Optional arguments to pass to the source during execution.
  file: A remote or local file.
  interpreter: Required. The script interpreter to use.
  outputFilePath: Only recorded for enforce Exec. Path to an output file
    (that is created by this Exec) whose content will be recorded in
    OSPolicyResourceCompliance after a successful run. Absence or failure to
    read this file will result in this ExecResource being non-compliant.
    Output file size is limited to 500K bytes.
  script: An inline script. The size of the script is limited to 32KiB.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	;OSPolicyResourceExecResourceExec.InterpreterValueValuesEnumi	  a  Required. The script interpreter to use.

Values:
  INTERPRETER_UNSPECIFIED: Invalid value, the request will return
    validation error.
  NONE: 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.
  SHELL: Indicates that the script runs with `/bin/sh` on Linux and
    `cmd.exe` on Windows.
  POWERSHELL: Indicates that the script runs with PowerShell.
r   r   r   r   r   Nr   r   r   r   r   r  	  s      DEJr   r   r   Tr   OSPolicyResourceFiler   r   r4   re   r   N)r   r   r   r   r   r    r!   r   r"   argsr   r  r%   r   outputFilePathscriptr   r   r   r   r  r    sq    "9>> $ 
		q4	0$			 6	:$##$@!D+((+.  #&r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r\R                  " SS5      rS	rg
)r  i"  af  A remote or local file.

Fields:
  allowInsecure: 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.
  gcs: A Cloud Storage object.
  localPath: A local path within the VM to use.
  remote: A generic remote file.
r   OSPolicyResourceFileGcsr   r   OSPolicyResourceFileRemoter4   r   N)r   r   r   r   r   r    r   allowInsecurer   gcsr"   r   remoter   r   r   r   r  r  "  sO    	 ((+-8!<###A&)!!">B&r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)r  i4  zSpecifies a file available as a Cloud Storage Object.

Fields:
  bucket: Required. Bucket of the Cloud Storage object.
  generation: Generation number of the Cloud Storage object.
  object: Required. Name of the Cloud Storage object.
r   r   r   r   N)r   r   r   r   r   r    r"   r   r   
generationr   r   r   r   r   r  r  4  s9       #&%%a(*  #&r   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r  iB  zSpecifies a file available via some URI.

Fields:
  sha256Checksum: SHA256 checksum of the remote file.
  uri: Required. URI from which to fetch the object. It should contain both
    the protocol and path following the format `{protocol}://{location}`.
r   r   r   N)
r   r   r   r   r   r    r"   sha256Checksumurir   r   r   r   r  r  B  s)     ((+.a #r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      r\R                  " S5      r\R                  " S	5      r\R                  " SS
5      rSrg)r  iO  a  A resource that manages the state of a file.

Enums:
  StateValueValuesEnum: Required. Desired state of the file.

Fields:
  content: A a file with this content. The size of the content is limited to
    32KiB.
  file: A remote or local source.
  path: Required. The absolute path of the file within the VM.
  permissions: Consists of three octal digits which represent, in order, the
    permissions of the owner, group, and other users for the file (similarly
    to the numeric mode used in the linux chmod utility). Each digit
    represents a three bit number with the 4 bit corresponding to the read
    permissions, the 2 bit corresponds to the write bit, and the one bit
    corresponds to the execute permission. Default behavior is 755. Below
    are some examples of permissions and their associated values: read,
    write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
  state: Required. Desired state of the file.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	1OSPolicyResourceFileResource.StateValueValuesEnumie  a-  Required. Desired state of the file.

Values:
  DESIRED_STATE_UNSPECIFIED: Unspecified is invalid.
  PRESENT: Ensure file at path is present.
  ABSENT: Ensure file at path is absent.
  CONTENTS_MATCH: Ensure the contents of the file at path matches. If the
    file does not exist it will be created.
r   r   r   r   r   N)
r   r   r   r   r   DESIRED_STATE_UNSPECIFIEDPRESENTABSENTCONTENTS_MATCHr   r   r   r   StateValueValuesEnumr  e  s     !"GFNr   r  r   r  r   r   r4   re   r   N)r   r   r   r   r   r    r!   r  r"   contentr   r  pathpermissionsr%   stater   r   r   r   r  r  O  so    *Y^^  !!!$'			 6	:$			q	!$%%a(+


4a
8%r   r  c                   `    \ rS rSrSr\R                  " SSSS9r\R                  " SSSS9rS	r	g
)rf  i{  a:  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.

Fields:
  inventoryFilters: 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.
  resources: Required. List of resources configured for this resource group.
    The resources are executed in the exact order specified here.
r  r   Tr   r  r   r   N)
r   r   r   r   r   r    r   inventoryFilters	resourcesr   r   r   r   rf  rf  {  s5    & ++,EqSWX$$%7TJ)r   rf  c                   r   \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SS5      r
\R                  " SS	5      r\R                  " S
S5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      rSrg)r  i  a  A resource that manages a system package.

Enums:
  DesiredStateValueValuesEnum: Required. The desired state the agent should
    maintain for this package.

Fields:
  apt: A package managed by Apt.
  deb: A deb package file.
  desiredState: Required. The desired state the agent should maintain for
    this package.
  googet: A package managed by GooGet.
  msi: An MSI package.
  rpm: An rpm package file.
  yum: A package managed by YUM.
  zypper: A package managed by Zypper.
c                   $    \ rS rSrSrSrSrSrSrg);OSPolicyResourcePackageResource.DesiredStateValueValuesEnumi  a  Required. The desired state the agent should maintain for this
package.

Values:
  DESIRED_STATE_UNSPECIFIED: Unspecified is invalid.
  INSTALLED: Ensure that the package is installed.
  REMOVED: The agent ensures that the package is not installed and
    uninstalls it if detected.
r   r   r   r   N)	r   r   r   r   r   r  	INSTALLEDREMOVEDr   r   r   r   DesiredStateValueValuesEnumr    s     !"IGr   r  "OSPolicyResourcePackageResourceAPTr   "OSPolicyResourcePackageResourceDebr   r   %OSPolicyResourcePackageResourceGooGetr4   "OSPolicyResourcePackageResourceMSIre   "OSPolicyResourcePackageResourceRPMrf   "OSPolicyResourcePackageResourceYUMrg   %OSPolicyResourcePackageResourceZypperrh   r   N)r   r   r   r   r   r    r!   r  r   aptdebr%   desiredStategoogetmsirpmyumzypperr   r   r   r   r  r    s    $INN  	CQG#CQG#$$%BAF,!!"I1M&CQG#CQG#CQG#!!"I1M&r   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)r  i  zA package managed by APT. - install: `apt-get update && apt-get -y
install [name]` - remove: `apt-get -y remove [name]`

Fields:
  name: Required. Package name.
r   r   N	r   r   r   r   r   r    r"   r   r   r   r   r   r  r         
		q	!$r   r  c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)r  i  a  A deb package file. dpkg packages only support INSTALLED state.

Fields:
  pullDeps: Whether dependencies should also be installed. - install when
    false: `dpkg -i package` - install when true: `apt-get update && apt-get
    -y install package.deb`
  source: Required. A deb package.
r   r  r   r   Nr   r   r   r   r   r    r   pullDepsr   sourcer   r   r   r   r  r    ,     ##A&(!!"8!<&r   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)r  i  zA package managed by GooGet. - install: `googet -noconfirm install
package` - remove: `googet -noconfirm remove package`

Fields:
  name: Required. Package name.
r   r   Nr  r   r   r   r  r    r  r   r  c                   `    \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	Sr
g	)
r  i  a'  An MSI package. MSI packages only support INSTALLED state.

Fields:
  properties: Additional properties to use during installation. This should
    be in the format of Property=Setting. Appended to the defaults of
    `ACTION=INSTALL REBOOT=ReallySuppress`.
  source: Required. The MSI package.
r   Tr   r  r   r   N)r   r   r   r   r   r    r"   
propertiesr   r
  r   r   r   r   r  r    s.     $$Q6*!!"8!<&r   r  c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)r  i  aE  An RPM package file. RPM packages only support INSTALLED state.

Fields:
  pullDeps: 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`
  source: Required. An rpm package.
r   r  r   r   Nr  r   r   r   r  r    r  r   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)r  i  zA package managed by YUM. - install: `yum -y install package` - remove:
`yum -y remove package`

Fields:
  name: Required. Package name.
r   r   Nr  r   r   r   r  r    r  r   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)r  i	  zA package managed by Zypper. - install: `zypper -y install package` -
remove: `zypper -y rm package`

Fields:
  name: Required. Package name.
r   r   Nr  r   r   r   r  r  	  r  r   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r	\R                  " S	S
5      r
Srg)r  i  zA resource that manages a package repository.

Fields:
  apt: An Apt Repository.
  goo: A Goo Repository.
  yum: A Yum Repository.
  zypper: A Zypper Repository.
/OSPolicyResourceRepositoryResourceAptRepositoryr   /OSPolicyResourceRepositoryResourceGooRepositoryr   /OSPolicyResourceRepositoryResourceYumRepositoryr   2OSPolicyResourceRepositoryResourceZypperRepositoryr4   r   N)r   r   r   r   r   r    r   r  goor  r  r   r   r   r   r  r    sY     	PRST#PRST#PRST#!!"VXYZ&r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SSS9r\R                  " S	5      r\R                  " S
5      r\R                  " S5      rSrg)r  i$  a  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`.

Enums:
  ArchiveTypeValueValuesEnum: Required. Type of archive files in this
    repository.

Fields:
  archiveType: Required. Type of archive files in this repository.
  components: Required. List of components for this repository. Must contain
    at least one item.
  distribution: Required. Distribution of this repository.
  gpgKey: URI of the key file for this repository. The agent maintains a
    keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
  uri: Required. URI for this repository.
c                   $    \ rS rSrSrSrSrSrSrg)JOSPolicyResourceRepositoryResourceAptRepository.ArchiveTypeValueValuesEnumi7  zRequired. Type of archive files in this repository.

Values:
  ARCHIVE_TYPE_UNSPECIFIED: Unspecified is invalid.
  DEB: Deb indicates that the archive contains binary files.
  DEB_SRC: Deb-src indicates that the archive contains source files.
r   r   r   r   N)	r   r   r   r   r   ARCHIVE_TYPE_UNSPECIFIEDDEBDEB_SRCr   r   r   r   ArchiveTypeValueValuesEnumr  7  s      !
CGr   r  r   r   Tr   r   r4   re   r   N)r   r   r   r   r   r    r!   r  r%   archiveTyper"   
componentsdistributiongpgKeyr  r   r   r   r   r  r  $  sn    $
9>> 
 ##$@!D+$$Q6*&&q),  #&a #r   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r  iJ  zRepresents a Goo package repository. These are added to a repo file that
is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.

Fields:
  name: Required. The name of the repository.
  url: Required. The url of the repository.
r   r   r   N)
r   r   r   r   r   r    r"   r   urlr   r   r   r   r  r  J  s)     
		q	!$a #r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SSS9r	\R                  " S5      r
S	rg
)r  iW  a#  Represents a single yum package repository. These are added to a repo
file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.

Fields:
  baseUrl: Required. The location of the repository directory.
  displayName: The display name of the repository.
  gpgKeys: URIs of GPG keys.
  id: 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.
r   r   r   Tr   r4   r   Nr   r   r   r   r   r    r"   baseUrlr   gpgKeysr  r   r   r   r   r  r  W  K     !!!$'%%a(+!!!d3'Q"r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SSS9r	\R                  " S5      r
S	rg
)r  ik  a-  Represents a single zypper package repository. These are added to a repo
file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.

Fields:
  baseUrl: Required. The location of the repository directory.
  displayName: The display name of the repository.
  gpgKeys: URIs of GPG keys.
  id: 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.
r   r   r   Tr   r4   r   Nr&  r   r   r   r  r  k  r)  r   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)OneTimeSchedulei  zSets the time for a one time patch deployment. Timestamp is in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.

Fields:
  executeTime: Required. The desired patch job execution time.
r   r   N)	r   r   r   r   r   r    r"   executeTimer   r   r   r   r,  r,    s     %%a(+r   r,  c                   z   \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S5       " S S\R                  5      5       r
\R                  " S5      r\R                  " S	S
5      r\R                  " SS5      r\R                   " S5      r\R                  " SS5      rSrg)	Operationi  a  This resource represents a long-running operation that is the result of
a network API call.

Messages:
  MetadataValue: Service-specific metadata associated with the operation. It
    typically contains progress information and common metadata such as
    create time. Some services might not provide such metadata. Any method
    that returns a long-running operation should document the metadata type,
    if any.
  ResponseValue: The normal, successful response of the operation. If the
    original method returns no data on success, such as `Delete`, the
    response is `google.protobuf.Empty`. If the original method is standard
    `Get`/`Create`/`Update`, the response should be the resource. For other
    methods, the response should have the type `XxxResponse`, where `Xxx` is
    the original method name. For example, if the original method name is
    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

Fields:
  done: If the value is `false`, it means the operation is still in
    progress. If `true`, the operation is completed, and either `error` or
    `response` is available.
  error: The error result of the operation in case of failure or
    cancellation.
  metadata: Service-specific metadata associated with the operation. It
    typically contains progress information and common metadata such as
    create time. Some services might not provide such metadata. Any method
    that returns a long-running operation should document the metadata type,
    if any.
  name: The server-assigned name, which is only unique within the same
    service that originally returns it. If you use the default HTTP mapping,
    the `name` should be a resource name ending with
    `operations/{unique_id}`.
  response: The normal, successful response of the operation. If the
    original method returns no data on success, such as `Delete`, the
    response is `google.protobuf.Empty`. If the original method is standard
    `Get`/`Create`/`Update`, the response should be the resource. For other
    methods, the response should have the type `XxxResponse`, where `Xxx` is
    the original method name. For example, if the original method name is
    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
Operation.MetadataValuei  a  Service-specific metadata associated with the operation. It typically
contains progress information and common metadata such as create time.
Some services might not provide such metadata. Any method that returns a
long-running operation should document the metadata type, if any.

Messages:
  AdditionalProperty: An additional property for a MetadataValue object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)*Operation.MetadataValue.AdditionalPropertyi  zAn additional property for a MetadataValue object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   extra_types.JsonValuer   r   Nr   r   r   r   r   r3    ,    
 !!!$c$$%<a@er   r   r   Tr   r   Nr   r   r   r   MetadataValuer1    s4    	AY.. 	A %112FTXYr   r6  c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
Operation.ResponseValuei  a  The normal, successful response of the operation. If the original
method returns no data on success, such as `Delete`, the response is
`google.protobuf.Empty`. If the original method is standard
`Get`/`Create`/`Update`, the response should be the resource. For other
methods, the response should have the type `XxxResponse`, where `Xxx` is
the original method name. For example, if the original method name is
`TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

Messages:
  AdditionalProperty: An additional property for a ResponseValue object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)*Operation.ResponseValue.AdditionalPropertyi  zAn additional property for a ResponseValue object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   r4  r   r   Nr   r   r   r   r   r:    r5  r   r   r   Tr   r   Nr   r   r   r   ResponseValuer8    s4     	AY.. 	A %112FTXYr   r;  r   Statusr   r   r4   re   r   N)r   r   r   r   r   r   r   r    r   r6  r;  r   doner   errormetadatar"   r   responser   r   r   r   r/  r/    s    'R !!"89Zi'' Z :Z6 !!"89Zi'' Z :Z< 
			"$

 
 1
-%##OQ7(			q	!$##OQ7(r   r/  c                   :    \ rS rSrSr\R                  " SSS9rSrg)?OsconfigProjectsLocationsGlobalGetProjectFeatureSettingsRequesti  zA OsconfigProjectsLocationsGlobalGetProjectFeatureSettingsRequest
object.

Fields:
  name: Required. Name specifies the URL for the ProjectFeatureSettings
    resource: projects/project_id/locations/global/projectFeatureSettings.
r   Trequiredr   Nr  r   r   r   rB  rB         
		q4	0$r   rB  c                       \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	\R                  " S5      r
S	rg
)BOsconfigProjectsLocationsGlobalUpdateProjectFeatureSettingsRequesti  a  A OsconfigProjectsLocationsGlobalUpdateProjectFeatureSettingsRequest
object.

Fields:
  name: Required. Immutable. Name specifies the URL for the
    ProjectFeatureSettings resource:
    projects/project_id/locations/global/projectFeatureSettings.
  projectFeatureSettings: A ProjectFeatureSettings resource to be passed as
    the request body.
  updateMask: Optional. Field mask that controls which fields of the
    ProjectFeatureSettings should be updated.
r   TrC  ProjectFeatureSettingsr   r   r   N)r   r   r   r   r   r    r"   r   r   projectFeatureSettings
updateMaskr   r   r   r   rG  rG    s?     
		q4	0$$112JAN$$Q'*r   rG  c                       \ rS rSrSr " S S\R                  5      r\R                  " SSS9r	\R                  " SS5      rS	rg
)7OsconfigProjectsLocationsInstancesInventoriesGetRequesti  a  A OsconfigProjectsLocationsInstancesInventoriesGetRequest object.

Enums:
  ViewValueValuesEnum: Inventory view indicating what information should be
    included in the inventory resource. If unspecified, the default view is
    BASIC.

Fields:
  name: 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.
  view: Inventory view indicating what information should be included in the
    inventory resource. If unspecified, the default view is BASIC.
c                   $    \ rS rSrSrSrSrSrSrg)KOsconfigProjectsLocationsInstancesInventoriesGetRequest.ViewValueValuesEnumi'  L  Inventory view indicating what information should be included in the
inventory resource. If unspecified, the default view is BASIC.

Values:
  INVENTORY_VIEW_UNSPECIFIED: The default value. The API defaults to the
    BASIC view.
  BASIC: Returns the basic inventory information that includes `os_info`.
  FULL: Returns all fields.
r   r   r   r   N	r   r   r   r   r   INVENTORY_VIEW_UNSPECIFIEDBASICFULLr   r   r   r   ViewValueValuesEnumrN  '       "#EDr   rT  r   TrC  r   r   N)r   r   r   r   r   r    r!   rT  r"   r   r%   viewr   r   r   r   rL  rL    s>    "INN  
		q4	0$			2A	6$r   rL  c                      \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " S	S
S9r\R                   " SS5      rSrg)8OsconfigProjectsLocationsInstancesInventoriesListRequesti9  a  A OsconfigProjectsLocationsInstancesInventoriesListRequest object.

Enums:
  ViewValueValuesEnum: Inventory view indicating what information should be
    included in the inventory resource. If unspecified, the default view is
    BASIC.

Fields:
  filter: If provided, this field specifies the criteria that must be met by
    a `Inventory` API resource to be included in the response.
  pageSize: The maximum number of results to return.
  pageToken: A pagination token returned from a previous call to
    `ListInventories` that indicates where this listing should continue
    from.
  parent: Required. The parent resource name. Format:
    `projects/{project}/locations/{location}/instances/-` For `{project}`,
    either `project-number` or `project-id` can be provided.
  view: Inventory view indicating what information should be included in the
    inventory resource. If unspecified, the default view is BASIC.
c                   $    \ rS rSrSrSrSrSrSrg)LOsconfigProjectsLocationsInstancesInventoriesListRequest.ViewValueValuesEnumiO  rO  r   r   r   r   NrP  r   r   r   rT  rZ  O  rU  r   rT  r   r   rc   r   r4   TrC  re   r   N)r   r   r   r   r   r    r!   rT  r"   filterr   rp   r   pageSize	pageTokenparentr%   rV  r   r   r   r   rX  rX  9  s|    *INN    #&##Ay/@/@/F/FG(##A&)  T2&			2A	6$r   rX  c                   :    \ rS rSrSr\R                  " SSS9rSrg)FOsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsGetRequestid  a  A OsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsGetRequest
object.

Fields:
  name: Required. API resource name for OS policy assignment report. Format:
    `/projects/{project}/locations/{location}/instances/{instance}/osPolicyA
    ssignments/{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.
r   TrC  r   Nr  r   r   r   r`  r`  d  s    
 
		q4	0$r   r`  c                       \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " SSS	9rS
rg)GOsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsListRequestit  a  A
OsconfigProjectsLocationsInstancesOsPolicyAssignmentsReportsListRequest
object.

Fields:
  filter: If provided, this field specifies the criteria that must be met by
    the `OSPolicyAssignmentReport` API resource that is included in the
    response.
  pageSize: The maximum number of results to return.
  pageToken: A pagination token returned from a previous call to the
    `ListOSPolicyAssignmentReports` method that indicates where this listing
    should continue from.
  parent: Required. The parent resource name. Format: `projects/{project}/lo
    cations/{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/{lo
    cation}/instances/{instance}/osPolicyAssignments/-/reports` returns all
    reports for the instance `projects/{project}/locations/{location}/instan
    ces/-/osPolicyAssignments/{assignment-id}/reports` returns all the
    reports for the given assignment across all instances. `projects/{projec
    t}/locations/{location}/instances/-/osPolicyAssignments/-/reports`
    returns all the reports for all assignments across all instances.
r   r   rc   r   r4   TrC  r   Nr   r   r   r   r   r    r"   r[  r   rp   r   r\  r]  r^  r   r   r   r   rb  rb  t  sY    <   #&##Ay/@/@/F/FG(##A&)  T2&r   rb  c                   :    \ rS rSrSr\R                  " SSS9rSrg)@OsconfigProjectsLocationsInstancesVulnerabilityReportsGetRequesti  a  A OsconfigProjectsLocationsInstancesVulnerabilityReportsGetRequest
object.

Fields:
  name: Required. API resource name for vulnerability resource. Format: `pro
    jects/{project}/locations/{location}/instances/{instance}/vulnerabilityR
    eport` For `{project}`, either `project-number` or `project-id` can be
    provided. For `{instance}`, either Compute Engine `instance-id` or
    `instance-name` can be provided.
r   TrC  r   Nr  r   r   r   re  re    s    	 
		q4	0$r   re  c                       \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " SSS	9rS
rg)AOsconfigProjectsLocationsInstancesVulnerabilityReportsListRequesti  a/  A OsconfigProjectsLocationsInstancesVulnerabilityReportsListRequest
object.

Fields:
  filter: This field supports filtering by the severity level for the
    vulnerability. For a list of severity levels, see [Severity levels for
    vulnerabilities](https://cloud.google.com/container-
    analysis/docs/container-scanning-
    overview#severity_levels_for_vulnerabilities). The filter field follows
    the rules described in the [AIP-160](https://google.aip.dev/160)
    guidelines as follows: + **Filter for a specific severity type**: you
    can list reports that contain vulnerabilities that are classified as
    medium by specifying `vulnerabilities.details.severity:MEDIUM`. +
    **Filter for a range of severities** : you can list reports that have
    vulnerabilities that are classified as critical or high by specifying
    `vulnerabilities.details.severity:HIGH OR
    vulnerabilities.details.severity:CRITICAL`
  pageSize: The maximum number of results to return.
  pageToken: A pagination token returned from a previous call to
    `ListVulnerabilityReports` that indicates where this listing should
    continue from.
  parent: Required. The parent resource name. Format:
    `projects/{project}/locations/{location}/instances/-` For `{project}`,
    either `project-number` or `project-id` can be provided.
r   r   rc   r   r4   TrC  r   Nrc  r   r   r   rg  rg    sY    4   #&##Ay/@/@/F/FG(##A&)  T2&r   rg  c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " SSS9r
\R                  " S	5      rS
rg)9OsconfigProjectsLocationsOsPolicyAssignmentsCreateRequesti  aa  A OsconfigProjectsLocationsOsPolicyAssignmentsCreateRequest object.

Fields:
  oSPolicyAssignment: A OSPolicyAssignment resource to be passed as the
    request body.
  osPolicyAssignmentId: 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.
  parent: Required. The parent resource name in the form:
    projects/{project}/locations/{location}. Note: Specify the zone of your
    VMs as the location.
  requestId: Optional. A unique identifier for this request. Restricted to
    36 ASCII characters. A random UUID is recommended. This request is only
    idempotent if a `request_id` is provided.
rA  r   r   r   TrC  r4   r   N)r   r   r   r   r   r    r   oSPolicyAssignmentr"   osPolicyAssignmentIdr^  	requestIdr   r   r   r   ri  ri    sP    $ !--.BAF"..q1  T2&##A&)r   ri  c                   ^    \ rS rSrSr\R                  " SSS9r\R                  " S5      rSr	g)	9OsconfigProjectsLocationsOsPolicyAssignmentsDeleteRequesti  aW  A OsconfigProjectsLocationsOsPolicyAssignmentsDeleteRequest object.

Fields:
  name: Required. The name of the OS policy assignment to be deleted
  requestId: Optional. A unique identifier for this request. Restricted to
    36 ASCII characters. A random UUID is recommended. This request is only
    idempotent if a `request_id` is provided.
r   TrC  r   r   N)
r   r   r   r   r   r    r"   r   rl  r   r   r   r   rn  rn    s+     
		q4	0$##A&)r   rn  c                   :    \ rS rSrSr\R                  " SSS9rSrg)6OsconfigProjectsLocationsOsPolicyAssignmentsGetRequesti  zA OsconfigProjectsLocationsOsPolicyAssignmentsGetRequest object.

Fields:
  name: Required. The resource name of OS policy assignment. Format: `projec
    ts/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignm
    ent}@{revisionId}`
r   TrC  r   Nr  r   r   r   rp  rp    rE  r   rp  c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S5      r\R                  " SSS9rS	rg
)7OsconfigProjectsLocationsOsPolicyAssignmentsListRequesti  aM  A OsconfigProjectsLocationsOsPolicyAssignmentsListRequest object.

Fields:
  pageSize: The maximum number of assignments to return.
  pageToken: A pagination token returned from a previous call to
    `ListOSPolicyAssignments` that indicates where this listing should
    continue from.
  parent: Required. The parent resource name.
r   rc   r   r   TrC  r   Nr   r   r   r   r   r    r   rp   r   r\  r"   r]  r^  r   r   r   r   rr  rr    sI     ##Ay/@/@/F/FG(##A&)  T2&r   rr  c                       \ rS rSrSr\R                  " SSS9r\R                  " S\R                  R                  S9r\R                  " S5      rS	rg
)@OsconfigProjectsLocationsOsPolicyAssignmentsListRevisionsRequesti	  a  A OsconfigProjectsLocationsOsPolicyAssignmentsListRevisionsRequest
object.

Fields:
  name: Required. The name of the OS policy assignment to list revisions
    for.
  pageSize: The maximum number of revisions to return.
  pageToken: A pagination token returned from a previous call to
    `ListOSPolicyAssignmentRevisions` that indicates where this listing
    should continue from.
r   TrC  r   rc   r   r   N)r   r   r   r   r   r    r"   r   r   rp   r   r\  r]  r   r   r   r   ru  ru  	  sI    
 
		q4	0$##Ay/@/@/F/FG(##A&)r   ru  c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
COsconfigProjectsLocationsOsPolicyAssignmentsOperationsCancelRequesti	  zA OsconfigProjectsLocationsOsPolicyAssignmentsOperationsCancelRequest
object.

Fields:
  cancelOperationRequest: A CancelOperationRequest resource to be passed as
    the request body.
  name: The name of the operation resource to be cancelled.
r{   r   r   TrC  r   N)r   r   r   r   r   r    r   cancelOperationRequestr"   r   r   r   r   r   rw  rw  	  s/     %112JAN			q4	0$r   rw  c                   :    \ rS rSrSr\R                  " SSS9rSrg)@OsconfigProjectsLocationsOsPolicyAssignmentsOperationsGetRequesti,	  zA OsconfigProjectsLocationsOsPolicyAssignmentsOperationsGetRequest
object.

Fields:
  name: The name of the operation resource.
r   TrC  r   Nr  r   r   r   rz  rz  ,	       
		q4	0$r   rz  c                       \ rS rSrSr\R                  " S5      r\R                  " SSS9r	\R                  " SS5      r\R                  " S	5      r\R                  " S
5      rSrg)8OsconfigProjectsLocationsOsPolicyAssignmentsPatchRequesti7	  aN  A OsconfigProjectsLocationsOsPolicyAssignmentsPatchRequest object.

Fields:
  allowMissing: Optional. If set to true, and the OS policy assignment is
    not found, a new OS policy assignment will be created. In this
    situation, `update_mask` is ignored.
  name: Resource name. Format: `projects/{project_number}/locations/{locatio
    n}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored
    when you create an OS policy assignment.
  oSPolicyAssignment: A OSPolicyAssignment resource to be passed as the
    request body.
  requestId: Optional. A unique identifier for this request. Restricted to
    36 ASCII characters. A random UUID is recommended. This request is only
    idempotent if a `request_id` is provided.
  updateMask: Optional. Field mask that controls which fields of the
    assignment should be updated.
r   r   TrC  rA  r   r4   re   r   N)r   r   r   r   r   r    r   allowMissingr"   r   r   rj  rl  rJ  r   r   r   r   r}  r}  7	  s_    $ ''*,			q4	0$ --.BAF##A&)$$Q'*r   r}  c                       \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	\R                  " S5      r
S	rg
)-OsconfigProjectsPatchDeploymentsCreateRequestiQ	  aK  A OsconfigProjectsPatchDeploymentsCreateRequest object.

Fields:
  parent: Required. The project to apply this patch deployment to in the
    form `projects/*`.
  patchDeployment: A PatchDeployment resource to be passed as the request
    body.
  patchDeploymentId: 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.
r   TrC  rI  r   r   r   N)r   r   r   r   r   r    r"   r^  r   patchDeploymentpatchDeploymentIdr   r   r   r   r  r  Q	  s?       T2&**+<a@/++A.r   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg)-OsconfigProjectsPatchDeploymentsDeleteRequestie	  zA OsconfigProjectsPatchDeploymentsDeleteRequest object.

Fields:
  name: Required. The resource name of the patch deployment in the form
    `projects/*/patchDeployments/*`.
r   TrC  r   Nr  r   r   r   r  r  e	  r{  r   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg)*OsconfigProjectsPatchDeploymentsGetRequestip	  zA OsconfigProjectsPatchDeploymentsGetRequest object.

Fields:
  name: Required. The resource name of the patch deployment in the form
    `projects/*/patchDeployments/*`.
r   TrC  r   Nr  r   r   r   r  r  p	  r{  r   r  c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S5      r\R                  " SSS9rS	rg
)+OsconfigProjectsPatchDeploymentsListRequesti{	  a  A OsconfigProjectsPatchDeploymentsListRequest object.

Fields:
  pageSize: Optional. The maximum number of patch deployments to return.
    Default is 100.
  pageToken: Optional. A pagination token returned from a previous call to
    ListPatchDeployments that indicates where this listing should continue
    from.
  parent: Required. The resource name of the parent in the form
    `projects/*`.
r   rc   r   r   TrC  r   Nrs  r   r   r   r  r  {	  sI    
 ##Ay/@/@/F/FG(##A&)  T2&r   r  c                       \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	\R                  " S5      r
S	rg
),OsconfigProjectsPatchDeploymentsPatchRequesti	  a  A OsconfigProjectsPatchDeploymentsPatchRequest object.

Fields:
  name: Unique name for the patch deployment resource in a project. The
    patch deployment name is in the form:
    `projects/{project_id}/patchDeployments/{patch_deployment_id}`. This
    field is ignored when you create a new patch deployment.
  patchDeployment: A PatchDeployment resource to be passed as the request
    body.
  updateMask: Optional. Field mask that controls which fields of the patch
    deployment should be updated.
r   TrC  rI  r   r   r   N)r   r   r   r   r   r    r"   r   r   r  rJ  r   r   r   r   r  r  	  s>     
		q4	0$**+<a@/$$Q'*r   r  c                   `    \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	Sr
g	)
,OsconfigProjectsPatchDeploymentsPauseRequesti	  a  A OsconfigProjectsPatchDeploymentsPauseRequest object.

Fields:
  name: Required. The resource name of the patch deployment in the form
    `projects/*/patchDeployments/*`.
  pausePatchDeploymentRequest: A PausePatchDeploymentRequest resource to be
    passed as the request body.
r   TrC  PausePatchDeploymentRequestr   r   N)r   r   r   r   r   r    r"   r   r   pausePatchDeploymentRequestr   r   r   r   r  r  	  s0     
		q4	0$ ) 6 67TVW Xr   r  c                   `    \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	Sr
g	)
-OsconfigProjectsPatchDeploymentsResumeRequesti	  a  A OsconfigProjectsPatchDeploymentsResumeRequest object.

Fields:
  name: Required. The resource name of the patch deployment in the form
    `projects/*/patchDeployments/*`.
  resumePatchDeploymentRequest: A ResumePatchDeploymentRequest resource to
    be passed as the request body.
r   TrC  ResumePatchDeploymentRequestr   r   N)r   r   r   r   r   r    r"   r   r   resumePatchDeploymentRequestr   r   r   r   r  r  	  s0     
		q4	0$!*!7!78VXY!Zr   r  c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
&OsconfigProjectsPatchJobsCancelRequesti	  zA OsconfigProjectsPatchJobsCancelRequest object.

Fields:
  cancelPatchJobRequest: A CancelPatchJobRequest resource to be passed as
    the request body.
  name: Required. Name of the patch in the form `projects/*/patchJobs/*`
r~   r   r   TrC  r   N)r   r   r   r   r   r    r   cancelPatchJobRequestr"   r   r   r   r   r   r  r  	  s/     $001H!L			q4	0$r   r  c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
'OsconfigProjectsPatchJobsExecuteRequesti	  zA OsconfigProjectsPatchJobsExecuteRequest object.

Fields:
  executePatchJobRequest: A ExecutePatchJobRequest resource to be passed as
    the request body.
  parent: Required. The project in which to run this patch in the form
    `projects/*`
r   r   r   TrC  r   N)r   r   r   r   r   r    r   executePatchJobRequestr"   r^  r   r   r   r   r  r  	  s/     %112JAN  T2&r   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg)#OsconfigProjectsPatchJobsGetRequesti	  zA OsconfigProjectsPatchJobsGetRequest object.

Fields:
  name: Required. Name of the patch in the form `projects/*/patchJobs/*`
r   TrC  r   Nr  r   r   r   r  r  	  s     
		q4	0$r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " SSS	9rS
rg)3OsconfigProjectsPatchJobsInstanceDetailsListRequesti	  a*  A OsconfigProjectsPatchJobsInstanceDetailsListRequest object.

Fields:
  filter: A filter expression that filters results listed in the response.
    This field supports filtering results by instance zone, name, state, or
    `failure_reason`.
  pageSize: The maximum number of instance details records to return.
    Default is 100.
  pageToken: A pagination token returned from a previous call that indicates
    where this listing should continue from.
  parent: Required. The parent for the instances are in the form of
    `projects/*/patchJobs/*`.
r   r   rc   r   r4   TrC  r   Nrc  r   r   r   r  r  	  sY       #&##Ay/@/@/F/FG(##A&)  T2&r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " SSS	9rS
rg)$OsconfigProjectsPatchJobsListRequesti	  a  A OsconfigProjectsPatchJobsListRequest object.

Fields:
  filter: 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.
  pageSize: The maximum number of instance status to return.
  pageToken: A pagination token returned from a previous call that indicates
    where this listing should continue from.
  parent: Required. In the form of `projects/*`
r   r   rc   r   r4   TrC  r   Nrc  r   r   r   r  r  	  sY    
   #&##Ay/@/@/F/FG(##A&)  T2&r   r  c                      \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SS5      r
\R                  " S	5      r\R                  " S
S5      r\R                  " S
S5      r\R                  " SS5      r\R                  " S5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      rSrg)r   i	
  a~  Patch configuration specifications. Contains details on how to apply the
patch(es) to a VM instance.

Enums:
  RebootConfigValueValuesEnum: Post-patch reboot settings.

Fields:
  apt: Apt update settings. Use this setting to override the default `apt`
    patch rules.
  goo: Goo update settings. Use this setting to override the default `goo`
    patch rules.
  migInstancesAllowed: Allows the patch job to run on Managed instance
    groups (MIGs).
  postStep: The `ExecStep` to run after the patch update.
  preStep: The `ExecStep` to run before the patch update.
  rebootConfig: Post-patch reboot settings.
  skipUnpatchableVms: Optional. Enables enhanced reporting for the patch
    job: 1. Allows the patch job to skip unpatchable instances, reporting
    them as `SKIPPED`. An instance can be unpatchable for two reasons: 1.
    The instance runs Container-Optimized OS (COS), which cannot be patched.
    2. The instance is part of a managed instance group (MIG), and patching
    MIG instances is disabled in the patch job's configuration
    (PatchConfig.migInstancesAllowed is `false`). 2. Reports the patch job
    as `SUCCEEDED` if it completes without errors, even if some instances
    were `SKIPPED`. 3. Reports the patch job as
    `COMPLETED_WITH_INACTIVE_VMS` if it completes without errors, but some
    instances were `INACTIVE` and were not patched.
  windowsUpdate: Windows update settings. Use this override the default
    windows patch rules.
  yum: Yum update settings. Use this setting to override the default `yum`
    patch rules.
  zypper: Zypper update settings. Use this setting to override the default
    `zypper` patch rules.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	'PatchConfig.RebootConfigValueValuesEnumi-
  a  Post-patch reboot settings.

Values:
  REBOOT_CONFIG_UNSPECIFIED: The default behavior is DEFAULT.
  DEFAULT: The agent decides if a reboot is necessary by checking signals
    such as registry keys on Windows or `/var/run/reboot-required` on APT
    based systems. On RPM based systems, a set of core system package
    install times are compared with system boot time.
  ALWAYS: Always reboot the machine after the update completes.
  NEVER: Never reboot the machine after the update completes.
r   r   r   r   r   N)
r   r   r   r   r   REBOOT_CONFIG_UNSPECIFIEDDEFAULTALWAYSNEVERr   r   r   r   RebootConfigValueValuesEnumr  -
  s    
 !"GFEr   r  r	   r   r   r   r   r   r4   re   rf   rg   WindowsUpdateSettingsrh   YumSettingsri   ZypperSettingsrj   r   N)r   r   r   r   r   r    r!   r  r   r  r  r   migInstancesAllowedpostSteppreStepr%   rebootConfigskipUnpatchableVmswindowsUpdater  r  r   r   r   r   r   r   	
  s    !FINN " 	}a0#}a0#!..q1##J2("":q1'$$%BAF, --a0(()@!D-}a0#!!"2B7&r   r   c                      \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " SS	5      r\R                  " S
5      r\R                  " S5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R(                  " SS5      r\R                  " S5      rSrg)rI  iJ
  a  Patch deployments are configurations that individual patch jobs use to
complete a patch. These configurations include instance filter, package
repository settings, and a schedule. For more information about creating and
managing patch deployments, see [Scheduling patch
jobs](https://cloud.google.com/compute/docs/os-patch-management/schedule-
patch-jobs).

Enums:
  StateValueValuesEnum: Output only. Current state of the patch deployment.

Fields:
  createTime: Output only. Time the patch deployment was created. Timestamp
    is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
  description: Optional. Description of the patch deployment. Length of the
    description is limited to 1024 characters.
  duration: Optional. Duration of the patch. After the duration ends, the
    patch times out.
  instanceFilter: Required. VM instances to patch.
  lastExecuteTime: Output only. The last time a patch job was started by
    this deployment. Timestamp is in
    [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
  name: Unique name for the patch deployment resource in a project. The
    patch deployment name is in the form:
    `projects/{project_id}/patchDeployments/{patch_deployment_id}`. This
    field is ignored when you create a new patch deployment.
  oneTimeSchedule: Required. Schedule a one-time execution.
  patchConfig: Optional. Patch configuration that is applied.
  recurringSchedule: Required. Schedule recurring executions.
  rollout: Optional. Rollout strategy of the patch job.
  state: Output only. Current state of the patch deployment.
  updateTime: Output only. Time the patch deployment was last updated.
    Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text
    format.
c                   $    \ rS rSrSrSrSrSrSrg)$PatchDeployment.StateValueValuesEnumin
  al  Output only. Current state of the patch deployment.

Values:
  STATE_UNSPECIFIED: The default value. This value is used if the state is
    omitted.
  ACTIVE: Active value means that patch deployment generates Patch Jobs.
  PAUSED: Paused value means that patch deployment does not generate Patch
    jobs. Requires user action to move in and out from this state.
r   r   r   r   N)	r   r   r   r   r   STATE_UNSPECIFIEDACTIVEPAUSEDr   r   r   r   r  r  n
  s     FFr   r  r   r   r   r   r4   re   rf   r,  rg   r   rh   RecurringScheduleri   r   rj   rk   ro  r   N)r   r   r   r   r   r    r!   r  r"   r   r   r   r   r   lastExecuteTimer   oneTimeScheduler   recurringScheduler   r%   r  r   r   r   r   r   rI  rI  J
  s    !FY^^  $$Q'*%%a(+""1%())*?C.))!,/			q	!$**+<a@/&&}a8+,,-@!D"">26'


4b
9%$$R(*r   rI  c                       \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	\R                  " SSS9r\R                  " S	SS9r\R                  " S
SS9rSrg)r   i
  a8  A filter to target VM instances for patching. The targeted VMs must meet
all criteria specified. So if both labels and zones are specified, the patch
job targets only VMs with those labels and in those zones.

Fields:
  all: Target all VM instances in the project. If true, no other criteria is
    permitted.
  groupLabels: Targets VM instances matching ANY of these GroupLabels. This
    allows targeting of disparate groups of VM instances.
  instanceNamePrefixes: Targets VMs whose name starts with one of these
    prefixes. Similar to labels, this is another way to group VMs when
    targeting configs, for example prefix="prod-".
  instances: Targets any of the VM instances specified. Instances are
    specified by their URI in the form
    `zones/[ZONE]/instances/[INSTANCE_NAME]`,
    `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `http
    s://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/ins
    tances/[INSTANCE_NAME]`
  zones: Targets VM instances in ANY of these zones. Leave empty to target
    VM instances in any zone.
r   PatchInstanceFilterGroupLabelr   Tr   r   r4   re   r   N)r   r   r   r   r   r    r   r|  r   groupLabelsr"   instanceNamePrefixes	instanceszonesr   r   r   r   r   r   
  sf    , 	q!#&&'FTXY+"..q4@##A5)


D
1%r   r   c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " SS5      rSrg)	r  i
  a  Targets a group of VM instances by using their [assigned
labels](https://cloud.google.com/compute/docs/labeling-resources). Labels
are key-value pairs. A `GroupLabel` is a combination of labels that is used
to target VMs for a patch job. For example, a patch job can target VMs that
have the following `GroupLabel`: `{"env":"test", "app":"web"}`. This means
that the patch job is applied to VMs that have both the labels `env=test`
and `app=web`.

Messages:
  LabelsValue: Compute Engine instance labels that must be present for a VM
    instance to be targeted by this filter.

Fields:
  labels: Compute Engine instance labels that must be present for a VM
    instance to be targeted by this filter.
r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
)PatchInstanceFilterGroupLabel.LabelsValuei
  a  Compute Engine instance labels that must be present for a VM instance
to be targeted by this filter.

Messages:
  AdditionalProperty: An additional property for a LabelsValue object.

Fields:
  additionalProperties: Additional properties of type LabelsValue
c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)<PatchInstanceFilterGroupLabel.LabelsValue.AdditionalPropertyi
  r  r   r   r   Nr  r   r   r   r   r  
  r  r   r   r   Tr   r   Nr   r   r   r   r  r  
  r  r   r  r   r   Nr  r   r   r   r  r  
  r  r   r  c                   h   \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      r\R                  " S	5      r\R                  " S
5      r\R                   " SS5      r\R                   " SS5      r\R                  " S5      r\R                   " SS5      r\R                  " S5      r\R,                  " S5      r\R                   " SS5      r\R2                  " SS5      r\R                  " S5      rSrg)rQ  i
  a0  A high level representation of a patch job that is either in progress or
has completed. Instance details are not included in the job. To paginate
through instance details, use `ListPatchJobInstanceDetails`. For more
information about patch jobs, see [Creating patch
jobs](https://cloud.google.com/compute/docs/os-patch-management/create-
patch-job).

Enums:
  StateValueValuesEnum: The current state of the PatchJob.

Fields:
  createTime: Time this patch job was created.
  description: Description of the patch job. Length of the description is
    limited to 1024 characters.
  displayName: Display name for this patch job. This is not a unique
    identifier.
  dryRun: If this patch job is a dry run, the agent reports that it has
    finished without running any updates on the VM instance.
  duration: Duration of the patch job. After the duration ends, the patch
    job times out.
  errorMessage: If this patch job failed, this message provides information
    about the failure.
  instanceDetailsSummary: Summary of instance details.
  instanceFilter: Instances to patch.
  name: Unique identifier for this patch job in the form
    `projects/*/patchJobs/*`
  patchConfig: Patch configuration being applied.
  patchDeployment: Output only. Name of the patch deployment that created
    this patch job.
  percentComplete: Reflects the overall progress of the patch job in the
    range of 0.0 being no progress to 100.0 being complete.
  rollout: Rollout strategy being applied.
  state: The current state of the PatchJob.
  updateTime: Last time this patch job was updated.
c                   <    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrg)PatchJob.StateValueValuesEnumi
  aR  The current state of the PatchJob.

Values:
  STATE_UNSPECIFIED: State must be specified.
  STARTED: The patch job was successfully initiated.
  INSTANCE_LOOKUP: The patch job is looking up instances to run the patch
    on.
  PATCHING: Instances are being patched.
  SUCCEEDED: Patch job completed successfully.
  COMPLETED_WITH_INACTIVE_VMS: The patch job completed without errors, but
    some instances were inactive and therefore not patched.
  COMPLETED_WITH_ERRORS: Patch job completed but there were errors.
  CANCELED: The patch job was canceled.
  TIMED_OUT: The patch job timed out.
r   r   r   r   r4   re   rf   rg   rh   r   N)r   r   r   r   r   r  STARTEDINSTANCE_LOOKUPPATCHINGr   COMPLETED_WITH_INACTIVE_VMSCOMPLETED_WITH_ERRORSCANCELED	TIMED_OUTr   r   r   r   r  r  
  s9     GOHI"#HIr   r  r   r   r   r4   re   rf   PatchJobInstanceDetailsSummaryrg   r   rh   ri   r   rj   rk   ro  r   rp        r   N)r   r   r   r   r   r    r!   r  r"   r   r   r   r   r   r   r  r   instanceDetailsSummaryr   r   r   r  ro   percentCompleter   r%   r  r   r   r   r   r   rQ  rQ  
  s   "HY^^ 4 $$Q'*%%a(+%%a(+!!!$&""1%(&&q),$112RTUV))*?C.			q	!$&&}b9+))"-/((,/"">26'


4b
9%$$R(*r   rQ  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " SS	5      rS
rg)rM  i&  a  Patch details for a VM instance. For more information about reviewing VM
instance details, see [Listing all VM instance details for a specific patch
job](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-
jobs#list-instance-details).

Enums:
  StateValueValuesEnum: Current state of instance patch.

Fields:
  attemptCount: The number of times the agent that the agent attempts to
    apply the patch.
  failureReason: If the patch fails, this field provides the reason.
  instanceSystemId: The unique identifier for the instance. This identifier
    is defined by the server.
  name: The instance name in the form `projects/*/zones/*/instances/*`
  state: Current state of instance patch.
c                   \    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrSrSrSrSrSrSrSrSrg),PatchJobInstanceDetails.StateValueValuesEnumi9  a  Current state of instance patch.

Values:
  PATCH_STATE_UNSPECIFIED: Unspecified.
  PENDING: The instance is not yet notified.
  INACTIVE: Instance is inactive and cannot be patched.
  NOTIFIED: The instance is notified that it should be patched.
  STARTED: The instance has started the patching process.
  DOWNLOADING_PATCHES: The instance is downloading patches.
  APPLYING_PATCHES: The instance is applying patches.
  REBOOTING: The instance is rebooting.
  SUCCEEDED: The instance has completed applying patches.
  SUCCEEDED_REBOOT_REQUIRED: The instance has completed applying patches
    but a reboot is required.
  FAILED: The instance has failed to apply the patch.
  ACKED: The instance acked the notification and will start shortly.
  TIMED_OUT: The instance exceeded the time out while applying the patch.
  RUNNING_PRE_PATCH_STEP: The instance is running the pre-patch step.
  RUNNING_POST_PATCH_STEP: The instance is running the post-patch step.
  NO_AGENT_DETECTED: 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.
  SKIPPED: The instance was skipped during patching due to one of two
    reasons: 1. The instance runs Container-Optimized OS (COS), which
    cannot be patched. 2. The patch job's configuration prohibits patching
    on Managed Instance Groups (MIGs), and the instance is part of one.
r   r   r   r   r4   re   rf   rg   rh   ri   rj   rk   ro  rp  r  r     r   N)r   r   r   r   r   PATCH_STATE_UNSPECIFIEDPENDINGINACTIVENOTIFIEDr  DOWNLOADING_PATCHESAPPLYING_PATCHES	REBOOTINGr   SUCCEEDED_REBOOT_REQUIREDFAILEDACKEDr  RUNNING_PRE_PATCH_STEPRUNNING_POST_PATCH_STEPNO_AGENT_DETECTEDSKIPPEDr   r   r   r   r  r  9  se    6  GHHGII !FEI Gr   r  r   r   r   r4   re   r   N)r   r   r   r   r   r    r!   r  r   attemptCountr"   failureReasoninstanceSystemIdr   r%   r  r   r   r   r   rM  rM  &  sn    $,Y^^ ,\ ''*,''*-**1-			q	!$


4a
8%r   rM  c                   X   \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      r\R                  " S	5      r\R                  " S
5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)r  in  ac  A summary of the current patch state across all instances that this
patch job affects. Contains counts of instances in different states. These
states map to `InstancePatchState`. List patch job instance details to see
the specific states of each instance.

Fields:
  ackedInstanceCount: Number of instances that have acked and will start
    shortly.
  applyingPatchesInstanceCount: Number of instances that are applying
    patches.
  downloadingPatchesInstanceCount: Number of instances that are downloading
    patches.
  failedInstanceCount: Number of instances that failed.
  inactiveInstanceCount: Number of instances that are inactive.
  noAgentDetectedInstanceCount: Number of instances that do not appear to be
    running the agent. Check to ensure that the agent is installed, running,
    and able to communicate with the service.
  notifiedInstanceCount: Number of instances notified about patch job.
  pendingInstanceCount: Number of instances pending patch job.
  postPatchStepInstanceCount: Number of instances that are running the post-
    patch step.
  prePatchStepInstanceCount: Number of instances that are running the pre-
    patch step.
  rebootingInstanceCount: Number of instances rebooting.
  skippedInstanceCount: Number of instances that were skipped during
    patching.
  startedInstanceCount: Number of instances that have started.
  succeededInstanceCount: Number of instances that have completed
    successfully.
  succeededRebootRequiredInstanceCount: Number of instances that require
    reboot.
  timedOutInstanceCount: Number of instances that exceeded the time out
    while applying the patch.
r   r   r   r4   re   rf   rg   rh   ri   rj   rk   ro  rp  r  r  r  r   N)r   r   r   r   r   r    r   ackedInstanceCountapplyingPatchesInstanceCountdownloadingPatchesInstanceCountfailedInstanceCountinactiveInstanceCountnoAgentDetectedInstanceCountnotifiedInstanceCountpendingInstanceCountpostPatchStepInstanceCountprePatchStepInstanceCountrebootingInstanceCountskippedInstanceCountstartedInstanceCountsucceededInstanceCount$succeededRebootRequiredInstanceCounttimedOutInstanceCountr   r   r   r   r  r  n  s   !F !--a0!*!7!7!:$-$:$:1$=!!..q1#003!*!7!7!:#003"//2(55a8'44R8$11"5"//3"//3$11"5)2)?)?)C&#004r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SS5      rSrg	)
r   i  a2  Patch rollout configuration specifications. Contains details on the
concurrency control when applying patch(es) to all targeted VMs.

Enums:
  ModeValueValuesEnum: Mode of the patch rollout.

Fields:
  disruptionBudget: The maximum number (or percentage) of VMs per zone to
    disrupt at any given moment. The number of VMs calculated from
    multiplying the percentage by the total number of VMs in a zone is
    rounded up. During patching, a VM is considered disrupted from the time
    the agent is notified to begin until patching has completed. This
    disruption time includes the time to complete reboot and any post-patch
    steps. A VM contributes to the disruption budget if its patching
    operation fails either when applying the patches, running pre or post
    patch steps, or if it fails to respond with a success notification
    before timing out. VMs that are not running or do not have an active
    agent do not count toward this disruption budget. For zone-by-zone
    rollouts, if the disruption budget in a zone is exceeded, the patch job
    stops, because continuing to the next zone requires completion of the
    patch process in the previous zone. For example, if the disruption
    budget has a fixed value of `10`, and 8 VMs fail to patch in the current
    zone, the patch job continues to patch 2 VMs at a time until the zone is
    completed. When that zone is completed successfully, patching begins
    with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail
    to patch, the patch job stops.
  mode: Mode of the patch rollout.
c                   $    \ rS rSrSrSrSrSrSrg) PatchRollout.ModeValueValuesEnumi  a6  Mode of the patch rollout.

Values:
  MODE_UNSPECIFIED: Mode must be specified.
  ZONE_BY_ZONE: Patches are applied one zone at a time. The patch job
    begins in the region with the lowest number of targeted VMs. Within
    the region, patching begins in the zone with the lowest number of
    targeted VMs. If multiple regions (or zones within a region) have the
    same number of targeted VMs, a tie-breaker is achieved by sorting the
    regions or zones in alphabetical order.
  CONCURRENT_ZONES: Patches are applied to VMs in all zones at the same
    time.
r   r   r   r   N)	r   r   r   r   r   rb  ZONE_BY_ZONECONCURRENT_ZONESr   r   r   r   re  r    s     Lr   re  r   r   r   r   N)r   r   r   r   r   r    r!   re  r   r  r%   rh  r   r   r   r   r   r     s@    :INN $ ++,<a@			2A	6$r   r   c                       \ rS rSrSrSrg)r  i  z1A request message for pausing a patch deployment.r   Nr|   r   r   r   r  r    s    :r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      rSrg)	rH  i  a  ProjectFeatureSettings represents the VM Manager feature settings in a
project. For more information, see Enable full VM Manager functionality.

Enums:
  PatchAndConfigFeatureSetValueValuesEnum: Set PatchAndConfigFeatureSet for
    the project.

Fields:
  name: Required. Immutable. Name specifies the URL for the
    ProjectFeatureSettings resource:
    projects/project_id/locations/global/projectFeatureSettings.
  patchAndConfigFeatureSet: Set PatchAndConfigFeatureSet for the project.
c                   $    \ rS rSrSrSrSrSrSrg)>ProjectFeatureSettings.PatchAndConfigFeatureSetValueValuesEnumi  a  Set PatchAndConfigFeatureSet for the project.

Values:
  PATCH_AND_CONFIG_FEATURE_SET_UNSPECIFIED: Not specified placeholder
  OSCONFIG_B: Enables only the basic set of VM Manager features in the
    project.
  OSCONFIG_C: Enables all VM Manager features in the project.
r   r   r   r   N)	r   r   r   r   r   (PATCH_AND_CONFIG_FEATURE_SET_UNSPECIFIED
OSCONFIG_B
OSCONFIG_Cr   r   r   r   'PatchAndConfigFeatureSetValueValuesEnumr    s     01,JJr   r  r   r   r   N)r   r   r   r   r   r    r!   r  r"   r   r%   patchAndConfigFeatureSetr   r   r   r   rH  rH    s>    	  
		q	!$&001Z\]^r   rH  c                      \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      r\R                  " S5      r\R                  " SS	5      r\R                  " S
5      r\R                  " S5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      rSrg)r  i  a  Sets the time for recurring patch deployments.

Enums:
  FrequencyValueValuesEnum: Required. The frequency unit of this recurring
    schedule.

Fields:
  endTime: Optional. The end time at which a recurring patch deployment
    schedule is no longer active.
  frequency: Required. The frequency unit of this recurring schedule.
  lastExecuteTime: Output only. The time the last patch job ran
    successfully.
  monthly: Required. Schedule with monthly executions.
  nextExecuteTime: Output only. The time the next patch job is scheduled to
    run.
  startTime: Optional. The time that the recurring schedule becomes
    effective. Defaults to `create_time` of the patch deployment.
  timeOfDay: Required. Time of the day to run a recurring deployment.
  timeZone: Required. Defines the time zone that `time_of_day` is relative
    to. The rules for daylight saving time are determined by the chosen time
    zone.
  weekly: Required. Schedule with weekly executions.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	*RecurringSchedule.FrequencyValueValuesEnumi  a  Required. The frequency unit of this recurring schedule.

Values:
  FREQUENCY_UNSPECIFIED: Invalid. A frequency must be specified.
  WEEKLY: Indicates that the frequency of recurrence should be expressed
    in terms of weeks.
  MONTHLY: Indicates that the frequency of recurrence should be expressed
    in terms of months.
  DAILY: Indicates that the frequency of recurrence should be expressed in
    terms of days.
r   r   r   r   r   N)
r   r   r   r   r   FREQUENCY_UNSPECIFIEDWEEKLYMONTHLYDAILYr   r   r   r   FrequencyValueValuesEnumr
    s    
 FGEr   r  r   r   r   rZ  r4   re   rf   	TimeOfDayrg   TimeZonerh   WeeklyScheduleri   r   N)r   r   r   r   r   r    r!   r  r"   r   r%   	frequencyr  r   monthlynextExecuteTime	startTime	timeOfDaytimeZoneweeklyr   r   r   r   r  r    s    0 " !!!$'!!"<a@)))!,/""#4a8'))!,/##A&)$$[!4)##J2(!!"2A6&r   r  c                       \ rS rSrSrSrg)r  i1  z2A request message for resuming a patch deployment.r   Nr|   r   r   r   r  r  1  s    ;r   r  c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " SS	S
S9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R$                  " SSS9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)StandardQueryParametersi5  a  Query parameters accepted by all methods.

Enums:
  FXgafvValueValuesEnum: V1 error format.
  AltValueValuesEnum: Data format for response.

Fields:
  f__xgafv: V1 error format.
  access_token: OAuth access token.
  alt: Data format for response.
  callback: JSONP
  fields: Selector specifying which fields to include in a partial response.
  key: API key. Your API key identifies your project and provides you with
    API access, quota, and reports. Required unless you provide an OAuth 2.0
    token.
  oauth_token: OAuth 2.0 token for the current user.
  prettyPrint: Returns response with indentations and line breaks.
  quotaUser: Available to use for quota purposes for server-side
    applications. Can be any arbitrary string assigned to a user, but should
    not exceed 40 characters.
  trace: A tracing token of the form "token:<tokenid>" to include in api
    requests.
  uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
  upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
c                   $    \ rS rSrSrSrSrSrSrg)*StandardQueryParameters.AltValueValuesEnumiP  zData format for response.

Values:
  json: Responses with Content-Type of application/json
  media: Media download with context-dependent Content-Type
  proto: Responses with Content-Type of application/x-protobuf
r   r   r   r   N)	r   r   r   r   r   jsonmediaprotor   r   r   r   AltValueValuesEnumr  P  s     DEEr   r"  c                        \ rS rSrSrSrSrSrg)-StandardQueryParameters.FXgafvValueValuesEnumi\  zFV1 error format.

Values:
  _1: v1 error format
  _2: v2 error format
r   r   r   N)r   r   r   r   r   _1_2r   r   r   r   FXgafvValueValuesEnumr$  \  s     
B	
Br   r'  r   r   r   r  )defaultr4   re   rf   rg   rh   Tri   rj   rk   ro  r   N)r   r   r   r   r   r    r!   r"  r'  r%   f__xgafvr"   access_tokenaltcallbackfieldsr   oauth_tokenr   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r   r  r  5  s    4
9>> 
inn    !8!<(&&q),0!VD#""1%(  #&a #%%a(+&&q$7+##A&)



#%$$R(*))"-/r   r  c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S\R                  R                  S9r\R                  " SSS	S
9r\R                   " S5      rSrg)r<  it  a  The `Status` type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by [gRPC](https://github.com/grpc). Each `Status` message contains
three pieces of data: error code, error message, and error details. You can
find out more about this error model and how to work with it in the [API
Design Guide](https://cloud.google.com/apis/design/errors).

Messages:
  DetailsValueListEntry: A DetailsValueListEntry object.

Fields:
  code: The status code, which should be an enum value of google.rpc.Code.
  details: A list of messages that carry the error details. There is a
    common set of message types for APIs to use.
  message: A developer-facing error message, which should be in English. Any
    user-facing error message should be localized and sent in the
    google.rpc.Status.details field, or localized by the client.
r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
Status.DetailsValueListEntryi  zA DetailsValueListEntry object.

Messages:
  AdditionalProperty: An additional property for a DetailsValueListEntry
    object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)/Status.DetailsValueListEntry.AdditionalPropertyi  zAn additional property for a DetailsValueListEntry object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   r4  r   r   Nr   r   r   r   r   r8    r5  r   r   r   Tr   r   Nr   r   r   r   DetailsValueListEntryr6    s4    		AY.. 	A %112FTXYr   r9  r   rc   r   Tr   r   r   N)r   r   r   r   r   r   r   r    r   r9  r   rp   r   coder   detailsr"   messager   r   r   r   r<  r<  t  s|    & !!"89Zi// Z :Z2 
		9+<+<+B+B	C$""#:AM'!!!$'r   r<  c                      \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S\R                  R                  S9r
\R                  " S5      r\R                  " SS5      r\R                  " S	5      rS
rg)StatusProtoi  a  Wire-format for a Status object

Fields:
  canonicalCode: copybara:strip_begin(b/383363683)
    copybara:strip_end_and_replace optional int32 canonical_code = 6;
  code: Numeric code drawn from the space specified below. Often, this is
    the canonical error space, and code is drawn from
    google3/util/task/codes.proto copybara:strip_begin(b/383363683)
    copybara:strip_end_and_replace optional int32 code = 1;
  message: Detail message copybara:strip_begin(b/383363683)
    copybara:strip_end_and_replace optional string message = 3;
  messageSet: message_set associates an arbitrary proto message with the
    status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace
    optional proto2.bridge.MessageSet message_set = 5;
  space: copybara:strip_begin(b/383363683) Space to which this status
    belongs copybara:strip_end_and_replace optional string space = 2; //
    Space to which this status belongs
r   rc   r   r   rX  r4   re   r   N)r   r   r   r   r   r    r   rp   r   canonicalCoder:  r"   r<  r   
messageSetspacer   r   r   r   r>  r>    sw    & ((I4E4E4K4KL-			9+<+<+B+B	C$!!!$'%%lA6*



"%r   r>  c                   @   \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S\R                  R                  S9r
\R                  " S\R                  R                  S9r\R                  " S\R                  R                  S9rSrg	)
r  i  aS  Represents a time of day. The date and time zone are either not
significant or are specified elsewhere. An API may choose to allow leap
seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

Fields:
  hours: Hours of a day in 24 hour format. Must be greater than or equal to
    0 and typically must be less than or equal to 23. An API may choose to
    allow the value "24:00:00" for scenarios like business closing time.
  minutes: Minutes of an hour. Must be greater than or equal to 0 and less
    than or equal to 59.
  nanos: Fractions of seconds, in nanoseconds. Must be greater than or equal
    to 0 and less than or equal to 999,999,999.
  seconds: Seconds of a minute. Must be greater than or equal to 0 and
    typically must be less than or equal to 59. An API may allow the value
    60 if it allows leap-seconds.
r   rc   r   r   r4   r   N)r   r   r   r   r   r    r   rp   r   hoursminutesnanossecondsr   r   r   r   r  r    s    " 
 
 I,=,=,C,C
D%""1i.?.?.E.EF'

 
 I,=,=,C,C
D%""1i.?.?.E.EF'r   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r  i  a  Represents a time zone from the [IANA Time Zone
Database](https://www.iana.org/time-zones).

Fields:
  id: IANA Time Zone Database time zone. For example "America/New_York".
  version: Optional. IANA Time Zone Database version number. For example
    "2019a".
r   r   r   N)
r   r   r   r   r   r    r"   r  r  r   r   r   r   r  r    s)     Q"!!!$'r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " S5      r\R                  " S5      r\R                  " SS	S
S9rSrg)rU  i  a  This API resource represents the vulnerability report for a specified
Compute Engine virtual machine (VM) instance at a given point in time. For
more information, see [Vulnerability
reports](https://cloud.google.com/compute/docs/instances/os-inventory-
management#vulnerability-reports).

Enums:
  HighestUpgradableCveSeverityValueValuesEnum: Output only. Highest level of
    severity among all the upgradable vulnerabilities with CVEs attached.

Fields:
  highestUpgradableCveSeverity: Output only. Highest level of severity among
    all the upgradable vulnerabilities with CVEs attached.
  name: Output only. The `vulnerabilityReport` API resource name. Format: `p
    rojects/{project_number}/locations/{location}/instances/{instance_id}/vu
    lnerabilityReport`
  updateTime: Output only. The timestamp for when the last vulnerability
    report was generated for the VM.
  vulnerabilities: Output only. List of vulnerabilities affecting the VM.
c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)?VulnerabilityReport.HighestUpgradableCveSeverityValueValuesEnumi  a  Output only. Highest level of severity among all the upgradable
vulnerabilities with CVEs attached.

Values:
  VULNERABILITY_SEVERITY_LEVEL_UNSPECIFIED: Default SeverityLevel. This
    value is unused.
  NONE: Vulnerability has no severity level.
  MINIMAL: Vulnerability severity level is minimal. This is level below
    the low severity level.
  LOW: Vulnerability severity level is low. This is level below the medium
    severity level.
  MEDIUM: Vulnerability severity level is medium. This is level below the
    high severity level.
  HIGH: Vulnerability severity level is high. This is level below the
    critical severity level.
  CRITICAL: Vulnerability severity level is critical. This is the highest
    severity level.
r   r   r   r   r4   re   rf   r   N)r   r   r   r   r   (VULNERABILITY_SEVERITY_LEVEL_UNSPECIFIEDr   MINIMALLOWMEDIUMHIGHCRITICALr   r   r   r   +HighestUpgradableCveSeverityValueValuesEnumrJ    s-    $ 01,DG
CFDHr   rQ  r   r   r    VulnerabilityReportVulnerabilityr4   Tr   r   N)r   r   r   r   r   r    r!   rQ  r%   highestUpgradableCveSeverityr"   r   r   r   vulnerabilitiesr   r   r   r   rU  rU    sd    *INN 6 "+!4!45bde!f			q	!$$$Q'***+Mq[_`/r   rU  c                       \ rS rSrSr\R                  " SSS9r\R                  " S5      r\R                  " SS5      r
\R                  " S	SS9r\R                  " S
SSS9r\R                  " S5      rSrg)rR  i  aI  A vulnerability affecting the VM instance.

Fields:
  availableInventoryItemIds: Corresponds to the `AVAILABLE_PACKAGE`
    inventory item on the VM. If the vulnerability report was not updated
    after the VM inventory update, these values might not display in VM
    inventory. If there is no available fix, the field is empty. The
    `inventory_item` value specifies the latest `SoftwarePackage` available
    to the VM that fixes the vulnerability.
  createTime: The timestamp for when the vulnerability was first detected.
  details: Contains metadata as per the upstream feed of the operating
    system and NVD.
  installedInventoryItemIds: Corresponds to the `INSTALLED_PACKAGE`
    inventory item on the VM. This field displays the inventory items
    affected by this vulnerability. If the vulnerability report was not
    updated after the VM inventory update, these values might not display in
    VM inventory. For some distros, this field may be empty.
  items: List of items affected by the vulnerability.
  updateTime: The timestamp for when the vulnerability was last modified.
r   Tr   r   'VulnerabilityReportVulnerabilityDetailsr   r4   $VulnerabilityReportVulnerabilityItemre   rf   r   N)r   r   r   r   r   r    r"   availableInventoryItemIdsr   r   r;  installedInventoryItemIdsr   r   r   r   r   r   rR  rR    sx    * (33AE$$Q'*""#LaP''33AE

 
 !GUY
Z%$$Q'*r   rR  c                      \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9r\R                  " SS5      r\R                  " S5      r\R                  " S	S
SS9r\R                  " S5      rSrg)rV  i=  a  Contains metadata information for the vulnerability. This information is
collected from the upstream feed of the operating system.

Fields:
  cve: The CVE of the vulnerability. CVE cannot be empty and the combination
    of should be unique across vulnerabilities for a VM.
  cvssV2Score: The CVSS V2 score of this vulnerability. CVSS V2 score is on
    a scale of 0 - 10 where 0 indicates low severity and 10 indicates high
    severity.
  cvssV3: The full description of the CVSSv3 for this vulnerability from
    NVD.
  description: The note or description describing the vulnerability from the
    distro.
  references: Corresponds to the references attached to the
    `VulnerabilityDetails`.
  severity: Assigned severity/impact ranking from the distro.
r   r   rc   r(   r   r4   0VulnerabilityReportVulnerabilityDetailsReferencere   Tr   rf   r   N)r   r   r   r   r   r    r"   cvero   rp   rq   cvssV2Scorer   cvssV3r   
referencesr5  r   r   r   r   rV  rV  =  s    $ 	a #$$Q	0A0A0G0GH+!!(A.&%%a(+%%&XZ[fjk*""1%(r   rV  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r[  iX  z~A reference for this vulnerability.

Fields:
  source: The source of the reference e.g. NVD.
  url: The url of the reference.
r   r   r   N)
r   r   r   r   r   r    r"   r
  r$  r   r   r   r   r[  r[  X  s)       #&a #r   r[  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)	rW  id  aB  OS inventory item that is affected by a vulnerability or fixed as a
result of a vulnerability.

Fields:
  availableInventoryItemId: Corresponds to the `AVAILABLE_PACKAGE` inventory
    item on the VM. If the vulnerability report was not updated after the VM
    inventory update, these values might not display in VM inventory. If
    there is no available fix, the field is empty. The `inventory_item`
    value specifies the latest `SoftwarePackage` available to the VM that
    fixes the vulnerability.
  fixedCpeUri: The recommended [CPE
    URI](https://cpe.mitre.org/specification/) update that contains a fix
    for this vulnerability.
  installedInventoryItemId: Corresponds to the `INSTALLED_PACKAGE` inventory
    item on the VM. This field displays the inventory items affected by this
    vulnerability. If the vulnerability report was not updated after the VM
    inventory update, these values might not display in VM inventory. For
    some operating systems, this field might be empty.
  upstreamFix: The upstream OS patch, packages or KB that fixes the
    vulnerability.
r   r   r   r4   r   N)r   r   r   r   r   r    r"   availableInventoryItemIdfixedCpeUriinstalledInventoryItemIdupstreamFixr   r   r   r   rW  rW  d  sK    , '2215%%a(+&2215%%a(+r   rW  c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " S\R                  R                  S9r\R                  " S\R                  R                  S9rS	rg
)r[  i  aa  Represents one week day in a month. An example is "the 4th Sunday".

Enums:
  DayOfWeekValueValuesEnum: Required. A day of the week.

Fields:
  dayOfWeek: Required. A day of the week.
  dayOffset: Optional. Represents the number of days before or after the
    given week day of month that the patch deployment is scheduled for. For
    example if `week_ordinal` and `day_of_week` values point to the second
    Tuesday of the month and the `day_offset` value is set to `3`, patch
    deployment takes place three days after the second Tuesday of the month.
    If this value is negative, for example -5, patches are deployed five
    days before the second Tuesday of the month. Allowed values are in range
    [-30, 30].
  weekOrdinal: Required. Week number in a month. 1-4 indicates the 1st to
    4th week of the month. -1 indicates the last week of the month.
c                   8    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrg)'WeekDayOfMonth.DayOfWeekValueValuesEnumi  zRequired. A day of the week.

Values:
  DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
  MONDAY: Monday
  TUESDAY: Tuesday
  WEDNESDAY: Wednesday
  THURSDAY: Thursday
  FRIDAY: Friday
  SATURDAY: Saturday
  SUNDAY: Sunday
r   r   r   r   r4   re   rf   rg   r   Nr   r   r   r   r   DAY_OF_WEEK_UNSPECIFIEDMONDAYTUESDAY	WEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAYr   r   r   r   DayOfWeekValueValuesEnumrh    2      FGIHFHFr   rr  r   r   rc   r   r   N)r   r   r   r   r   r    r!   rr  r%   	dayOfWeekr   rp   r   	dayOffsetweekOrdinalr   r   r   r   r[  r[    sh    & , !!"<a@)$$Q	0A0A0G0GH)&&q)2C2C2I2IJ+r   r[  c                   h    \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	Sr
g)r  i  zRepresents a weekly schedule.

Enums:
  DayOfWeekValueValuesEnum: Required. Day of the week.

Fields:
  dayOfWeek: Required. Day of the week.
c                   8    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrg)'WeeklySchedule.DayOfWeekValueValuesEnumi  zRequired. Day of the week.

Values:
  DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
  MONDAY: Monday
  TUESDAY: Tuesday
  WEDNESDAY: Wednesday
  THURSDAY: Thursday
  FRIDAY: Friday
  SATURDAY: Saturday
  SUNDAY: Sunday
r   r   r   r   r4   re   rf   rg   r   Nri  r   r   r   rr  ry    rs  r   rr  r   r   N)r   r   r   r   r   r    r!   rr  r%   rt  r   r   r   r   r  r    s,     , !!"<a@)r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	\R                  " SSS9r\R                  " S	SS9rS
rg)r  i  a  Windows patching is performed using the Windows Update Agent.

Enums:
  ClassificationsValueListEntryValuesEnum:

Fields:
  classifications: Only apply updates of these windows update
    classifications. If empty, all updates are applied.
  excludes: List of KBs to exclude from update.
  exclusivePatches: An exclusive list of kbs to be updated. These are the
    only patches that will be updated. This field must not be used with
    other patch configurations.
c                   @    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrSrg)=WindowsUpdateSettings.ClassificationsValueListEntryValuesEnumi  a  ClassificationsValueListEntryValuesEnum enum type.

Values:
  CLASSIFICATION_UNSPECIFIED: Invalid. If classifications are included,
    they must be specified.
  CRITICAL: "A widely released fix for a specific problem that addresses a
    critical, non-security-related bug." [1]
  SECURITY: "A widely released fix for a product-specific, security-
    related vulnerability. Security vulnerabilities are rated by their
    severity. The severity rating is indicated in the Microsoft security
    bulletin as critical, important, moderate, or low." [1]
  DEFINITION: "A widely released and frequent software update that
    contains additions to a product's definition database. Definition
    databases are often used to detect objects that have specific
    attributes, such as malicious code, phishing websites, or junk mail."
    [1]
  DRIVER: "Software that controls the input and output of a device." [1]
  FEATURE_PACK: "New product functionality that is first distributed
    outside the context of a product release and that is typically
    included in the next full product release." [1]
  SERVICE_PACK: "A tested, cumulative set of all hotfixes, security
    updates, critical updates, and updates. Additionally, service packs
    may contain additional fixes for problems that are found internally
    since the release of the product. Service packs my also contain a
    limited number of customer-requested design changes or features." [1]
  TOOL: "A utility or feature that helps complete a task or set of tasks."
    [1]
  UPDATE_ROLLUP: "A tested, cumulative set of hotfixes, security updates,
    critical updates, and updates that are packaged together for easy
    deployment. A rollup generally targets a specific area, such as
    security, or a component of a product, such as Internet Information
    Services (IIS)." [1]
  UPDATE: "A widely released fix for a specific problem. An update
    addresses a noncritical, non-security-related bug." [1]
r   r   r   r   r4   re   rf   rg   rh   ri   r   N)r   r   r   r   r   CLASSIFICATION_UNSPECIFIEDrP  SECURITY
DEFINITIONDRIVERFEATURE_PACKSERVICE_PACKTOOLUPDATE_ROLLUPr   r   r   r   r   'ClassificationsValueListEntryValuesEnumr|    s=    "F "#HHJFLLDMFr   r  r   Tr   r   r   r   N)r   r   r   r   r   r    r!   r  r%   classificationsr"   r#   exclusivePatchesr   r   r   r   r  r    sV    -	 -^ ''(QST_cd/""1t4(**1t<r   r  c                       \ rS rSrSr\R                  " SSS9r\R                  " SSS9r\R                  " S5      r
\R                  " S5      rS	rg
)r  i  a  Yum patching is performed by executing `yum update`. Additional options
can be set to control how this is executed. Note that not all settings are
supported on all platforms.

Fields:
  excludes: List of packages to exclude from update. These packages are
    excluded by using the yum `--exclude` flag.
  exclusivePackages: An exclusive list of packages to be updated. These are
    the only packages that will be updated. If these packages are not
    installed, they will be ignored. This field must not be specified with
    any other patch configuration fields.
  minimal: Will cause patch to run `yum update-minimal` instead.
  security: Adds the `--security` flag to `yum update`. Not supported on all
    platforms.
r   Tr   r   r   r4   r   N)r   r   r   r   r   r    r"   r#   r$   r   minimalsecurityr   r   r   r   r  r    sN      ""1t4(++A=""1%'##A&(r   r  c                       \ rS rSrSr\R                  " SSS9r\R                  " SSS9r\R                  " SSS9r	\R                  " SSS9r
\R                  " S	5      r\R                  " S
5      rSrg)r  i-  a  Zypper patching is performed by running `zypper patch`. See also
https://en.opensuse.org/SDB:Zypper_manual.

Fields:
  categories: Install only patches with these categories. Common categories
    include security, recommended, and feature.
  excludes: List of patches to exclude from update.
  exclusivePatches: An exclusive list of patches to be updated. These are
    the only patches that will be installed using 'zypper patch patch:'
    command. This field must not be used with any other patch configuration
    fields.
  severities: Install only patches with these severities. Common severities
    include critical, important, moderate, and low.
  withOptional: Adds the `--with-optional` flag to `zypper patch`.
  withUpdate: Adds the `--with-update` flag, to `zypper patch`.
r   Tr   r   r   r4   re   rf   r   N)r   r   r   r   r   r    r"   r)  r#   r  
severitiesr   withOptional
withUpdater   r   r   r   r  r  -  sr    " $$Q6*""1t4(**1t<$$Q6*''*,%%a(*r   r  r  execr)  z$.xgafvr%  1r&  2N)r   
__future__r   apitools.base.protorpcliter   r    apitools.base.pyr   r   packager   r	   r(   r{   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r(  r  r8  r<  r@  rF  rH  rL  rP  rT  rX  rZ  r_  rA  rm  r{  rz  r  r=  r  r  r  r  rn  r  r  r  r  r  r  r  r  rf  r  r  r  r  r  r  r  r  r  r  r  r  r  r,  r/  rB  rG  rL  rX  r`  rb  re  rg  ri  rn  rp  rr  ru  rw  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r   rI  r   r  rQ  rM  r  r   r  rH  r  r  r  r<  r>  r  r  rU  rR  rV  r[  rW  r[  r  r  r  r  AddCustomJsonFieldMappingAddCustomJsonEnumMappingr'  r   r   r   <module>r     s	   ' < % ( "7)## "7JUNY UNp=Y.. =,I-- ,D9 D4I Fy   F.'Y&& .'b6Y.. 68GY&& G$	!! $ B)## B4/y?P?P 4/n"Y->-> "6"1B1B "68(	!! 8(v2(I%% 2(j%i'' %6"By00 "BJ%	 1 1 %')"3"3 '.)1B1B )( &I$5$5  &F	"9J9J 	"%9,, % +i// +cI,=,= c
Wi.?.? 
W
Wi&7&7 
W
Q9#4#4 
Q
`)*;*; 
`
CI-- 
CYy'8'8 Y
"" 
?i'' ? /Uy   /UdL"** L"^fy'8'8 f0'	0A0A '+4!2!2 +4\4/)*;*; 4/n(y00 (>3Q1B1B 3Ql,09K\K\ ,0^.]f]n]n .%7enevev %7P-	 1 1 -$'i// 'Oy(( O2 K9#4#4  KF($y'8'8 ($VC9,, C$$i// $
!!2!2 
!)99#4#4 )9XKI-- K0(Ni&7&7 (NV"):): "=):): ="I,=,= "=):): ==):): ="):): ""I,=,= "[):): [ #!i6G6G #!L
!i6G6G 
! i6G6G  ( 9J9J  ()i'' )i8	!! i8X	1iFWFW 	1(IZIZ (&!7i>O>O !7H(7y?P?P (7V1YM^M^ 1 "3iN_N_ "3J1yGXGX 13	HYHY 3B'	@Q@Q '2'	@Q@Q '	1Y=N=N 	13i>O>O 3 'yGXGX '$1)J[J[ 11yGXGX 1(y?P?P (4/I4E4E /(1I4E4E 111B1B 13)2C2C 3$(93D3D (&Y93D3D Y[I4E4E [
1Y->-> 
13i.?.? 31)*;*; 13):K:K 3*39+<+< 3&>8)## >8B=)i'' =)@2)++ 2<+4I$5$5 +4\M)y   M)`E9i// E9P35Y%6%6 35l179$$ 17h;)"3"3 ;_Y.. _@27	)) 27j<9#4#4 <<.i// <.~0%Y 0%f#)## #6G	!! G0%y   %4a)++ 4an(y'8'8 (<&i.?.? &6	!y7H7H 	!)9+<+< ):,KY&& ,K^ AY&&  AF@=I-- @=F')## '.)Y&& )4 	 " "gv'  " "Z4  ! !114>  ! !114>r   