# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/monitoring/v3/snooze_service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/monitoring/v3/snooze_pb' require 'google/protobuf/field_mask_pb' descriptor_data = "\n)google/monitoring/v3/snooze_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/snooze.proto\x1a google/protobuf/field_mask.proto\"\x82\x01\n\x13\x43reateSnoozeRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 monitoring.googleapis.com/Snooze\x12\x31\n\x06snooze\x18\x02 \x01(\x0b\x32\x1c.google.monitoring.v3.SnoozeB\x03\xe0\x41\x02\"\x94\x01\n\x12ListSnoozesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 monitoring.googleapis.com/Snooze\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\"]\n\x13ListSnoozesResponse\x12-\n\x07snoozes\x18\x01 \x03(\x0b\x32\x1c.google.monitoring.v3.Snooze\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x10GetSnoozeRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n monitoring.googleapis.com/Snooze\"~\n\x13UpdateSnoozeRequest\x12\x31\n\x06snooze\x18\x01 \x01(\x0b\x32\x1c.google.monitoring.v3.SnoozeB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x32\x98\x06\n\rSnoozeService\x12\x98\x01\n\x0c\x43reateSnooze\x12).google.monitoring.v3.CreateSnoozeRequest\x1a\x1c.google.monitoring.v3.Snooze\"?\xda\x41\rparent,snooze\x82\xd3\xe4\x93\x02)\"\x1f/v3/{parent=projects/*}/snoozes:\x06snooze\x12\x94\x01\n\x0bListSnoozes\x12(.google.monitoring.v3.ListSnoozesRequest\x1a).google.monitoring.v3.ListSnoozesResponse\"0\xda\x41\x06parent\x82\xd3\xe4\x93\x02!\x12\x1f/v3/{parent=projects/*}/snoozes\x12\x81\x01\n\tGetSnooze\x12&.google.monitoring.v3.GetSnoozeRequest\x1a\x1c.google.monitoring.v3.Snooze\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!\x12\x1f/v3/{name=projects/*/snoozes/*}\x12\xa4\x01\n\x0cUpdateSnooze\x12).google.monitoring.v3.UpdateSnoozeRequest\x1a\x1c.google.monitoring.v3.Snooze\"K\xda\x41\x12snooze,update_mask\x82\xd3\xe4\x93\x02\x30\x32&/v3/{snooze.name=projects/*/snoozes/*}:\x06snooze\x1a\xa9\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\x89\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.readB\xcd\x01\n\x18\x63om.google.monitoring.v3B\x12SnoozeServiceProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.monitoring.v3.Snooze", "google/monitoring/v3/snooze.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module Monitoring module V3 CreateSnoozeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateSnoozeRequest").msgclass ListSnoozesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListSnoozesRequest").msgclass ListSnoozesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListSnoozesResponse").msgclass GetSnoozeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetSnoozeRequest").msgclass UpdateSnoozeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateSnoozeRequest").msgclass end end end end