# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/baremetalsolution/v2/nfs_share.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/field_mask_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/baremetalsolution/v2/nfs_share.proto", :syntax => :proto3) do add_message "google.cloud.baremetalsolution.v2.NfsShare" do optional :name, :string, 1 optional :nfs_share_id, :string, 2 optional :state, :enum, 3, "google.cloud.baremetalsolution.v2.NfsShare.State" optional :volume, :string, 4 repeated :allowed_clients, :message, 5, "google.cloud.baremetalsolution.v2.NfsShare.AllowedClient" map :labels, :string, :string, 6 end add_message "google.cloud.baremetalsolution.v2.NfsShare.AllowedClient" do optional :network, :string, 1 optional :share_ip, :string, 2 optional :allowed_clients_cidr, :string, 3 optional :mount_permissions, :enum, 4, "google.cloud.baremetalsolution.v2.NfsShare.MountPermissions" optional :allow_dev, :bool, 5 optional :allow_suid, :bool, 6 optional :no_root_squash, :bool, 7 end add_enum "google.cloud.baremetalsolution.v2.NfsShare.State" do value :STATE_UNSPECIFIED, 0 value :PROVISIONED, 1 end add_enum "google.cloud.baremetalsolution.v2.NfsShare.MountPermissions" do value :MOUNT_PERMISSIONS_UNSPECIFIED, 0 value :READ, 1 value :READ_WRITE, 2 end add_message "google.cloud.baremetalsolution.v2.GetNfsShareRequest" do optional :name, :string, 1 end add_message "google.cloud.baremetalsolution.v2.ListNfsSharesRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :filter, :string, 4 end add_message "google.cloud.baremetalsolution.v2.ListNfsSharesResponse" do repeated :nfs_shares, :message, 1, "google.cloud.baremetalsolution.v2.NfsShare" optional :next_page_token, :string, 2 repeated :unreachable, :string, 3 end add_message "google.cloud.baremetalsolution.v2.UpdateNfsShareRequest" do optional :nfs_share, :message, 1, "google.cloud.baremetalsolution.v2.NfsShare" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end end end module Google module Cloud module BareMetalSolution module V2 NfsShare = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.NfsShare").msgclass NfsShare::AllowedClient = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.NfsShare.AllowedClient").msgclass NfsShare::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.NfsShare.State").enummodule NfsShare::MountPermissions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.NfsShare.MountPermissions").enummodule GetNfsShareRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.GetNfsShareRequest").msgclass ListNfsSharesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListNfsSharesRequest").msgclass ListNfsSharesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListNfsSharesResponse").msgclass UpdateNfsShareRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.UpdateNfsShareRequest").msgclass end end end end