Class: Google::Cloud::Functions::V2::RepoSource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/functions/v2/functions.rb

Overview

Location of the source in a Google Cloud Source Repository.

Instance Attribute Summary collapse

Instance Attribute Details

#branch_name::String

Returns Regex matching branches to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax.

Returns:



203
204
205
206
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 203

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

#commit_sha::String

Returns Explicit commit SHA to build.

Returns:

  • (::String)

    Explicit commit SHA to build.



203
204
205
206
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 203

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

#dir::String

Returns Directory, relative to the source root, in which to run the build.

This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed).

Returns:

  • (::String)

    Directory, relative to the source root, in which to run the build.

    This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)



203
204
205
206
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 203

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

#invert_regex::Boolean

Returns Only trigger a build if the revision regex does NOT match the revision regex.

Returns:

  • (::Boolean)

    Only trigger a build if the revision regex does NOT match the revision regex.



203
204
205
206
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 203

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

#project_id::String

Returns ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

Returns:

  • (::String)

    ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.



203
204
205
206
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 203

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

#repo_name::String

Returns Name of the Cloud Source Repository.

Returns:

  • (::String)

    Name of the Cloud Source Repository.



203
204
205
206
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 203

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

#tag_name::String

Returns Regex matching tags to build.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax.

Returns:



203
204
205
206
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 203

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