public sealed class Artifacts.Types.GoModule : IMessage<Artifacts.Types.GoModule>, IEquatable<Artifacts.Types.GoModule>, IDeepCloneable<Artifacts.Types.GoModule>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class Artifacts.Types.GoModule.
Go module to upload to Artifact Registry upon successful completion of all
build steps. A module refers to all dependencies in a go.mod file.
Optional. The Go module's semantic version in the form vX.Y.Z. e.g.
v0.1.1 Pre-release identifiers can also be added by appending a dash and
dot separated ASCII alphanumeric characters and hyphens.
e.g. v0.2.3-alpha.x.12m.5
Optional. Source path of the go.mod file in the build's workspace. If not
specified, this will default to the current directory.
e.g. ~/code/go/mypackage
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eArtifacts.Types.GoModule\u003c/code\u003e class within the Google Cloud Build v1 API, detailing its functionality for uploading Go modules to Artifact Registry.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoModule\u003c/code\u003e class, which is used for managing Go module artifacts, includes properties like \u003ccode\u003eModulePath\u003c/code\u003e, \u003ccode\u003eModuleVersion\u003c/code\u003e, \u003ccode\u003eRepositoryLocation\u003c/code\u003e, \u003ccode\u003eRepositoryName\u003c/code\u003e, \u003ccode\u003eRepositoryProjectId\u003c/code\u003e, and \u003ccode\u003eSourcePath\u003c/code\u003e to configure the module's details and location.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the Google.Cloud.CloudBuild.V1 API documented, from version 1.0.0 up to the latest version 2.15.0, each with their own reference to the GoModule.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoModule\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling features like serialization, equality comparison, deep cloning, and efficient data handling.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the GoModule that is referenced within this documentation is version 2.15.0, and it is a sealed class, meaning that it cannot be inherited from.\u003c/p\u003e\n"]]],[],null,[]]