lib/google/cloud/bigtable/longrunning_job.rb in google-cloud-bigtable-1.3.0 vs lib/google/cloud/bigtable/longrunning_job.rb in google-cloud-bigtable-2.0.0
- old
+ new
@@ -27,11 +27,11 @@
# @see https://cloud.google.com/bigtable/docs/reference/admin/rpc/google.longrunning#google.longrunning.Operation
# Long-running Operation
#
class LongrunningJob
# @private
- # The Google::Gax::Operation gRPC object.
+ # The Gapic::Operation gRPC object.
attr_accessor :grpc
# @private
# The gRPC Service object.
attr_accessor :service
@@ -107,10 +107,10 @@
return nil unless @grpc.grpc_op.result == :response
@grpc.metadata
end
# @private
- # New BasicJob from a Google::Gax::Operation object.
+ # New BasicJob from a Gapic::Operation object.
def self.from_grpc grpc, service
new.tap do |job|
job.grpc = grpc
job.service = service
end