Class: Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/uptime.rb

Overview

Information involved in an HTTP/HTTPS Uptime check request.

Defined Under Namespace

Modules: ContentType, RequestMethod Classes: BasicAuthentication, HeadersEntry, ResponseStatusCode

Instance Attribute Summary collapse

Instance Attribute Details

#accepted_response_status_codes::Array<::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode>



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#auth_info::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::BasicAuthentication



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#body::String



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#content_type::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ContentType



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#custom_content_type::String



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#headers::Google::Protobuf::Map{::String => ::String}



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#mask_headers::Boolean



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#path::String



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#ping_config::Google::Cloud::Monitoring::V3::UptimeCheckConfig::PingConfig



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#port::Integer



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#request_method::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::RequestMethod



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#use_ssl::Boolean



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end

#validate_ssl::Boolean



290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 290

class HttpCheck
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The authentication parameters to provide to the specified resource or
  # URL that requires a username and password. Currently, only
  # [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is
  # supported in Uptime checks.
  # @!attribute [rw] username
  #   @return [::String]
  #     The username to use when authenticating with the HTTP server.
  # @!attribute [rw] password
  #   @return [::String]
  #     The password to use when authenticating with the HTTP server.
  class BasicAuthentication
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A status to accept. Either a status code class like "2xx", or an integer
  # status code like "200".
  # @!attribute [rw] status_value
  #   @return [::Integer]
  #     A status code to accept.
  # @!attribute [rw] status_class
  #   @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
  #     A class of status codes to accept.
  class ResponseStatusCode
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # An HTTP status code class.
    module StatusClass
      # Default value that matches no status codes.
      STATUS_CLASS_UNSPECIFIED = 0

      # The class of status codes between 100 and 199.
      STATUS_CLASS_1XX = 100

      # The class of status codes between 200 and 299.
      STATUS_CLASS_2XX = 200

      # The class of status codes between 300 and 399.
      STATUS_CLASS_3XX = 300

      # The class of status codes between 400 and 499.
      STATUS_CLASS_4XX = 400

      # The class of status codes between 500 and 599.
      STATUS_CLASS_5XX = 500

      # The class of all status codes.
      STATUS_CLASS_ANY = 1000
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class HeadersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The HTTP request method options.
  module RequestMethod
    # No request method specified.
    METHOD_UNSPECIFIED = 0

    # GET request.
    GET = 1

    # POST request.
    POST = 2
  end

  # Header options corresponding to the content type of a HTTP request body.
  module ContentType
    # No content type specified.
    TYPE_UNSPECIFIED = 0

    # `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
    # to `application/x-www-form-urlencoded` in the HTTP request.
    URL_ENCODED = 1

    # `body` is in `custom_content_type` form. Equivalent to setting the
    # `Content-Type` to the contents of `custom_content_type` in the HTTP
    # request.
    USER_PROVIDED = 2
  end
end