Class: Google::Cloud::Functions::V2::OperationMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/functions/v2/functions.rb

Overview

Represents the metadata of the long-running operation.

Instance Attribute Summary collapse

Instance Attribute Details

#api_version::String

Returns API version used to start the operation.

Returns:

  • (::String)

    API version used to start the operation.



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#build_name::String

Returns The build name of the function for create and update operations.

Returns:

  • (::String)

    The build name of the function for create and update operations.



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cancel_requested::Boolean

Returns Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

Returns:



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#create_time::Google::Protobuf::Timestamp

Returns The time the operation was created.

Returns:



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#end_time::Google::Protobuf::Timestamp

Returns The time the operation finished running.

Returns:



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#operation_type::Google::Cloud::Functions::V2::OperationType

Returns The operation type.

Returns:



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#request_resource::Google::Protobuf::Any

Returns The original request that started the operation.

Returns:



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_token::String

Returns An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

Returns:

  • (::String)

    An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#stages::Array<::Google::Cloud::Functions::V2::Stage>

Returns Mechanism for reporting in-progress stages.

Returns:



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#status_detail::String

Returns Human-readable status of the operation, if any.

Returns:

  • (::String)

    Human-readable status of the operation, if any.



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target::String

Returns Server-defined resource path for the target of the operation.

Returns:

  • (::String)

    Server-defined resource path for the target of the operation.



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#verb::String

Returns Name of the verb executed by the operation.

Returns:

  • (::String)

    Name of the verb executed by the operation.



1007
1008
1009
1010
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1007

class OperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end