# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/resourcesettings/v1/resource_settings.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' descriptor_data = "\n8google/cloud/resourcesettings/v1/resource_settings.proto\x12 google.cloud.resourcesettings.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xb7\x03\n\x07Setting\x12\x0c\n\x04name\x18\x01 \x01(\t\x12H\n\x08metadata\x18\x07 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.SettingMetadataB\x03\xe0\x41\x03\x12<\n\x0blocal_value\x18\x08 \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.Value\x12\x45\n\x0f\x65\x66\x66\x65\x63tive_value\x18\t \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.ValueB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\n \x01(\t:\xc0\x01\xea\x41\xbc\x01\n\'resourcesettings.googleapis.com/Setting\x12\x31projects/{project_number}/settings/{setting_name}\x12(folders/{folder}/settings/{setting_name}\x12\x34organizations/{organization}/settings/{setting_name}\"\xbe\x02\n\x0fSettingMetadata\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\x12M\n\tdata_type\x18\x04 \x01(\x0e\x32:.google.cloud.resourcesettings.v1.SettingMetadata.DataType\x12>\n\rdefault_value\x18\x05 \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.Value\"^\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42OOLEAN\x10\x01\x12\n\n\x06STRING\x10\x02\x12\x0e\n\nSTRING_SET\x10\x03\x12\x0e\n\nENUM_VALUE\x10\x04\"\x92\x02\n\x05Value\x12\x17\n\rboolean_value\x18\x01 \x01(\x08H\x00\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12M\n\x10string_set_value\x18\x03 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.Value.StringSetH\x00\x12G\n\nenum_value\x18\x04 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.Value.EnumValueH\x00\x1a\x1b\n\tStringSet\x12\x0e\n\x06values\x18\x01 \x03(\t\x1a\x1a\n\tEnumValue\x12\r\n\x05value\x18\x01 \x01(\tB\x07\n\x05value\"\x94\x01\n\x13ListSettingsRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.resourcesettings.v1.SettingView\"l\n\x14ListSettingsResponse\x12;\n\x08settings\x18\x01 \x03(\x0b\x32).google.cloud.resourcesettings.v1.Setting\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8f\x01\n\x11GetSettingRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'resourcesettings.googleapis.com/Setting\x12;\n\x04view\x18\x02 \x01(\x0e\x32-.google.cloud.resourcesettings.v1.SettingView\"W\n\x14UpdateSettingRequest\x12?\n\x07setting\x18\x01 \x01(\x0b\x32).google.cloud.resourcesettings.v1.SettingB\x03\xe0\x41\x02*\x83\x01\n\x0bSettingView\x12\x1c\n\x18SETTING_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12SETTING_VIEW_BASIC\x10\x01\x12 \n\x1cSETTING_VIEW_EFFECTIVE_VALUE\x10\x02\x12\x1c\n\x18SETTING_VIEW_LOCAL_VALUE\x10\x03\x32\xf9\x06\n\x17ResourceSettingsService\x12\xfc\x01\n\x0cListSettings\x12\x35.google.cloud.resourcesettings.v1.ListSettingsRequest\x1a\x36.google.cloud.resourcesettings.v1.ListSettingsResponse\"}\xda\x41\x06parent\x82\xd3\xe4\x93\x02n\x12%/v1/{parent=organizations/*}/settingsZ!\x12\x1f/v1/{parent=folders/*}/settingsZ\"\x12 /v1/{parent=projects/*}/settings\x12\xe9\x01\n\nGetSetting\x12\x33.google.cloud.resourcesettings.v1.GetSettingRequest\x1a).google.cloud.resourcesettings.v1.Setting\"{\xda\x41\x04name\x82\xd3\xe4\x93\x02n\x12%/v1/{name=organizations/*/settings/*}Z!\x12\x1f/v1/{name=folders/*/settings/*}Z\"\x12 /v1/{name=projects/*/settings/*}\x12\x9d\x02\n\rUpdateSetting\x12\x36.google.cloud.resourcesettings.v1.UpdateSettingRequest\x1a).google.cloud.resourcesettings.v1.Setting\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\x32-/v1/{setting.name=organizations/*/settings/*}:\x07settingZ22\'/v1/{setting.name=folders/*/settings/*}:\x07settingZ32(/v1/{setting.name=projects/*/settings/*}:\x07setting\x1aS\xca\x41\x1fresourcesettings.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x80\x02\n$com.google.cloud.resourcesettings.v1B\x15ResourceSettingsProtoP\x01ZPcloud.google.com/go/resourcesettings/apiv1/resourcesettingspb;resourcesettingspb\xf8\x01\x01\xaa\x02 Google.Cloud.ResourceSettings.V1\xca\x02 Google\\Cloud\\ResourceSettings\\V1\xea\x02#Google::Cloud::ResourceSettings::V1b\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 = [ ] 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 ResourceSettings module V1 Setting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.Setting").msgclass SettingMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.SettingMetadata").msgclass SettingMetadata::DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.SettingMetadata.DataType").enummodule Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.Value").msgclass Value::StringSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.Value.StringSet").msgclass Value::EnumValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.Value.EnumValue").msgclass ListSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.ListSettingsRequest").msgclass ListSettingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.ListSettingsResponse").msgclass GetSettingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.GetSettingRequest").msgclass UpdateSettingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.UpdateSettingRequest").msgclass SettingView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.resourcesettings.v1.SettingView").enummodule end end end end