# 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' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/resourcesettings/v1/resource_settings.proto", :syntax => :proto3) do add_message "google.cloud.resourcesettings.v1.Setting" do optional :name, :string, 1 optional :metadata, :message, 7, "google.cloud.resourcesettings.v1.SettingMetadata" optional :local_value, :message, 8, "google.cloud.resourcesettings.v1.Value" optional :effective_value, :message, 9, "google.cloud.resourcesettings.v1.Value" optional :etag, :string, 10 end add_message "google.cloud.resourcesettings.v1.SettingMetadata" do optional :display_name, :string, 1 optional :description, :string, 2 optional :read_only, :bool, 3 optional :data_type, :enum, 4, "google.cloud.resourcesettings.v1.SettingMetadata.DataType" optional :default_value, :message, 5, "google.cloud.resourcesettings.v1.Value" end add_enum "google.cloud.resourcesettings.v1.SettingMetadata.DataType" do value :DATA_TYPE_UNSPECIFIED, 0 value :BOOLEAN, 1 value :STRING, 2 value :STRING_SET, 3 value :ENUM_VALUE, 4 end add_message "google.cloud.resourcesettings.v1.Value" do oneof :value do optional :boolean_value, :bool, 1 optional :string_value, :string, 2 optional :string_set_value, :message, 3, "google.cloud.resourcesettings.v1.Value.StringSet" optional :enum_value, :message, 4, "google.cloud.resourcesettings.v1.Value.EnumValue" end end add_message "google.cloud.resourcesettings.v1.Value.StringSet" do repeated :values, :string, 1 end add_message "google.cloud.resourcesettings.v1.Value.EnumValue" do optional :value, :string, 1 end add_message "google.cloud.resourcesettings.v1.ListSettingsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :view, :enum, 4, "google.cloud.resourcesettings.v1.SettingView" end add_message "google.cloud.resourcesettings.v1.ListSettingsResponse" do repeated :settings, :message, 1, "google.cloud.resourcesettings.v1.Setting" optional :next_page_token, :string, 2 end add_message "google.cloud.resourcesettings.v1.GetSettingRequest" do optional :name, :string, 1 optional :view, :enum, 2, "google.cloud.resourcesettings.v1.SettingView" end add_message "google.cloud.resourcesettings.v1.UpdateSettingRequest" do optional :setting, :message, 1, "google.cloud.resourcesettings.v1.Setting" end add_enum "google.cloud.resourcesettings.v1.SettingView" do value :SETTING_VIEW_UNSPECIFIED, 0 value :SETTING_VIEW_BASIC, 1 value :SETTING_VIEW_EFFECTIVE_VALUE, 2 value :SETTING_VIEW_LOCAL_VALUE, 3 end end 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