Class: Google::Cloud::Build::V2::FetchGitRefsRequest

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

Overview

Request for fetching git refs

Defined Under Namespace

Modules: RefType

Instance Attribute Summary collapse

Instance Attribute Details

#ref_type::Google::Cloud::Build::V2::FetchGitRefsRequest::RefType

Returns Type of refs to fetch.

Returns:



659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 659

class FetchGitRefsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of refs
  module RefType
    # No type specified.
    REF_TYPE_UNSPECIFIED = 0

    # To fetch tags.
    TAG = 1

    # To fetch branches.
    BRANCH = 2
  end
end

#repository::String

Returns Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

Returns:

  • (::String)

    Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.



659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 659

class FetchGitRefsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of refs
  module RefType
    # No type specified.
    REF_TYPE_UNSPECIFIED = 0

    # To fetch tags.
    TAG = 1

    # To fetch branches.
    BRANCH = 2
  end
end