code: def sinks_api(self):
          
          if self._sinks_api is None:
              if self._use_grpc:
                  self._sinks_api = _gapic.make_sinks_api(self)
              else:
                  self._sinks_api = JSONSinksAPI(self)
          return self._sinks_api
docs: Helper for log sink-related API calls.
  
          See
          https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks