Class: Google::Cloud::Build::V1::GitRepoSource

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

Overview

GitRepoSource describes a repo and ref of a code repository.

Instance Attribute Summary collapse

Instance Attribute Details

#github_enterprise_config::String

Returns The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

Returns:

  • (::String)

    The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.



1300
1301
1302
1303
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300

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

#ref::String

Returns The branch or tag to use. Must start with "refs/" (required).

Returns:

  • (::String)

    The branch or tag to use. Must start with "refs/" (required).



1300
1301
1302
1303
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300

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

#repo_type::Google::Cloud::Build::V1::GitFileSource::RepoType

Returns See RepoType below.

Returns:



1300
1301
1302
1303
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300

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

#repository::String

Returns The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required.

Returns:

  • (::String)

    The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required.



1300
1301
1302
1303
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300

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

#uri::String

Returns The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.

Returns:



1300
1301
1302
1303
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300

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