Build a resource. This class should not be directly instantiated in user code; resources are instantiated by the stub generation mechanism on Service creation.
@param [Google::APIClient::Service] service
The Service instance this resource belongs to.
@param [Google::APIClient::API, Google::APIClient::Resource] root
The node corresponding to this resource.
# File lib/google/api_client/service/resource.rb, line 33 def initialize(service, root) @service = service generate_call_stubs(service, root) end