Class: Google::Cloud::SecureSourceManager::V1::PullRequest
- Inherits:
-
Object
- Object
- Google::Cloud::SecureSourceManager::V1::PullRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb
Overview
Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).
Defined Under Namespace
Modules: State Classes: Branch
Instance Attribute Summary collapse
-
#base ⇒ ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
Required.
-
#body ⇒ ::String
Optional.
-
#close_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#head ⇒ ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
Immutable.
-
#name ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::SecureSourceManager::V1::PullRequest::State
readonly
Output only.
-
#title ⇒ ::String
Required.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#base ⇒ ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#body ⇒ ::String
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#close_time ⇒ ::Google::Protobuf::Timestamp (readonly)
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#head ⇒ ::Google::Cloud::SecureSourceManager::V1::PullRequest::Branch
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#name ⇒ ::String (readonly)
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#state ⇒ ::Google::Cloud::SecureSourceManager::V1::PullRequest::State (readonly)
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#title ⇒ ::String
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 548 class PullRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Branch represents a branch involved in a pull request. # @!attribute [rw] ref # @return [::String] # Required. Name of the branch. # @!attribute [r] sha # @return [::String] # Output only. The commit at the tip of the branch. class Branch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of the pull request. module State # Unspecified. STATE_UNSPECIFIED = 0 # An open pull request. OPEN = 1 # A closed pull request. CLOSED = 2 # A merged pull request. MERGED = 3 end end |