Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::CancelBuildRequest.
Request to cancel an ongoing build.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#id
def id() -> ::String
Returns
- (::String) — Required. ID of the build.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — Required. ID of the build.
Returns
- (::String) — Required. ID of the build.
#name
def name() -> ::String
Returns
-
(::String) — The name of the
Build
to cancel. Format:projects/{project}/locations/{location}/builds/{build}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The name of the
Build
to cancel. Format:projects/{project}/locations/{location}/builds/{build}
Returns
-
(::String) — The name of the
Build
to cancel. Format:projects/{project}/locations/{location}/builds/{build}
#project_id
def project_id() -> ::String
Returns
- (::String) — Required. ID of the project.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — Required. ID of the project.
Returns
- (::String) — Required. ID of the project.