Class: Google::Cloud::Build::V1::CreateBuildRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

Request to create a new build.

Instance Attribute Summary collapse

Instance Attribute Details

#build::Google::Cloud::Build::V1::Build

Returns Required. Build resource to create.

Returns:



871
872
873
874
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 871

class CreateBuildRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns The parent resource where this build will be created. Format: projects/{project}/locations/{location}.

Returns:

  • (::String)

    The parent resource where this build will be created. Format: projects/{project}/locations/{location}



871
872
873
874
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 871

class CreateBuildRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Returns Required. ID of the project.

Returns:

  • (::String)

    Required. ID of the project.



871
872
873
874
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 871

class CreateBuildRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end