target.apidocs.com.google.api.services.dataflow.model.Disk.html Maven / Gradle / Ivy
Disk (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class Disk
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataflow.model.Disk
-
public final class Disk
extends com.google.api.client.json.GenericJson
Describes the data disk used by a workflow job.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Dataflow API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Disk()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Disk
clone()
String
getDiskType()
Disk storage type, as defined by Google Compute Engine.
String
getMountPoint()
Directory in a VM where disk is mounted.
Integer
getSizeGb()
Size of disk in GB.
Disk
set(String fieldName,
Object value)
Disk
setDiskType(String diskType)
Disk storage type, as defined by Google Compute Engine.
Disk
setMountPoint(String mountPoint)
Directory in a VM where disk is mounted.
Disk
setSizeGb(Integer sizeGb)
Size of disk in GB.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDiskType
public String getDiskType()
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to
the project and zone in which the workers will run. If unknown or unspecified, the service will
attempt to choose a reasonable default. For example, the standard persistent disk type is a
resource name typically ending in "pd-standard". If SSD persistent disks are available, the
resource name typically ends with "pd-ssd". The actual valid values are defined the Google
Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine
documentation for more information about determining the set of available disk types for a
particular project and zone. Google Compute Engine Disk types are local to a particular project
in a particular zone, and so the resource name will typically look something like this:
compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
- Returns:
- value or
null
for none
-
setDiskType
public Disk setDiskType(String diskType)
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to
the project and zone in which the workers will run. If unknown or unspecified, the service will
attempt to choose a reasonable default. For example, the standard persistent disk type is a
resource name typically ending in "pd-standard". If SSD persistent disks are available, the
resource name typically ends with "pd-ssd". The actual valid values are defined the Google
Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine
documentation for more information about determining the set of available disk types for a
particular project and zone. Google Compute Engine Disk types are local to a particular project
in a particular zone, and so the resource name will typically look something like this:
compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
- Parameters:
diskType
- diskType or null
for none
-
getMountPoint
public String getMountPoint()
Directory in a VM where disk is mounted.
- Returns:
- value or
null
for none
-
setMountPoint
public Disk setMountPoint(String mountPoint)
Directory in a VM where disk is mounted.
- Parameters:
mountPoint
- mountPoint or null
for none
-
getSizeGb
public Integer getSizeGb()
Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable
default.
- Returns:
- value or
null
for none
-
setSizeGb
public Disk setSizeGb(Integer sizeGb)
Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable
default.
- Parameters:
sizeGb
- sizeGb or null
for none
-
set
public Disk set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Disk clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy