@@ -148,10 +148,10 @@ class ServiceTier(enum.IntEnum):
148148
149149class UptimeCheckRegion (enum .IntEnum ):
150150 """
151- The regions from which an uptime check can be run.
151+ The regions from which an Uptime check can be run.
152152
153153 Attributes:
154- REGION_UNSPECIFIED (int): Default value if no region is specified. Will result in uptime checks
154+ REGION_UNSPECIFIED (int): Default value if no region is specified. Will result in Uptime checks
155155 running from all regions.
156156 USA (int): Allows checks to run from locations within the United States of America.
157157 EUROPE (int): Allows checks to run from locations within the continent of Europe.
@@ -397,6 +397,31 @@ class ConditionCombinerType(enum.IntEnum):
397397 AND_WITH_MATCHING_RESOURCE = 3
398398
399399
400+ class InternalChecker (object ):
401+ class State (enum .IntEnum ):
402+ """
403+ Operational states for an internal checker.
404+
405+ Attributes:
406+ UNSPECIFIED (int): An internal checker should never be in the unspecified state.
407+ CREATING (int): The checker is being created, provisioned, and configured. A checker in
408+ this state can be returned by ``ListInternalCheckers`` or
409+ ``GetInternalChecker``, as well as by examining the `long running
410+ Operation <https://cloud.google.com/apis/design/design_patterns#long_running_operations>`__
411+ that created it.
412+ RUNNING (int): The checker is running and available for use. A checker in this state
413+ can be returned by ``ListInternalCheckers`` or ``GetInternalChecker`` as
414+ well as by examining the `long running
415+ Operation <https://cloud.google.com/apis/design/design_patterns#long_running_operations>`__
416+ that created it. If a checker is being torn down, it is neither visible
417+ nor usable, so there is no "deleting" or "down" state.
418+ """
419+
420+ UNSPECIFIED = 0
421+ CREATING = 1
422+ RUNNING = 2
423+
424+
400425class LabelDescriptor (object ):
401426 class ValueType (enum .IntEnum ):
402427 """
@@ -498,3 +523,33 @@ class VerificationStatus(enum.IntEnum):
498523 VERIFICATION_STATUS_UNSPECIFIED = 0
499524 UNVERIFIED = 1
500525 VERIFIED = 2
526+
527+
528+ class UptimeCheckConfig (object ):
529+ class ContentMatcher (object ):
530+ class ContentMatcherOption (enum .IntEnum ):
531+ """
532+ Options to perform content matching.
533+
534+ Attributes:
535+ CONTENT_MATCHER_OPTION_UNSPECIFIED (int): No content matcher type specified (maintained for backward
536+ compatibility, but deprecated for future use). Treated as
537+ ``CONTAINS_STRING``.
538+ CONTAINS_STRING (int): Selects substring matching (there is a match if the output contains the
539+ ``content`` string). This is the default value for checks without a
540+ ``matcher`` option, or where the value of ``matcher`` is
541+ ``CONTENT_MATCHER_OPTION_UNSPECIFIED``.
542+ NOT_CONTAINS_STRING (int): Selects negation of substring matching (there is a match if the output
543+ does NOT contain the ``content`` string).
544+ MATCHES_REGEX (int): Selects regular expression matching (there is a match of the output
545+ matches the regular expression specified in the ``content`` string).
546+ NOT_MATCHES_REGEX (int): Selects negation of regular expression matching (there is a match if the
547+ output does NOT match the regular expression specified in the
548+ ``content`` string).
549+ """
550+
551+ CONTENT_MATCHER_OPTION_UNSPECIFIED = 0
552+ CONTAINS_STRING = 1
553+ NOT_CONTAINS_STRING = 2
554+ MATCHES_REGEX = 3
555+ NOT_MATCHES_REGEX = 4
0 commit comments