Class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/datastore_v1/classes.rb,
generated/google/apis/datastore_v1/representations.rb,
generated/google/apis/datastore_v1/representations.rb 
Overview
Metadata common to all Datastore Admin operations.
Instance Attribute Summary collapse
- 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time the operation ended, either successfully or otherwise.
 - 
  
    
      #labels  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The client-assigned labels which were provided when the operation was created.
 - 
  
    
      #operation_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of the operation.
 - 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time that work began on the operation.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The current state of the Operation.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleDatastoreAdminV1beta1CommonMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleDatastoreAdminV1beta1CommonMetadata.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1beta1CommonMetadata
Returns a new instance of GoogleDatastoreAdminV1beta1CommonMetadata
      889 890 891  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 889 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#end_time ⇒ String
The time the operation ended, either successfully or otherwise.
Corresponds to the JSON property endTime
      865 866 867  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 865 def end_time @end_time end  | 
  
#labels ⇒ Hash<String,String>
The client-assigned labels which were provided when the operation was
created. May also include additional labels.
Corresponds to the JSON property labels
      871 872 873  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 871 def labels @labels end  | 
  
#operation_type ⇒ String
The type of the operation. Can be used as a filter in
ListOperationsRequest.
Corresponds to the JSON property operationType
      877 878 879  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 877 def operation_type @operation_type end  | 
  
#start_time ⇒ String
The time that work began on the operation.
Corresponds to the JSON property startTime
      882 883 884  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 882 def start_time @start_time end  | 
  
#state ⇒ String
The current state of the Operation.
Corresponds to the JSON property state
      887 888 889  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 887 def state @state end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      894 895 896 897 898 899 900  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 894 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @labels = args[:labels] if args.key?(:labels) @operation_type = args[:operation_type] if args.key?(:operation_type) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) end  |