Class: Google::Apis::RedisV1::GoogleCloudRedisV1OperationMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::GoogleCloudRedisV1OperationMetadata
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb 
Overview
Represents the v1 metadata of the long-running operation.
Instance Attribute Summary collapse
- 
  
    
      #api_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
API version.
 - 
  
    
      #cancel_requested  ⇒ Boolean 
    
    
      (also: #cancel_requested?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Specifies if cancellation was requested for the operation.
 - 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Creation timestamp.
 - 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
End timestamp.
 - 
  
    
      #status_detail  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Operation status details.
 - 
  
    
      #target  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Operation target.
 - 
  
    
      #verb  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Operation verb.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudRedisV1OperationMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudRedisV1OperationMetadata.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudRedisV1OperationMetadata
Returns a new instance of GoogleCloudRedisV1OperationMetadata.
      1394 1395 1396  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1394 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#api_version ⇒ String
API version.
Corresponds to the JSON property apiVersion
      1361 1362 1363  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1361 def api_version @api_version end  | 
  
#cancel_requested ⇒ Boolean Also known as: cancel_requested?
Specifies if cancellation was requested for the operation.
Corresponds to the JSON property cancelRequested
      1366 1367 1368  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1366 def cancel_requested @cancel_requested end  | 
  
#create_time ⇒ String
Creation timestamp.
Corresponds to the JSON property createTime
      1372 1373 1374  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1372 def create_time @create_time end  | 
  
#end_time ⇒ String
End timestamp.
Corresponds to the JSON property endTime
      1377 1378 1379  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1377 def end_time @end_time end  | 
  
#status_detail ⇒ String
Operation status details.
Corresponds to the JSON property statusDetail
      1382 1383 1384  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1382 def status_detail @status_detail end  | 
  
#target ⇒ String
Operation target.
Corresponds to the JSON property target
      1387 1388 1389  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1387 def target @target end  | 
  
#verb ⇒ String
Operation verb.
Corresponds to the JSON property verb
      1392 1393 1394  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1392 def verb @verb end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1399 1400 1401 1402 1403 1404 1405 1406 1407  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 1399 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @status_detail = args[:status_detail] if args.key?(:status_detail) @target = args[:target] if args.key?(:target) @verb = args[:verb] if args.key?(:verb) end  |