Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
feat: adds ContentMatcherOption (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Dec 31, 2019
1 parent 11d529e commit 003b8f7
Show file tree
Hide file tree
Showing 4 changed files with 342 additions and 46 deletions.
79 changes: 70 additions & 9 deletions protos/protos.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import * as Long from "long";
import * as $protobuf from "protobufjs";
/** Namespace google. */
export namespace google {
Expand Down Expand Up @@ -743,6 +758,9 @@ export namespace google {
/** AlertPolicy enabled */
enabled?: (google.protobuf.IBoolValue|null);

/** AlertPolicy validity */
validity?: (google.rpc.IStatus|null);

/** AlertPolicy notificationChannels */
notificationChannels?: (string[]|null);

Expand Down Expand Up @@ -783,6 +801,9 @@ export namespace google {
/** AlertPolicy enabled. */
public enabled?: (google.protobuf.IBoolValue|null);

/** AlertPolicy validity. */
public validity?: (google.rpc.IStatus|null);

/** AlertPolicy notificationChannels. */
public notificationChannels: string[];

Expand Down Expand Up @@ -10738,6 +10759,9 @@ export namespace google {

/** InternalChecker peerProjectId */
peerProjectId?: (string|null);

/** InternalChecker state */
state?: (google.monitoring.v3.InternalChecker.State|null);
}

/** Represents an InternalChecker. */
Expand All @@ -10764,6 +10788,9 @@ export namespace google {
/** InternalChecker peerProjectId. */
public peerProjectId: string;

/** InternalChecker state. */
public state: google.monitoring.v3.InternalChecker.State;

/**
* Creates a new InternalChecker instance using the specified properties.
* @param [properties] Properties to set
Expand Down Expand Up @@ -10835,6 +10862,25 @@ export namespace google {
public toJSON(): { [k: string]: any };
}

namespace InternalChecker {

/** State enum. */
enum State {
UNSPECIFIED = 0,
CREATING = 1,
RUNNING = 2
}
}

/** UptimeCheckRegion enum. */
enum UptimeCheckRegion {
REGION_UNSPECIFIED = 0,
USA = 1,
EUROPE = 2,
SOUTH_AMERICA = 3,
ASIA_PACIFIC = 4
}

/** Properties of an UptimeCheckConfig. */
interface IUptimeCheckConfig {

Expand Down Expand Up @@ -11115,6 +11161,9 @@ export namespace google {

/** HttpCheck headers */
headers?: ({ [k: string]: string }|null);

/** HttpCheck validateSsl */
validateSsl?: (boolean|null);
}

/** Represents a HttpCheck. */
Expand Down Expand Up @@ -11144,6 +11193,9 @@ export namespace google {
/** HttpCheck headers. */
public headers: { [k: string]: string };

/** HttpCheck validateSsl. */
public validateSsl: boolean;

/**
* Creates a new HttpCheck instance using the specified properties.
* @param [properties] Properties to set
Expand Down Expand Up @@ -11409,6 +11461,9 @@ export namespace google {

/** ContentMatcher content */
content?: (string|null);

/** ContentMatcher matcher */
matcher?: (google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption|null);
}

/** Represents a ContentMatcher. */
Expand All @@ -11423,6 +11478,9 @@ export namespace google {
/** ContentMatcher content. */
public content: string;

/** ContentMatcher matcher. */
public matcher: google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption;

/**
* Creates a new ContentMatcher instance using the specified properties.
* @param [properties] Properties to set
Expand Down Expand Up @@ -11493,6 +11551,18 @@ export namespace google {
*/
public toJSON(): { [k: string]: any };
}

namespace ContentMatcher {

/** ContentMatcherOption enum. */
enum ContentMatcherOption {
CONTENT_MATCHER_OPTION_UNSPECIFIED = 0,
CONTAINS_STRING = 1,
NOT_CONTAINS_STRING = 2,
MATCHES_REGEX = 3,
NOT_MATCHES_REGEX = 4
}
}
}

/** Properties of an UptimeCheckIp. */
Expand Down Expand Up @@ -11597,15 +11667,6 @@ export namespace google {
public toJSON(): { [k: string]: any };
}

/** UptimeCheckRegion enum. */
enum UptimeCheckRegion {
REGION_UNSPECIFIED = 0,
USA = 1,
EUROPE = 2,
SOUTH_AMERICA = 3,
ASIA_PACIFIC = 4
}

/** GroupResourceType enum. */
enum GroupResourceType {
RESOURCE_TYPE_UNSPECIFIED = 0,
Expand Down
Loading

0 comments on commit 003b8f7

Please sign in to comment.