| Package | Description | 
|---|---|
| com.google.api.services.cloudbuild.v2.model | 
| Modifier and Type | Method and Description | 
|---|---|
| WorkspaceDeclaration | WorkspaceDeclaration. clone() | 
| WorkspaceDeclaration | WorkspaceDeclaration. set(String fieldName,
   Object value) | 
| WorkspaceDeclaration | WorkspaceDeclaration. setDescription(String description)Description is a human readable description of this volume. | 
| WorkspaceDeclaration | WorkspaceDeclaration. setMountPath(String mountPath)MountPath overrides the directory that the volume will be made available at. | 
| WorkspaceDeclaration | WorkspaceDeclaration. setName(String name)Name is the name by which you can bind the volume at runtime. | 
| WorkspaceDeclaration | WorkspaceDeclaration. setOptional(Boolean optional)Optional. | 
| WorkspaceDeclaration | WorkspaceDeclaration. setReadOnly(Boolean readOnly)ReadOnly dictates whether a mounted volume is writable. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<WorkspaceDeclaration> | TaskSpec. getWorkspaces()The volumes that this Task requires. | 
| Modifier and Type | Method and Description | 
|---|---|
| TaskSpec | TaskSpec. setWorkspaces(List<WorkspaceDeclaration> workspaces)The volumes that this Task requires. | 
Copyright © 2011–2025 Google. All rights reserved.