Class: Google::Cloud::BareMetalSolution::V2::NfsShare
- Inherits:
-
Object
- Object
- Google::Cloud::BareMetalSolution::V2::NfsShare
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb
Overview
An NFS share.
Defined Under Namespace
Modules: MountPermissions, State, StorageType Classes: AllowedClient, LabelsEntry
Instance Attribute Summary collapse
-
#allowed_clients ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>
List of allowed access points.
-
#id ⇒ ::String
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels as key value pairs.
-
#name ⇒ ::String
Immutable.
-
#nfs_share_id ⇒ ::String
readonly
Output only.
-
#requested_size_gib ⇒ ::Integer
The requested size, in GiB.
-
#state ⇒ ::Google::Cloud::BareMetalSolution::V2::NfsShare::State
readonly
Output only.
-
#storage_type ⇒ ::Google::Cloud::BareMetalSolution::V2::NfsShare::StorageType
Immutable.
-
#volume ⇒ ::String
readonly
Output only.
Instance Attribute Details
#allowed_clients ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NfsShare::AllowedClient>
Returns List of allowed access points.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#id ⇒ ::String (readonly)
Returns Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels as key value pairs.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#name ⇒ ::String
Returns Immutable. The name of the NFS share.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#nfs_share_id ⇒ ::String (readonly)
Returns Output only. An identifier for the NFS share, generated by the backend.
This field will be deprecated in the future, use id
instead.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#requested_size_gib ⇒ ::Integer
Returns The requested size, in GiB.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#state ⇒ ::Google::Cloud::BareMetalSolution::V2::NfsShare::State (readonly)
Returns Output only. The state of the NFS share.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#storage_type ⇒ ::Google::Cloud::BareMetalSolution::V2::NfsShare::StorageType
Returns Immutable. The storage type of the underlying volume.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |
#volume ⇒ ::String (readonly)
Returns Output only. The underlying volume of the share. Created automatically during provisioning.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb', line 55 class NfsShare include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents an 'access point' for the share. # @!attribute [rw] network # @return [::String] # The network the access point sits on. # @!attribute [r] share_ip # @return [::String] # Output only. The IP address of the share on this network. Assigned # automatically during provisioning based on the network's services_cidr. # @!attribute [rw] allowed_clients_cidr # @return [::String] # The subnet of IP addresses permitted to access the share. # @!attribute [rw] mount_permissions # @return [::Google::Cloud::BareMetalSolution::V2::NfsShare::MountPermissions] # Mount permissions. # @!attribute [rw] allow_dev # @return [::Boolean] # Allow dev flag. Which controls whether to allow creation of devices. # @!attribute [rw] allow_suid # @return [::Boolean] # Allow the setuid flag. # @!attribute [rw] no_root_squash # @return [::Boolean] # Disable root squashing, which is a feature of NFS. # Root squash is a special mapping of the remote superuser (root) identity # when using identity authentication. # @!attribute [r] nfs_path # @return [::String] # Output only. The path to access NFS, in format shareIP:/InstanceID # InstanceID is the generated ID instead of customer provided name. # example like "10.0.0.0:/g123456789-nfs001" class AllowedClient include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The possible states for this NFS share. module State # The share is in an unknown state. STATE_UNSPECIFIED = 0 # The share has been provisioned. PROVISIONED = 1 # The NFS Share is being created. CREATING = 2 # The NFS Share is being updated. UPDATING = 3 # The NFS Share has been requested to be deleted. DELETING = 4 end # The possible mount permissions. module MountPermissions # Permissions were not specified. MOUNT_PERMISSIONS_UNSPECIFIED = 0 # NFS share can be mount with read-only permissions. READ = 1 # NFS share can be mount with read-write permissions. READ_WRITE = 2 end # The storage type for a volume. module StorageType # The storage type for this volume is unknown. STORAGE_TYPE_UNSPECIFIED = 0 # The storage type for this volume is SSD. SSD = 1 # This storage type for this volume is HDD. HDD = 2 end end |