Class: Google::Apis::AppengineV1beta4::OperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta4::OperationMetadata
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/appengine_v1beta4/classes.rb,
generated/google/apis/appengine_v1beta4/representations.rb,
generated/google/apis/appengine_v1beta4/representations.rb
Overview
Metadata for the given google.longrunning.Operation.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Timestamp that this operation was completed.
-
#insert_time ⇒ String
Timestamp that this operation was received.
-
#method_prop ⇒ String
API method name that initiated the operation.
-
#operation_type ⇒ String
The type of the operation (deprecated, use method field instead).
-
#target ⇒ String
Resource that this operation is acting on.
-
#user ⇒ String
The user who requested this operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationMetadata
constructor
A new instance of OperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationMetadata
Returns a new instance of OperationMetadata.
1523 1524 1525 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Timestamp that this operation was completed. (Not present if the operation is
still in progress.) @OutputOnly
Corresponds to the JSON property endTime
1504 1505 1506 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1504 def end_time @end_time end |
#insert_time ⇒ String
Timestamp that this operation was received. @OutputOnly
Corresponds to the JSON property insertTime
1498 1499 1500 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1498 def insert_time @insert_time end |
#method_prop ⇒ String
API method name that initiated the operation. Example: "google.appengine.
v1beta4.Version.CreateVersion". @OutputOnly
Corresponds to the JSON property method
1521 1522 1523 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1521 def method_prop @method_prop end |
#operation_type ⇒ String
The type of the operation (deprecated, use method field instead). Example: "
create_version". @OutputOnly
Corresponds to the JSON property operationType
1493 1494 1495 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1493 def operation_type @operation_type end |
#target ⇒ String
Resource that this operation is acting on. Example: "apps/myapp/modules/
default". @OutputOnly
Corresponds to the JSON property target
1515 1516 1517 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1515 def target @target end |
#user ⇒ String
The user who requested this operation. @OutputOnly
Corresponds to the JSON property user
1509 1510 1511 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1509 def user @user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1528 1529 1530 1531 1532 1533 1534 1535 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1528 def update!(**args) @operation_type = args[:operation_type] if args.key?(:operation_type) @insert_time = args[:insert_time] if args.key?(:insert_time) @end_time = args[:end_time] if args.key?(:end_time) @user = args[:user] if args.key?(:user) @target = args[:target] if args.key?(:target) @method_prop = args[:method_prop] if args.key?(:method_prop) end |