Class DatasetCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class DatasetCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final DatasetCreateParams.Body.Builder name(String name)
Name of the dataset. Within a project, dataset names are unique
-
name
final DatasetCreateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final DatasetCreateParams.Body.Builder projectId(String projectId)
Unique identifier for the project that the dataset belongs under
-
projectId
final DatasetCreateParams.Body.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final DatasetCreateParams.Body.Builder description(String description)
Textual description of the dataset
-
description
final DatasetCreateParams.Body.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final DatasetCreateParams.Body.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final DatasetCreateParams.Body.Builder metadata(DatasetCreateParams.Metadata metadata)
User-controlled metadata about the dataset
-
metadata
final DatasetCreateParams.Body.Builder metadata(Optional<DatasetCreateParams.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final DatasetCreateParams.Body.Builder metadata(JsonField<DatasetCreateParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final DatasetCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DatasetCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DatasetCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DatasetCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DatasetCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DatasetCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .projectId()
-
-
-
-