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:



593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 593

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/*.



593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 593

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