Class: Google::Apis::SourcerepoV1::SyncRepoMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SourcerepoV1::SyncRepoMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sourcerepo_v1/classes.rb,
generated/google/apis/sourcerepo_v1/representations.rb,
generated/google/apis/sourcerepo_v1/representations.rb
Overview
Metadata of SyncRepo. This message is in the metadata field of Operation.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the repo being synchronized.
-
#start_time ⇒ String
The time this operation is started.
-
#status_message ⇒ String
The latest status message on syncing the repository.
-
#update_time ⇒ String
The time this operation's status message is updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SyncRepoMetadata
constructor
A new instance of SyncRepoMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SyncRepoMetadata
Returns a new instance of SyncRepoMetadata.
822 823 824 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 822 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the repo being synchronized. Values are of the form
projects/<project>/repos/<repo>
.
Corresponds to the JSON property name
805 806 807 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 805 def name @name end |
#start_time ⇒ String
The time this operation is started.
Corresponds to the JSON property startTime
810 811 812 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 810 def start_time @start_time end |
#status_message ⇒ String
The latest status message on syncing the repository.
Corresponds to the JSON property statusMessage
815 816 817 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 815 def @status_message end |
#update_time ⇒ String
The time this operation's status message is updated.
Corresponds to the JSON property updateTime
820 821 822 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 820 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
827 828 829 830 831 832 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 827 def update!(**args) @name = args[:name] if args.key?(:name) @start_time = args[:start_time] if args.key?(:start_time) @status_message = args[:status_message] if args.key?(:status_message) @update_time = args[:update_time] if args.key?(:update_time) end |