Class: Google::Cloud::Workstations::V1beta::Workstation
- Inherits:
-
Object
- Object
- Google::Cloud::Workstations::V1beta::Workstation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/workstations/v1beta/workstations.rb
Overview
A single instance of a developer workstation with its own persistent storage.
Defined Under Namespace
Modules: State Classes: AnnotationsEntry, EnvEntry, LabelsEntry, RuntimeHost, WorkstationBoostConfig, WorkstationPersistentDirectory
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#boost_configs ⇒ ::Array<::Google::Cloud::Workstations::V1beta::Workstation::WorkstationBoostConfig>
readonly
Output only.
-
#conditions ⇒ ::Array<::Google::Rpc::Status>
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#degraded ⇒ ::Boolean
readonly
Output only.
-
#delete_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#display_name ⇒ ::String
Optional.
-
#env ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#etag ⇒ ::String
Optional.
-
#host ⇒ ::String
readonly
Output only.
-
#kms_key ⇒ ::String
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
Identifier.
-
#persistent_directories ⇒ ::Array<::Google::Cloud::Workstations::V1beta::Workstation::WorkstationPersistentDirectory>
Optional.
-
#reconciling ⇒ ::Boolean
readonly
Output only.
-
#runtime_host ⇒ ::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost
readonly
Optional.
-
#satisfies_pzi ⇒ ::Boolean
readonly
Output only.
-
#satisfies_pzs ⇒ ::Boolean
readonly
Output only.
-
#source_workstation ⇒ ::String
Optional.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Workstations::V1beta::Workstation::State
readonly
Output only.
-
#uid ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Client-specified annotations.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#boost_configs ⇒ ::Array<::Google::Cloud::Workstations::V1beta::Workstation::WorkstationBoostConfig> (readonly)
Returns Output only. List of available boost configuration IDs that this workstation can be boosted up to.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#conditions ⇒ ::Array<::Google::Rpc::Status> (readonly)
Returns Output only. Status conditions describing the workstation's current state.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when this workstation was created.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#degraded ⇒ ::Boolean (readonly)
Returns Output only. Whether this workstation is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the workstation.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#delete_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when this workstation was soft-deleted.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#display_name ⇒ ::String
Returns Optional. Human-readable name for this workstation.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#env ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Environment variables passed to the workstation container's entrypoint.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#etag ⇒ ::String
Returns Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#host ⇒ ::String (readonly)
Returns Output only. Host to which clients can send HTTPS traffic that will be
received by the workstation. Authorized traffic will be received to the
workstation as HTTP on port 80. To send traffic to a different port,
clients may prefix the host with the destination port in the format
{port}-{host}.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#kms_key ⇒ ::String (readonly)
Returns Output only. The name of the Google Cloud KMS encryption key used to
encrypt this workstation. The KMS key can only be configured in the
WorkstationConfig. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#name ⇒ ::String
Returns Identifier. Full name of this workstation.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#persistent_directories ⇒ ::Array<::Google::Cloud::Workstations::V1beta::Workstation::WorkstationPersistentDirectory>
Returns Optional. Directories to persist across workstation sessions.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#reconciling ⇒ ::Boolean (readonly)
Returns Output only. Indicates whether this workstation is currently being updated to match its intended state.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#runtime_host ⇒ ::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost (readonly)
Returns Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#satisfies_pzi ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#satisfies_pzs ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#source_workstation ⇒ ::String
Returns Optional. The source workstation from which this workstation's persistent directories were cloned on creation.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#state ⇒ ::Google::Cloud::Workstations::V1beta::Workstation::State (readonly)
Returns Output only. Current state of the workstation.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#uid ⇒ ::String (readonly)
Returns Output only. A system-assigned unique identifier for this workstation.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when this workstation was most recently updated.
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'proto_docs/google/cloud/workstations/v1beta/workstations.rb', line 1226 class Workstation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A directory to persist across workstation sessions. Updates to this field # will only take effect on this workstation after it is restarted. # @!attribute [rw] mount_path # @return [::String] # Optional. The mount path of the persistent directory. # @!attribute [rw] size_gb # @return [::Integer] # Optional. Size of the persistent directory in GB. If specified in an # update request, this is the desired size of the directory. class WorkstationPersistentDirectory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Boost configuration for this workstation. This object is populated from the # parent workstation configuration. # @!attribute [r] id # @return [::String] # Output only. Boost configuration ID. # @!attribute [r] running # @return [::Boolean] # Output only. Whether or not the current workstation is actively boosted # with this id. class WorkstationBoostConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Runtime host for the workstation. # @!attribute [rw] gce_instance_host # @return [::Google::Cloud::Workstations::V1beta::Workstation::RuntimeHost::GceInstanceHost] # Specifies a Compute Engine instance as the host. class RuntimeHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Compute Engine instance host. # @!attribute [r] name # @return [::String] # Optional. Output only. The name of the Compute Engine instance. # @!attribute [r] id # @return [::String] # Optional. Output only. The ID of the Compute Engine instance. # @!attribute [r] zone # @return [::String] # Optional. Output only. The zone of the Compute Engine instance. class GceInstanceHost include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class EnvEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Whether a workstation is running and ready to receive user requests. module State # Do not use. STATE_UNSPECIFIED = 0 # The workstation is not yet ready to accept requests from users but will # be soon. STATE_STARTING = 1 # The workstation is ready to accept requests from users. STATE_RUNNING = 2 # The workstation is being stopped. STATE_STOPPING = 3 # The workstation is stopped and will not be able to receive requests until # it is started. STATE_STOPPED = 4 end end |